Package Details: osrm-backend 5.22.0-4

Git Clone URL: https://aur.archlinux.org/osrm-backend.git (read-only)
Package Base: osrm-backend
Description: High performance routing engine written in C++14 designed to run on OpenStreetMap data.
Upstream URL: http://map.project-osrm.org/
Licenses: BSD
Submitter: mille337
Maintainer: mille337
Last Packager: mille337
Votes: 4
Popularity: 1.61
First Submitted: 2017-11-25 10:17
Last Updated: 2019-11-15 11:45

Latest Comments

mille337 commented on 2019-11-03 15:37

Good point, I missed that it was packaging the static libs, I just switched to dynamic ones.

alialamine commented on 2019-11-02 18:15

Can you please add the flag -DBUILD_SHARED_LIBS=ON to the cmake command?

mille337 commented on 2019-10-14 15:56

This is fixed by https://github.com/Project-OSRM/osrm-backend/pull/5471/commits/38700e207e076a391f30ef66ad90d03e7543006e

I added that patch in the build as that commit is not yet an any stable version. Build should be OK from 5.22.0-2+.

wgwk commented on 2019-10-14 09:47

Building the package stopped working with boost 1.71. The error messages are appended for someone who can solve the problem. My workaround was downgrading boost and boost-lib to 1.69 (I accidently removed the buildt package) and appropriately changing PKGBUILD. depends=("expat" "boost1.69-libs" "lua52" "intel-tbb") makedepends=("cmake" "boost1.69")

/opt/src/git/osrm-backend/src/osrm-backend-5.22.0/src/storage/io_config.cpp: In member function 'bool osrm::storage::IOConfig::IsValid() const': /opt/src/git/osrm-backend/src/osrm-backend-5.22.0/src/storage/io_config.cpp:18:89: error: call of overloaded 'is_regular_file(<brace-enclosed initializer list>)' is ambiguous 18 | system::is_regular_file({base_path.string() + fileName.string()})) | ^

In file included from /usr/include/boost/filesystem.hpp:17, from /opt/src/git/osrm-backend/src/osrm-backend-5.22.0/include/storage/io_config.hpp:8, from /opt/src/git/osrm-backend/src/osrm-backend-5.22.0/src/storage/io_config.cpp:1: /usr/include/boost/filesystem/operations.hpp:473:8: note: candidate: 'bool boost::filesystem::is_regular_file(const boost::filesystem::path&)' 473 | bool is_regular_file(const path& p) {return is_regular_file(detail::status(p));} | ^~~~~~~~~~~~~~~ In file included from /usr/include/boost/filesystem.hpp:17, from /opt/src/git/osrm-backend/src/osrm-backend-5.22.0/include/storage/io_config.hpp:8, from /opt/src/git/osrm-backend/src/osrm-backend-5.22.0/src/storage/io_config.cpp:1: /usr/include/boost/filesystem/operations.hpp:875:20: note: candidate: 'bool boost::filesystem::is_regular_file(const boost::filesystem::directory_entry&)' 875 | inline bool is_regular_file(const directory_entry& e) BOOST_NOEXCEPT { return filesystem::is_regular_file(e.status()); } | ^~~~~~~~~~~~~~~ make[2]: [CMakeFiles/STORAGE.dir/build.make:63: CMakeFiles/STORAGE.dir/src/storage/io_config.cpp.o] Error 1 make[2]: Leaving directory '/opt/src/git/osrm-backend/src/osrm-backend-5.22.0/build' make[1]: [CMakeFiles/Makefile2:195: CMakeFiles/STORAGE.dir/all] Error 2 make[1]: Leaving directory '/opt/src/git/osrm-backend/src/osrm-backend-5.22.0/build' make: *** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

mille337 commented on 2019-08-11 15:23

In the build 5.22.0-1, I had to disable a few warnings that have been added in the recent GCC versions. See https://github.com/Project-OSRM/osrm-backend/issues/5511.