Package Details: valhalla 3.0.7-1

Git Clone URL: https://aur.archlinux.org/valhalla.git (read-only)
Package Base: valhalla
Description: Routing engine for OpenStreetMap.
Upstream URL: https://github.com/valhalla/valhalla
Licenses: custom:MIT
Submitter: akstrfn
Maintainer: akstrfn
Last Packager: akstrfn
Votes: 0
Popularity: 0.000000
First Submitted: 2018-03-20 22:42
Last Updated: 2019-07-26 20:03

Latest Comments

akstrfn commented on 2019-07-28 19:12

@steinbuch I've just built the new protobuf by changing the version to 3.9 and the tests did not pass but I'm not sure if its related to google test or protobuf. Anyhow leaving this as is because protobuf 3.9 is still not in arch repos.

steinbuch commented on 2019-07-28 14:15

@akstrfn It fails when compiling against the current version of probotuf 3.9.0 (see https://github.com/protocolbuffers/protobuf/releases). ArchLinux is currently two versions behind – what a shame!

akstrfn commented on 2019-07-28 08:37

The package builds in clean chroot which indicates the problem with your system. Update your system, do a clean clone of the package and try building again.

steinbuch commented on 2019-07-27 21:46

Build fails for me. Should I report upstream?

[ 77%] Linking CXX shared library libvalhalla.so /usr/bin/ld: valhalla/proto/CMakeFiles/valhalla-proto.dir/options.pb.cc.o: in function valhalla::Options_Units_Name[abi:cxx11](valhalla::Options_Units)': options.pb.cc:(.text+0x1f20): multiple definition ofvalhalla::Options_Units_Nameabi:cxx11'; CMakeFiles/valhalla.dir/worker.cc.o:worker.cc:(.text+0x3010): first defined here /usr/bin/ld: valhalla/proto/CMakeFiles/valhalla-proto.dir/options.pb.cc.o: in function valhalla::Options_Format_Name[abi:cxx11](valhalla::Options_Format)': options.pb.cc:(.text+0x2040): multiple definition ofvalhalla::Options_Format_Nameabi:cxx11'; CMakeFiles/valhalla.dir/worker.cc.o:worker.cc:(.text+0x2d70): first defined here /usr/bin/ld: valhalla/proto/CMakeFiles/valhalla-proto.dir/options.pb.cc.o: in function valhalla::Options_Format_Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, valhalla::Options_Format*)': options.pb.cc:(.text+0x20f0): multiple definition ofvalhalla::Options_Format_Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, valhalla::Options_Format)'; CMakeFiles/valhalla.dir/worker.cc.o:worker.cc:(.text+0x13c0): first defined here /usr/bin/ld: valhalla/proto/CMakeFiles/valhalla-proto.dir/options.pb.cc.o: in function valhalla::Options_Action_Name[abi:cxx11](valhalla::Options_Action)': options.pb.cc:(.text+0x2170): multiple definition ofvalhalla::Options_Action_Nameabi:cxx11'; CMakeFiles/valhalla.dir/worker.cc.o:worker.cc:(.text+0x23c0): first defined here /usr/bin/ld: valhalla/proto/CMakeFiles/valhalla-proto.dir/options.pb.cc.o: in function valhalla::Options_Action_Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, valhalla::Options_Action*)': options.pb.cc:(.text+0x2220): multiple definition ofvalhalla::Options_Action_Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, valhalla::Options_Action)'; CMakeFiles/valhalla.dir/worker.cc.o:worker.cc:(.text+0xac0): first defined here /usr/bin/ld: valhalla/proto/CMakeFiles/valhalla-proto.dir/options.pb.cc.o: in function valhalla::ShapeMatch_Name[abi:cxx11](valhalla::ShapeMatch)': options.pb.cc:(.text+0x23b0): multiple definition ofvalhalla::ShapeMatch_Nameabi:cxx11'; CMakeFiles/valhalla.dir/worker.cc.o:worker.cc:(.text+0x2ab0): first defined here /usr/bin/ld: valhalla/proto/CMakeFiles/valhalla-proto.dir/options.pb.cc.o: in function valhalla::ShapeMatch_Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, valhalla::ShapeMatch*)': options.pb.cc:(.text+0x2460): multiple definition ofvalhalla::ShapeMatch_Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, valhalla::ShapeMatch)'; CMakeFiles/valhalla.dir/worker.cc.o:worker.cc:(.text+0x1130): first defined here /usr/bin/ld: valhalla/proto/CMakeFiles/valhalla-proto.dir/options.pb.cc.o: in function valhalla::FilterAction_Name[abi:cxx11](valhalla::FilterAction)': options.pb.cc:(.text+0x24d0): multiple definition ofvalhalla::FilterAction_Nameabi:cxx11'; CMakeFiles/valhalla.dir/worker.cc.o:worker.cc:(.text+0x3260): first defined here /usr/bin/ld: valhalla/proto/CMakeFiles/valhalla-proto.dir/options.pb.cc.o: in function valhalla::FilterAction_Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, valhalla::FilterAction*)': options.pb.cc:(.text+0x2580): multiple definition ofvalhalla::FilterAction_Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, valhalla::FilterAction)'; CMakeFiles/valhalla.dir/worker.cc.o:worker.cc:(.text+0x1630): first defined here /usr/bin/ld: valhalla/proto/CMakeFiles/valhalla-proto.dir/options.pb.cc.o: in function valhalla::DirectionsType_Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, valhalla::DirectionsType*)': options.pb.cc:(.text+0x26a0): multiple definition ofvalhalla::DirectionsType_Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, valhalla::DirectionsType)'; CMakeFiles/valhalla.dir/worker.cc.o:worker.cc:(.text+0x1860): first defined here /usr/bin/ld: valhalla/proto/CMakeFiles/valhalla-proto.dir/options.pb.cc.o: in function valhalla::Costing_Name[abi:cxx11](valhalla::Costing)': options.pb.cc:(.text+0x2830): multiple definition ofvalhalla::Costing_Nameabi:cxx11'; CMakeFiles/valhalla.dir/worker.cc.o:worker.cc:(.text+0x2710): first defined here /usr/bin/ld: valhalla/proto/CMakeFiles/valhalla-proto.dir/options.pb.cc.o: in function valhalla::Costing_Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, valhalla::Costing*)': options.pb.cc:(.text+0x28e0): multiple definition ofvalhalla::Costing_Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, valhalla::Costing)'; CMakeFiles/valhalla.dir/worker.cc.o:worker.cc:(.text+0xdd0): first defined here collect2: error: ld returned 1 exit status make[2]: [src/CMakeFiles/valhalla.dir/build.make:417: src/libvalhalla.so.3.0.7] Error 1 make[1]: [CMakeFiles/Makefile2:863: src/CMakeFiles/valhalla.dir/all] Error 2 make: *** [Makefile:152: all] Error 2

akstrfn commented on 2019-07-26 20:07

I've updated the pkg, let me know if there are some issues. I don't have time do debug why tests are failing so I've disabled them, hopefully its nothing serious.

Peuc commented on 2019-07-23 18:00

This version doesn't build anymore due to newest gcc. You should update to 3.0.7 as it builds fine (with --nocheck). Thanks for this package!

akstrfn commented on 2018-08-22 12:36

It was broken, now its fixed. But check is still failing so you'll need to build it with --nocheck.

kllp commented on 2018-08-22 09:31

Can't get it to build correctly. Does it work for you?

[ 84%] Built target valhalla_benchmark_adjacency_list /tmp/valhalla/src/valhalla-2.6.2/src/valhalla_associate_segments.cc: In member function ‘void {anonymous}::edge_association::add_tile(const string&)’: /tmp/valhalla/src/valhalla-2.6.2/src/valhalla_associate_segments.cc:818:15: error: ‘class opentraffic::osmlr::Tile’ has no member named ‘ParseFromIstream’; did you mean ‘ParseFromString’? if (!tile.ParseFromIstream(&in)) { ^~~~~~~~~~~~~~~~ ParseFromString