question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cannot build never than v5.3.3 node-osrm from source

See original GitHub issue

node-osrm cannot be built from source, I’m building it separately from osrm-backend because of #232. When trying to build it using an existing local osrm-backend, the following error occurs after running cmake ..

  By not providing "FindLibOSRM.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "LibOSRM", but
  CMake did not find one.

  Could not find a package configuration file provided by "LibOSRM" with any
  of the following names:

    LibOSRMConfig.cmake
    libosrm-config.cmake

  Add the installation prefix of "LibOSRM" to CMAKE_PREFIX_PATH or set
  "LibOSRM_DIR" to a directory containing one of the above files.  If
  "LibOSRM" provides a separate development package or SDK, be sure it has
  been installed.
 

When building it with npm install --build-from-source --unsafe-perm if fails finding binding.gyp and starts building osrm-backend, which wouldn’t build on my system because mason doesn’t obey export CXXFLAGS="-I/home/osrm/boost_1_61_0".

 npm install --build-from-source --unsafe-perm

> osrm@5.6.0-latest preinstall /home/osrm/osrm-latest/node-osrm
> npm install node-pre-gyp

osrm@5.6.0-latest /home/osrm/osrm-latest/node-osrm
└── node-pre-gyp@0.6.32 

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.17: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

> osrm@5.6.0-latest install /home/osrm/osrm-latest/node-osrm
> node-pre-gyp install --fallback-to-build=false || make

gyp: binding.gyp not found (cwd: /home/osrm/osrm-latest/node-osrm) while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 3.16.0-4-amd64
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build=false" "--module=/home/osrm/osrm-latest/node-osrm/lib/binding/node-osrm.node" "--module_name=node-osrm" "--module_path=/home/osrm/osrm-latest/node-osrm/lib/binding"
gyp ERR! cwd /home/osrm/osrm-latest/node-osrm
gyp ERR! node -v v7.4.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build=false --module=/home/osrm/osrm-latest/node-osrm/lib/binding/node-osrm.node --module_name=node-osrm --module_path=/home/osrm/osrm-latest/node-osrm/lib/binding' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/osrm/osrm-latest/node-osrm/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:885:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
node-pre-gyp ERR! System Linux 3.16.0-4-amd64
node-pre-gyp ERR! command "/usr/bin/nodejs" "/home/osrm/osrm-latest/node-osrm/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build=false"
node-pre-gyp ERR! cwd /home/osrm/osrm-latest/node-osrm
node-pre-gyp ERR! node -v v7.4.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.32
node-pre-gyp ERR! not ok 
Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build=false --module=/home/osrm/osrm-latest/node-osrm/lib/binding/node-osrm.node --module_name=node-osrm --module_path=/home/osrm/osrm-latest/node-osrm/lib/binding' (1)
mkdir -p build &&\
 cd build &&\
 cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_LIBOSRM=On -DENABLE_LTO=ON &&\
 VERBOSE=1 make -j2 &&\
 cd ..
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using osrm master
-- Downloading to /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release
-- Installing to /tmp/osrm-backend
Cloning into '/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release'...
Already on 'master'
Your branch is up-to-date with 'origin/master'.
-- Building libosrm as subproject.
-- Enabling mason
-- Building on a 64 bit system
-- Using GNU gold as linker.
-- Disabling gc-sections on gold binutils < 2.26, see: https://sourceware.org/bugzilla/show_bug.cgi?id=17639
-- Configuring OSRM in release mode
-- Configuring release mode optimizations
-- Performing Test LTO_AVAILABLE
-- Performing Test LTO_AVAILABLE - Success
-- Performing Test LTO_WORKS
-- Performing Test LTO_WORKS - Success
-- LTO working
-- Using GCC specific binutils for LTO:
--  /usr/bin/gcc-ar
--  /usr/bin/gcc-ranlib
CMake Warning at deps/osrm-backend-Release/CMakeLists.txt:269 (message):
  ENABLE_MASON and ENABLE_LTO/ENABLE_GOLD_LINKER may not work on all linux
  systems currently


CMake Warning at deps/osrm-backend-Release/CMakeLists.txt:270 (message):
  For more details see:
  https://github.com/Project-OSRM/osrm-backend/issues/3202


-- Performing Test HAS_COLOR_FLAG
-- Performing Test HAS_COLOR_FLAG - Success
-- Setting linker optimizations
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Installing dependencies via mason
-- [Mason] Downloading package https://mason-binaries.s3.amazonaws.com/headers/boost/1.61.0.tar.gz...
-- [Mason] Unpacking package to ../../mason_packages/headers/boost/1.61.0...
-- [Mason] Downloading package https://mason-binaries.s3.amazonaws.com/linux-x86_64/boost_libfilesystem/1.61.0.tar.gz...
-- [Mason] Unpacking package to ../../mason_packages/linux-x86_64/boost_libfilesystem/1.61.0...
-- [Mason] Downloading package https://mason-binaries.s3.amazonaws.com/linux-x86_64/boost_libiostreams/1.61.0.tar.gz...
-- [Mason] Unpacking package to ../../mason_packages/linux-x86_64/boost_libiostreams/1.61.0...
-- [Mason] Downloading package https://mason-binaries.s3.amazonaws.com/linux-x86_64/boost_libprogram_options/1.61.0.tar.gz...
-- [Mason] Unpacking package to ../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0...
-- [Mason] Downloading package https://mason-binaries.s3.amazonaws.com/linux-x86_64/boost_libregex/1.61.0.tar.gz...
-- [Mason] Unpacking package to ../../mason_packages/linux-x86_64/boost_libregex/1.61.0...
-- [Mason] Downloading package https://mason-binaries.s3.amazonaws.com/linux-x86_64/boost_libtest/1.61.0.tar.gz...
-- [Mason] Unpacking package to ../../mason_packages/linux-x86_64/boost_libtest/1.61.0...
-- [Mason] Downloading package https://mason-binaries.s3.amazonaws.com/linux-x86_64/boost_libdate_time/1.61.0.tar.gz...
-- [Mason] Unpacking package to ../../mason_packages/linux-x86_64/boost_libdate_time/1.61.0...
-- [Mason] Downloading package https://mason-binaries.s3.amazonaws.com/linux-x86_64/boost_libthread/1.61.0.tar.gz...
-- [Mason] Unpacking package to ../../mason_packages/linux-x86_64/boost_libthread/1.61.0...
-- [Mason] Downloading package https://mason-binaries.s3.amazonaws.com/linux-x86_64/boost_libsystem/1.61.0.tar.gz...
-- [Mason] Unpacking package to ../../mason_packages/linux-x86_64/boost_libsystem/1.61.0...
-- [Mason] Downloading package https://mason-binaries.s3.amazonaws.com/linux-x86_64/stxxl/1.4.1.tar.gz...
-- [Mason] Unpacking package to ../../mason_packages/linux-x86_64/stxxl/1.4.1...
-- [Mason] Downloading package https://mason-binaries.s3.amazonaws.com/linux-x86_64/expat/2.2.0.tar.gz...
-- [Mason] Unpacking package to ../../mason_packages/linux-x86_64/expat/2.2.0...
-- [Mason] Downloading package https://mason-binaries.s3.amazonaws.com/linux-x86_64/lua/5.2.4.tar.gz...
-- [Mason] Unpacking package to ../../mason_packages/linux-x86_64/lua/5.2.4...
-- [Mason] Downloading package https://mason-binaries.s3.amazonaws.com/linux-x86_64/bzip2/1.0.6.tar.gz...
-- [Mason] Unpacking package to ../../mason_packages/linux-x86_64/bzip2/1.0.6...
-- [Mason] Downloading package https://mason-binaries.s3.amazonaws.com/linux-x86_64/tbb/43_20150316.tar.gz...
-- [Mason] Unpacking package to ../../mason_packages/linux-x86_64/tbb/43_20150316...
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") 
-- OpenMP support found. Linking just in case for stxxl
-- Downloading: http://nodejs.org/dist/v7.4.0/SHASUMS256.txt
-- Downloading: http://nodejs.org/dist/v7.4.0/node-v7.4.0-headers.tar.gz
-- [download 3% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 14% complete]
-- [download 16% complete]
-- [download 18% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 32% complete]
-- [download 35% complete]
-- [download 37% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 43% complete]
-- [download 45% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 51% complete]
-- [download 54% complete]
-- [download 56% complete]
-- [download 58% complete]
-- [download 61% complete]
-- [download 64% complete]
-- [download 68% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 74% complete]
-- [download 77% complete]
-- [download 81% complete]
-- [download 84% complete]
-- [download 87% complete]
-- [download 91% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 97% complete]
-- [download 100% complete]
-- Validating: /home/osrm/osrm-latest/node-osrm/build/node-v7.4.0/headers.tar.gz
-- Checksum: d2496d9350a6e27fdebf1bb62f3976b68eb8aa8c49eb40fd032b61147d5ab954
-- Download: d2496d9350a6e27fdebf1bb62f3976b68eb8aa8c49eb40fd032b61147d5ab954
-- Found NodeJS: node.js linux/x64 (found version "7.4.0") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/osrm/osrm-latest/node-osrm/build
make[1]: Entering directory '/home/osrm/osrm-latest/node-osrm/build'
/usr/bin/cmake -H/home/osrm/osrm-latest/node-osrm -B/home/osrm/osrm-latest/node-osrm/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/osrm/osrm-latest/node-osrm/build/CMakeFiles /home/osrm/osrm-latest/node-osrm/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/home/osrm/osrm-latest/node-osrm/build'
make -f deps/osrm-backend-Release/CMakeFiles/UTIL.dir/build.make deps/osrm-backend-Release/CMakeFiles/UTIL.dir/depend
make -f deps/osrm-backend-Release/CMakeFiles/CONTRACTOR.dir/build.make deps/osrm-backend-Release/CMakeFiles/CONTRACTOR.dir/depend
make[3]: Entering directory '/home/osrm/osrm-latest/node-osrm/build'
cd /home/osrm/osrm-latest/node-osrm/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/osrm/osrm-latest/node-osrm /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release /home/osrm/osrm-latest/node-osrm/build /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/UTIL.dir/DependInfo.cmake --color=
make[3]: Entering directory '/home/osrm/osrm-latest/node-osrm/build'
cd /home/osrm/osrm-latest/node-osrm/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/osrm/osrm-latest/node-osrm /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release /home/osrm/osrm-latest/node-osrm/build /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/CONTRACTOR.dir/DependInfo.cmake --color=
Dependee "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/UTIL.dir/DependInfo.cmake" is newer than depender "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/UTIL.dir/depend.internal".
Dependee "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/UTIL.dir/depend.internal".
Scanning dependencies of target UTIL
Dependee "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/CONTRACTOR.dir/DependInfo.cmake" is newer than depender "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/CONTRACTOR.dir/depend.internal".
Dependee "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/CONTRACTOR.dir/depend.internal".
Scanning dependencies of target CONTRACTOR
make[3]: Leaving directory '/home/osrm/osrm-latest/node-osrm/build'
make -f deps/osrm-backend-Release/CMakeFiles/UTIL.dir/build.make deps/osrm-backend-Release/CMakeFiles/UTIL.dir/build
make[3]: Entering directory '/home/osrm/osrm-latest/node-osrm/build'
[  0%] Building CXX object deps/osrm-backend-Release/CMakeFiles/UTIL.dir/src/util/assert.cpp.o
cd /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release && /usr/bin/c++   


TRIMMED!


[ 79%] Building CXX object deps/osrm-backend-Release/CMakeFiles/EXTRACTOR.dir/src/extractor/guidance/turn_handler.cpp.o
cd /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release && /usr/bin/c++   -DBOOST_FILESYSTEM_NO_DEPRECATED -DBOOST_RESULT_OF_USE_DECLTYPE -DBOOST_SPIRIT_USE_PHOENIX_V3 -DOSRM_PROJECT_DIR=\"/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release\" -DPROTOZERO_STRICT_API -I/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/include -I/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/include -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/variant/include -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/sol2 -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/libosmium/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/headers/boost/1.61.0/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/stxxl/1.4.1/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/expat/2.2.0/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/lua/5.2.4/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/bzip2/1.0.6/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/tbb/43_20150316/include  -I/home/osrm/boost_1_61_0  -flto=2 -Wall -Wextra -pedantic -Wuninitialized -Wunreachable-code -Wstrict-overflow=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdiagnostics-color=auto -fPIC -ftemplate-depth=1024 -std=c++1y -D_GLIBCXX_USE_CXX11_ABI=0 -fopenmp -O3 -DNDEBUG   -o CMakeFiles/EXTRACTOR.dir/src/extractor/guidance/turn_handler.cpp.o -c /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/src/extractor/guidance/turn_handler.cpp
/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/src/extractor/guidance/turn_handler.cpp:577:9: warning: multi-line comment [-Wcomment]
         //            /                 \
         ^
[ 79%] Building CXX object deps/osrm-backend-Release/CMakeFiles/EXTRACTOR.dir/src/extractor/guidance/turn_lane_augmentation.cpp.o
cd /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release && /usr/bin/c++   -DBOOST_FILESYSTEM_NO_DEPRECATED -DBOOST_RESULT_OF_USE_DECLTYPE -DBOOST_SPIRIT_USE_PHOENIX_V3 -DOSRM_PROJECT_DIR=\"/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release\" -DPROTOZERO_STRICT_API -I/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/include -I/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/include -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/variant/include -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/sol2 -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/libosmium/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/headers/boost/1.61.0/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/stxxl/1.4.1/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/expat/2.2.0/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/lua/5.2.4/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/bzip2/1.0.6/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/tbb/43_20150316/include  -I/home/osrm/boost_1_61_0  -flto=2 -Wall -Wextra -pedantic -Wuninitialized -Wunreachable-code -Wstrict-overflow=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdiagnostics-color=auto -fPIC -ftemplate-depth=1024 -std=c++1y -D_GLIBCXX_USE_CXX11_ABI=0 -fopenmp -O3 -DNDEBUG   -o CMakeFiles/EXTRACTOR.dir/src/extractor/guidance/turn_lane_augmentation.cpp.o -c /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/src/extractor/guidance/turn_lane_augmentation.cpp
[ 79%] Building CXX object deps/osrm-backend-Release/CMakeFiles/EXTRACTOR.dir/src/extractor/guidance/turn_lane_data.cpp.o
cd /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release && /usr/bin/c++   -DBOOST_FILESYSTEM_NO_DEPRECATED -DBOOST_RESULT_OF_USE_DECLTYPE -DBOOST_SPIRIT_USE_PHOENIX_V3 -DOSRM_PROJECT_DIR=\"/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release\" -DPROTOZERO_STRICT_API -I/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/include -I/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/include -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/variant/include -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/sol2 -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/libosmium/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/headers/boost/1.61.0/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/stxxl/1.4.1/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/expat/2.2.0/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/lua/5.2.4/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/bzip2/1.0.6/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/tbb/43_20150316/include  -I/home/osrm/boost_1_61_0  -flto=2 -Wall -Wextra -pedantic -Wuninitialized -Wunreachable-code -Wstrict-overflow=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdiagnostics-color=auto -fPIC -ftemplate-depth=1024 -std=c++1y -D_GLIBCXX_USE_CXX11_ABI=0 -fopenmp -O3 -DNDEBUG   -o CMakeFiles/EXTRACTOR.dir/src/extractor/guidance/turn_lane_data.cpp.o -c /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/src/extractor/guidance/turn_lane_data.cpp
[ 79%] Building CXX object deps/osrm-backend-Release/CMakeFiles/EXTRACTOR.dir/src/extractor/guidance/turn_lane_handler.cpp.o
cd /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release && /usr/bin/c++   -DBOOST_FILESYSTEM_NO_DEPRECATED -DBOOST_RESULT_OF_USE_DECLTYPE -DBOOST_SPIRIT_USE_PHOENIX_V3 -DOSRM_PROJECT_DIR=\"/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release\" -DPROTOZERO_STRICT_API -I/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/include -I/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/include -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/variant/include -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/sol2 -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/libosmium/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/headers/boost/1.61.0/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/stxxl/1.4.1/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/expat/2.2.0/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/lua/5.2.4/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/bzip2/1.0.6/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/tbb/43_20150316/include  -I/home/osrm/boost_1_61_0  -flto=2 -Wall -Wextra -pedantic -Wuninitialized -Wunreachable-code -Wstrict-overflow=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdiagnostics-color=auto -fPIC -ftemplate-depth=1024 -std=c++1y -D_GLIBCXX_USE_CXX11_ABI=0 -fopenmp -O3 -DNDEBUG   -o CMakeFiles/EXTRACTOR.dir/src/extractor/guidance/turn_lane_handler.cpp.o -c /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/src/extractor/guidance/turn_lane_handler.cpp
make -f deps/osrm-backend-Release/CMakeFiles/osrm-datastore.dir/build.make deps/osrm-backend-Release/CMakeFiles/osrm-datastore.dir/depend
make[3]: Entering directory '/home/osrm/osrm-latest/node-osrm/build'
cd /home/osrm/osrm-latest/node-osrm/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/osrm/osrm-latest/node-osrm /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release /home/osrm/osrm-latest/node-osrm/build /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/osrm-datastore.dir/DependInfo.cmake --color=
Dependee "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/osrm-datastore.dir/DependInfo.cmake" is newer than depender "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/osrm-datastore.dir/depend.internal".
Dependee "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/osrm-datastore.dir/depend.internal".
Scanning dependencies of target osrm-datastore
make[3]: Leaving directory '/home/osrm/osrm-latest/node-osrm/build'
make -f deps/osrm-backend-Release/CMakeFiles/osrm-datastore.dir/build.make deps/osrm-backend-Release/CMakeFiles/osrm-datastore.dir/build
make[3]: Entering directory '/home/osrm/osrm-latest/node-osrm/build'
[ 79%] Building CXX object deps/osrm-backend-Release/CMakeFiles/osrm-datastore.dir/src/tools/store.cpp.o
cd /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release && /usr/bin/c++   -DBOOST_FILESYSTEM_NO_DEPRECATED -DBOOST_RESULT_OF_USE_DECLTYPE -DBOOST_SPIRIT_USE_PHOENIX_V3 -DOSRM_PROJECT_DIR=\"/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release\" -DPROTOZERO_STRICT_API -I/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/include -I/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/include -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/variant/include -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/sol2 -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/libosmium/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/headers/boost/1.61.0/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/stxxl/1.4.1/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/expat/2.2.0/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/lua/5.2.4/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/bzip2/1.0.6/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/tbb/43_20150316/include  -I/home/osrm/boost_1_61_0  -flto=2 -Wall -Wextra -pedantic -Wuninitialized -Wunreachable-code -Wstrict-overflow=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdiagnostics-color=auto -fPIC -ftemplate-depth=1024 -std=c++1y -D_GLIBCXX_USE_CXX11_ABI=0 -fopenmp -O3 -DNDEBUG   -o CMakeFiles/osrm-datastore.dir/src/tools/store.cpp.o -c /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/src/tools/store.cpp
[ 82%] Building CXX object deps/osrm-backend-Release/CMakeFiles/EXTRACTOR.dir/src/extractor/guidance/turn_lane_matcher.cpp.o
cd /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release && /usr/bin/c++   -DBOOST_FILESYSTEM_NO_DEPRECATED -DBOOST_RESULT_OF_USE_DECLTYPE -DBOOST_SPIRIT_USE_PHOENIX_V3 -DOSRM_PROJECT_DIR=\"/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release\" -DPROTOZERO_STRICT_API -I/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/include -I/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/include -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/variant/include -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/sol2 -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/libosmium/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/headers/boost/1.61.0/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/stxxl/1.4.1/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/expat/2.2.0/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/lua/5.2.4/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/bzip2/1.0.6/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/tbb/43_20150316/include  -I/home/osrm/boost_1_61_0  -flto=2 -Wall -Wextra -pedantic -Wuninitialized -Wunreachable-code -Wstrict-overflow=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdiagnostics-color=auto -fPIC -ftemplate-depth=1024 -std=c++1y -D_GLIBCXX_USE_CXX11_ABI=0 -fopenmp -O3 -DNDEBUG   -o CMakeFiles/EXTRACTOR.dir/src/extractor/guidance/turn_lane_matcher.cpp.o -c /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/src/extractor/guidance/turn_lane_matcher.cpp
[ 86%] Linking CXX executable osrm-datastore
cd /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release && /usr/bin/cmake -E cmake_link_script CMakeFiles/osrm-datastore.dir/link.txt --verbose=1
/usr/bin/c++   -I/home/osrm/boost_1_61_0  -flto=2 -Wall -Wextra -pedantic -Wuninitialized -Wunreachable-code -Wstrict-overflow=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdiagnostics-color=auto -fPIC -ftemplate-depth=1024 -std=c++1y -D_GLIBCXX_USE_CXX11_ABI=0 -fopenmp -O3 -DNDEBUG   -fuse-ld=gold -Wl,--disable-new-dtags -flto  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common  -Wl,-rpath -Wl,/home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/tbb/43_20150316/lib '-Wl,-rpath,$ORIGIN' -Wl,-z,origin CMakeFiles/osrm-datastore.dir/src/tools/store.cpp.o CMakeFiles/UTIL.dir/src/util/assert.cpp.o CMakeFiles/UTIL.dir/src/util/coordinate.cpp.o CMakeFiles/UTIL.dir/src/util/coordinate_calculation.cpp.o CMakeFiles/UTIL.dir/src/util/exception.cpp.o CMakeFiles/UTIL.dir/src/util/fingerprint.cpp.o CMakeFiles/UTIL.dir/src/util/geojson_debug_policies.cpp.o CMakeFiles/UTIL.dir/src/util/log.cpp.o CMakeFiles/UTIL.dir/src/util/name_table.cpp.o CMakeFiles/UTIL.dir/src/util/guidance/bearing_class.cpp.o CMakeFiles/UTIL.dir/src/util/guidance/entry_class.cpp.o CMakeFiles/UTIL.dir/src/util/guidance/turn_bearing.cpp.o CMakeFiles/UTIL.dir/src/util/guidance/turn_lanes.cpp.o  -o osrm-datastore -rdynamic libosrm_store.a ../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a ../../../mason_packages/linux-x86_64/boost_libdate_time/1.61.0/lib/libboost_date_time.a ../../../mason_packages/linux-x86_64/boost_libfilesystem/1.61.0/lib/libboost_filesystem.a ../../../mason_packages/linux-x86_64/boost_libiostreams/1.61.0/lib/libboost_iostreams.a ../../../mason_packages/linux-x86_64/boost_libthread/1.61.0/lib/libboost_thread.a ../../../mason_packages/linux-x86_64/boost_libsystem/1.61.0/lib/libboost_system.a -lpthread -L/home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/tbb/43_20150316/lib -ltbb -lrt 
make[3]: Leaving directory '/home/osrm/osrm-latest/node-osrm/build'
[ 86%] Built target EXTRACTOR
make -f deps/osrm-backend-Release/CMakeFiles/osrm-contract.dir/build.make deps/osrm-backend-Release/CMakeFiles/osrm-contract.dir/depend
make[3]: Entering directory '/home/osrm/osrm-latest/node-osrm/build'
cd /home/osrm/osrm-latest/node-osrm/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/osrm/osrm-latest/node-osrm /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release /home/osrm/osrm-latest/node-osrm/build /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/osrm-contract.dir/DependInfo.cmake --color=
Dependee "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/osrm-contract.dir/DependInfo.cmake" is newer than depender "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/osrm-contract.dir/depend.internal".
Dependee "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/CMakeFiles/osrm-contract.dir/depend.internal".
Scanning dependencies of target osrm-contract
make[3]: Leaving directory '/home/osrm/osrm-latest/node-osrm/build'
make -f deps/osrm-backend-Release/CMakeFiles/osrm-contract.dir/build.make deps/osrm-backend-Release/CMakeFiles/osrm-contract.dir/build
make[3]: Entering directory '/home/osrm/osrm-latest/node-osrm/build'
[ 86%] Building CXX object deps/osrm-backend-Release/CMakeFiles/osrm-contract.dir/src/tools/contract.cpp.o
cd /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release && /usr/bin/c++   -DBOOST_FILESYSTEM_NO_DEPRECATED -DBOOST_RESULT_OF_USE_DECLTYPE -DBOOST_SPIRIT_USE_PHOENIX_V3 -DOSRM_PROJECT_DIR=\"/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release\" -DPROTOZERO_STRICT_API -I/home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/include -I/home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release/include -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/variant/include -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/sol2 -isystem /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/third_party/libosmium/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/headers/boost/1.61.0/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/stxxl/1.4.1/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/expat/2.2.0/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/lua/5.2.4/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/bzip2/1.0.6/include -isystem /home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/tbb/43_20150316/include  -I/home/osrm/boost_1_61_0  -flto=2 -Wall -Wextra -pedantic -Wuninitialized -Wunreachable-code -Wstrict-overflow=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdiagnostics-color=auto -fPIC -ftemplate-depth=1024 -std=c++1y -D_GLIBCXX_USE_CXX11_ABI=0 -fopenmp -O3 -DNDEBUG   -o CMakeFiles/osrm-contract.dir/src/tools/contract.cpp.o -c /home/osrm/osrm-latest/node-osrm/deps/osrm-backend-Release/src/tools/contract.cpp
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'boost::program_options::basic_option<char>::~basic_option()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'boost::program_options::basic_option<char>::basic_option(boost::program_options::basic_option<char> const&)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'boost::program_options::basic_option<char>::~basic_option()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'boost::program_options::basic_option<char>::basic_option(boost::program_options::basic_option<char> const&)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'boost::program_options::basic_option<char>::~basic_option()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'boost::program_options::basic_option<char>::~basic_option()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'boost::program_options::basic_option<char>::basic_option(boost::program_options::basic_option<char> const&)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'std::runtime_error::runtime_error(char const*)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::handle_additional_parser(std::vector<std::string, std::allocator<std::string> >&): error: undefined reference to 'std::runtime_error::runtime_error(char const*)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::parse_long_option(std::vector<std::string, std::allocator<std::string> >&): error: undefined reference to 'boost::program_options::basic_option<char>::basic_option(boost::program_options::basic_option<char> const&)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::finish_option(boost::program_options::basic_option<char>&, std::vector<std::string, std::allocator<std::string> >&, std::vector<boost::function1<std::vector<boost::program_options::basic_option<char>, std::allocator<boost::program_options::basic_option<char> > >, std::vector<std::string, std::allocator<std::string> >&>, std::allocator<boost::function1<std::vector<boost::program_options::basic_option<char>, std::allocator<boost::program_options::basic_option<char> > >, std::vector<std::string, std::allocator<std::string> >&> > > const&): error: undefined reference to 'std::runtime_error::runtime_error(char const*)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(options_description.o):libs/program_options/src/options_description.cpp:function boost::detail::shared_count::shared_count<boost::program_options::options_description>(boost::program_options::options_description*): error: undefined reference to 'boost::program_options::options_description::~options_description()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(options_description.o):libs/program_options/src/options_description.cpp:function boost::detail::sp_counted_impl_p<boost::program_options::options_description>::dispose(): error: undefined reference to 'boost::program_options::options_description::~options_description()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(variables_map.o):libs/program_options/src/variables_map.cpp:function boost::program_options::variables_map::get(std::string const&) const: error: undefined reference to 'boost::program_options::variable_value::~variable_value()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(variables_map.o):libs/program_options/src/variables_map.cpp:vtable for boost::program_options::variables_map: error: undefined reference to 'boost::program_options::variables_map::~variables_map()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(variables_map.o):libs/program_options/src/variables_map.cpp:vtable for boost::program_options::variables_map: error: undefined reference to 'boost::program_options::variables_map::~variables_map()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:function boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, bool) const: error: undefined reference to 'void std::vector<std::string, std::allocator<std::string> >::_M_emplace_back_aux<std::string>(std::string&&)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:function boost::program_options::invalid_option_value::invalid_option_value(std::string const&): error: undefined reference to 'boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::string const&, std::string const&, int)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:function boost::program_options::invalid_option_value::invalid_option_value(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&): error: undefined reference to 'boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::string const&, std::string const&, int)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:function boost::program_options::invalid_bool_value::invalid_bool_value(std::string const&): error: undefined reference to 'boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::string const&, std::string const&, int)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:function boost::program_options::error_with_option_name::get_canonical_option_prefix() const: error: undefined reference to 'std::logic_error::logic_error(char const*)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:function std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const& boost::program_options::validators::get_single_string<wchar_t>(std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > > const&, bool): error: undefined reference to 'boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::string const&, std::string const&, int)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:function boost::program_options::typed_value<bool, char>::notify(boost::any const&) const: error: undefined reference to 'std::runtime_error::runtime_error(char const*)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:vtable for boost::program_options::error_with_option_name: error: undefined reference to 'boost::program_options::error_with_option_name::~error_with_option_name()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(convert.o):libs/program_options/src/convert.cpp:function std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > boost::detail::convert<wchar_t, char, boost::_bi::bind_t<std::codecvt_base::result, boost::_mfi::cmf7<std::codecvt_base::result, std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>, __mbstate_t&, char const*, char const*, char const*&, wchar_t*, wchar_t*, wchar_t*&>, boost::_bi::list8<boost::_bi::value<std::codecvt<wchar_t, char, __mbstate_t> const*>, boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::arg<5>, boost::arg<6>, boost::arg<7> > > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::_bi::bind_t<std::codecvt_base::result, boost::_mfi::cmf7<std::codecvt_base::result, std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>, __mbstate_t&, char const*, char const*, char const*&, wchar_t*, wchar_t*, wchar_t*&>, boost::_bi::list8<boost::_bi::value<std::codecvt<wchar_t, char, __mbstate_t> const*>, boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::arg<5>, boost::arg<6>, boost::arg<7> > >): error: undefined reference to 'std::logic_error::logic_error(char const*)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(convert.o):libs/program_options/src/convert.cpp:function std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > boost::detail::convert<wchar_t, char, boost::_bi::bind_t<std::codecvt_base::result, boost::_mfi::cmf7<std::codecvt_base::result, std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>, __mbstate_t&, char const*, char const*, char const*&, wchar_t*, wchar_t*, wchar_t*&>, boost::_bi::list8<boost::_bi::value<std::codecvt<wchar_t, char, __mbstate_t> const*>, boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::arg<5>, boost::arg<6>, boost::arg<7> > > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::_bi::bind_t<std::codecvt_base::result, boost::_mfi::cmf7<std::codecvt_base::result, std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>, __mbstate_t&, char const*, char const*, char const*&, wchar_t*, wchar_t*, wchar_t*&>, boost::_bi::list8<boost::_bi::value<std::codecvt<wchar_t, char, __mbstate_t> const*>, boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::arg<5>, boost::arg<6>, boost::arg<7> > >): error: undefined reference to 'std::logic_error::logic_error(char const*)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(convert.o):libs/program_options/src/convert.cpp:function std::basic_string<char, std::char_traits<char>, std::allocator<char> > boost::detail::convert<char, wchar_t, boost::_bi::bind_t<std::codecvt_base::result, boost::_mfi::cmf7<std::codecvt_base::result, std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>, __mbstate_t&, wchar_t const*, wchar_t const*, wchar_t const*&, char*, char*, char*&>, boost::_bi::list8<boost::_bi::value<std::codecvt<wchar_t, char, __mbstate_t> const*>, boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::arg<5>, boost::arg<6>, boost::arg<7> > > >(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, boost::_bi::bind_t<std::codecvt_base::result, boost::_mfi::cmf7<std::codecvt_base::result, std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>, __mbstate_t&, wchar_t const*, wchar_t const*, wchar_t const*&, char*, char*, char*&>, boost::_bi::list8<boost::_bi::value<std::codecvt<wchar_t, char, __mbstate_t> const*>, boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::arg<5>, boost::arg<6>, boost::arg<7> > >): error: undefined reference to 'std::logic_error::logic_error(char const*)'
/tmp/cc4Bw3XU.ltrans16.ltrans.o:cc4Bw3XU.ltrans16.o:vtable for boost::detail::sp_counted_impl_p<boost::filesystem::detail::dir_itr_imp>: error: undefined reference to 'boost::detail::sp_counted_impl_p<boost::filesystem::detail::dir_itr_imp>::~sp_counted_impl_p()'
/tmp/cc4Bw3XU.ltrans16.ltrans.o:cc4Bw3XU.ltrans16.o:vtable for boost::detail::sp_counted_impl_p<boost::filesystem::filesystem_error::m_imp>: error: undefined reference to 'boost::detail::sp_counted_impl_p<boost::filesystem::filesystem_error::m_imp>::~sp_counted_impl_p()'
/tmp/cc4Bw3XU.ltrans20.ltrans.o:cc4Bw3XU.ltrans20.o:vtable for boost::bad_function_call: warning: relocation refers to discarded section
/tmp/cc4Bw3XU.ltrans20.ltrans.o:cc4Bw3XU.ltrans20.o:vtable for boost::exception_detail::error_info_injector<boost::program_options::validation_error>: error: undefined reference to 'boost::exception_detail::error_info_injector<boost::program_options::validation_error>::~error_info_injector()'
/tmp/cc4Bw3XU.ltrans20.ltrans.o:cc4Bw3XU.ltrans20.o:vtable for boost::exception_detail::error_info_injector<boost::program_options::validation_error>: error: undefined reference to 'non-virtual thunk to boost::exception_detail::error_info_injector<boost::program_options::validation_error>::~error_info_injector()'
/tmp/cc4Bw3XU.ltrans20.ltrans.o:cc4Bw3XU.ltrans20.o:vtable for boost::exception_detail::error_info_injector<boost::program_options::validation_error>: error: undefined reference to 'non-virtual thunk to boost::exception_detail::error_info_injector<boost::program_options::validation_error>::~error_info_injector()'
/tmp/cc4Bw3XU.ltrans20.ltrans.o:cc4Bw3XU.ltrans20.o:vtable for boost::exception_detail::error_info_injector<boost::bad_function_call>: warning: relocation refers to discarded section
/tmp/cc4Bw3XU.ltrans20.ltrans.o:cc4Bw3XU.ltrans20.o:vtable for boost::exception_detail::error_info_injector<boost::bad_function_call>: warning: relocation refers to discarded section
/tmp/cc4Bw3XU.ltrans20.ltrans.o:cc4Bw3XU.ltrans20.o:vtable for boost::exception_detail::error_info_injector<boost::bad_function_call>: warning: relocation refers to discarded section
/tmp/cc4Bw3XU.ltrans20.ltrans.o:cc4Bw3XU.ltrans20.o:vtable for boost::program_options::validation_error: error: undefined reference to 'boost::program_options::validation_error::~validation_error()'
/tmp/cc4Bw3XU.ltrans20.ltrans.o:cc4Bw3XU.ltrans20.o:vtable for boost::program_options::invalid_option_value: error: undefined reference to 'boost::program_options::invalid_option_value::~invalid_option_value()'
/tmp/cc4Bw3XU.ltrans25.ltrans.o:cc4Bw3XU.ltrans25.o:vtable for boost::program_options::error: warning: relocation refers to discarded section
collect2: error: ld returned 1 exit status
deps/osrm-backend-Release/CMakeFiles/osrm-datastore.dir/build.make:125: recipe for target 'deps/osrm-backend-Release/osrm-datastore' failed
make[3]: *** [deps/osrm-backend-Release/osrm-datastore] Error 1
make[3]: Leaving directory '/home/osrm/osrm-latest/node-osrm/build'
CMakeFiles/Makefile2:644: recipe for target 'deps/osrm-backend-Release/CMakeFiles/osrm-datastore.dir/all' failed
make[2]: *** [deps/osrm-backend-Release/CMakeFiles/osrm-datastore.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 86%] Linking CXX executable osrm-contract
cd /home/osrm/osrm-latest/node-osrm/build/deps/osrm-backend-Release && /usr/bin/cmake -E cmake_link_script CMakeFiles/osrm-contract.dir/link.txt --verbose=1
/usr/bin/c++   -I/home/osrm/boost_1_61_0  -flto=2 -Wall -Wextra -pedantic -Wuninitialized -Wunreachable-code -Wstrict-overflow=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdiagnostics-color=auto -fPIC -ftemplate-depth=1024 -std=c++1y -D_GLIBCXX_USE_CXX11_ABI=0 -fopenmp -O3 -DNDEBUG   -fuse-ld=gold -Wl,--disable-new-dtags -flto  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common  -Wl,-rpath -Wl,/home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/tbb/43_20150316/lib '-Wl,-rpath,$ORIGIN' -Wl,-z,origin CMakeFiles/osrm-contract.dir/src/tools/contract.cpp.o  -o osrm-contract -rdynamic libosrm_contract.a ../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a ../../../mason_packages/linux-x86_64/boost_libdate_time/1.61.0/lib/libboost_date_time.a ../../../mason_packages/linux-x86_64/boost_libfilesystem/1.61.0/lib/libboost_filesystem.a ../../../mason_packages/linux-x86_64/boost_libiostreams/1.61.0/lib/libboost_iostreams.a ../../../mason_packages/linux-x86_64/boost_libthread/1.61.0/lib/libboost_thread.a ../../../mason_packages/linux-x86_64/boost_libsystem/1.61.0/lib/libboost_system.a -lpthread ../../../mason_packages/linux-x86_64/lua/5.2.4/lib/liblua.a ../../../mason_packages/linux-x86_64/stxxl/1.4.1/lib/libstxxl.a -L/home/osrm/osrm-latest/node-osrm/mason_packages/linux-x86_64/tbb/43_20150316/lib -ltbb -lrt 
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'boost::program_options::basic_option<char>::~basic_option()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'boost::program_options::basic_option<char>::basic_option(boost::program_options::basic_option<char> const&)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'boost::program_options::basic_option<char>::~basic_option()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'boost::program_options::basic_option<char>::basic_option(boost::program_options::basic_option<char> const&)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'boost::program_options::basic_option<char>::~basic_option()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'boost::program_options::basic_option<char>::~basic_option()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'boost::program_options::basic_option<char>::basic_option(boost::program_options::basic_option<char> const&)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::run(): error: undefined reference to 'std::runtime_error::runtime_error(char const*)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::handle_additional_parser(std::vector<std::string, std::allocator<std::string> >&): error: undefined reference to 'std::runtime_error::runtime_error(char const*)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::parse_long_option(std::vector<std::string, std::allocator<std::string> >&): error: undefined reference to 'boost::program_options::basic_option<char>::basic_option(boost::program_options::basic_option<char> const&)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(cmdline.o):libs/program_options/src/cmdline.cpp:function boost::program_options::detail::cmdline::finish_option(boost::program_options::basic_option<char>&, std::vector<std::string, std::allocator<std::string> >&, std::vector<boost::function1<std::vector<boost::program_options::basic_option<char>, std::allocator<boost::program_options::basic_option<char> > >, std::vector<std::string, std::allocator<std::string> >&>, std::allocator<boost::function1<std::vector<boost::program_options::basic_option<char>, std::allocator<boost::program_options::basic_option<char> > >, std::vector<std::string, std::allocator<std::string> >&> > > const&): error: undefined reference to 'std::runtime_error::runtime_error(char const*)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(options_description.o):libs/program_options/src/options_description.cpp:function boost::program_options::options_description::options_description(boost::program_options::options_description const&): error: undefined reference to 'std::vector<bool, std::allocator<bool> >::vector(std::vector<bool, std::allocator<bool> > const&)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(options_description.o):libs/program_options/src/options_description.cpp:function boost::detail::shared_count::shared_count<boost::program_options::options_description>(boost::program_options::options_description*): error: undefined reference to 'boost::program_options::options_description::~options_description()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(options_description.o):libs/program_options/src/options_description.cpp:function boost::detail::sp_counted_impl_p<boost::program_options::options_description>::dispose(): error: undefined reference to 'boost::program_options::options_description::~options_description()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(variables_map.o):libs/program_options/src/variables_map.cpp:function boost::program_options::variables_map::get(std::string const&) const: error: undefined reference to 'boost::program_options::variable_value::~variable_value()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(variables_map.o):libs/program_options/src/variables_map.cpp:vtable for boost::program_options::variables_map: error: undefined reference to 'boost::program_options::variables_map::~variables_map()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(variables_map.o):libs/program_options/src/variables_map.cpp:vtable for boost::program_options::variables_map: error: undefined reference to 'boost::program_options::variables_map::~variables_map()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:function boost::program_options::invalid_option_value::invalid_option_value(std::string const&): error: undefined reference to 'boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::string const&, std::string const&, int)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:function boost::program_options::invalid_option_value::invalid_option_value(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&): error: undefined reference to 'boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::string const&, std::string const&, int)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:function boost::program_options::invalid_bool_value::invalid_bool_value(std::string const&): error: undefined reference to 'boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::string const&, std::string const&, int)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:function boost::program_options::error_with_option_name::get_canonical_option_prefix() const: error: undefined reference to 'std::logic_error::logic_error(char const*)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:function std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const& boost::program_options::validators::get_single_string<wchar_t>(std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > > const&, bool): error: undefined reference to 'boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::string const&, std::string const&, int)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:function boost::program_options::typed_value<bool, char>::~typed_value(): error: undefined reference to 'boost::program_options::typed_value<bool, char>::~typed_value()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:function non-virtual thunk to boost::program_options::typed_value<bool, char>::~typed_value(): error: undefined reference to 'boost::program_options::typed_value<bool, char>::~typed_value()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:function non-virtual thunk to boost::program_options::typed_value<bool, char>::~typed_value(): error: undefined reference to 'boost::program_options::typed_value<bool, char>::~typed_value()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(value_semantic.o):libs/program_options/src/value_semantic.cpp:vtable for boost::program_options::error_with_option_name: error: undefined reference to 'boost::program_options::error_with_option_name::~error_with_option_name()'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(convert.o):libs/program_options/src/convert.cpp:function std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > boost::detail::convert<wchar_t, char, boost::_bi::bind_t<std::codecvt_base::result, boost::_mfi::cmf7<std::codecvt_base::result, std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>, __mbstate_t&, char const*, char const*, char const*&, wchar_t*, wchar_t*, wchar_t*&>, boost::_bi::list8<boost::_bi::value<std::codecvt<wchar_t, char, __mbstate_t> const*>, boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::arg<5>, boost::arg<6>, boost::arg<7> > > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::_bi::bind_t<std::codecvt_base::result, boost::_mfi::cmf7<std::codecvt_base::result, std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>, __mbstate_t&, char const*, char const*, char const*&, wchar_t*, wchar_t*, wchar_t*&>, boost::_bi::list8<boost::_bi::value<std::codecvt<wchar_t, char, __mbstate_t> const*>, boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::arg<5>, boost::arg<6>, boost::arg<7> > >): error: undefined reference to 'std::logic_error::logic_error(char const*)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(convert.o):libs/program_options/src/convert.cpp:function std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > boost::detail::convert<wchar_t, char, boost::_bi::bind_t<std::codecvt_base::result, boost::_mfi::cmf7<std::codecvt_base::result, std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>, __mbstate_t&, char const*, char const*, char const*&, wchar_t*, wchar_t*, wchar_t*&>, boost::_bi::list8<boost::_bi::value<std::codecvt<wchar_t, char, __mbstate_t> const*>, boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::arg<5>, boost::arg<6>, boost::arg<7> > > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::_bi::bind_t<std::codecvt_base::result, boost::_mfi::cmf7<std::codecvt_base::result, std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>, __mbstate_t&, char const*, char const*, char const*&, wchar_t*, wchar_t*, wchar_t*&>, boost::_bi::list8<boost::_bi::value<std::codecvt<wchar_t, char, __mbstate_t> const*>, boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::arg<5>, boost::arg<6>, boost::arg<7> > >): error: undefined reference to 'std::logic_error::logic_error(char const*)'
../../../mason_packages/linux-x86_64/boost_libprogram_options/1.61.0/lib/libboost_program_options.a(convert.o):libs/program_options/src/convert.cpp:function std::basic_string<char, std::char_traits<char>, std::allocator<char> > boost::detail::convert<char, wchar_t, boost::_bi::bind_t<std::codecvt_base::result, boost::_mfi::cmf7<std::codecvt_base::result, std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>, __mbstate_t&, wchar_t const*, wchar_t const*, wchar_t const*&, char*, char*, char*&>, boost::_bi::list8<boost::_bi::value<std::codecvt<wchar_t, char, __mbstate_t> const*>, boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::arg<5>, boost::arg<6>, boost::arg<7> > > >(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, boost::_bi::bind_t<std::codecvt_base::result, boost::_mfi::cmf7<std::codecvt_base::result, std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>, __mbstate_t&, wchar_t const*, wchar_t const*, wchar_t const*&, char*, char*, char*&>, boost::_bi::list8<boost::_bi::value<std::codecvt<wchar_t, char, __mbstate_t> const*>, boost::arg<1>, boost::arg<2>, boost::arg<3>, boost::arg<4>, boost::arg<5>, boost::arg<6>, boost::arg<7> > >): error: undefined reference to 'std::logic_error::logic_error(char const*)'
/tmp/cc0yWQQV.ltrans21.ltrans.o:cc0yWQQV.ltrans21.o:vtable for boost::program_options::error: warning: relocation refers to discarded section
/tmp/cc0yWQQV.ltrans23.ltrans.o:cc0yWQQV.ltrans23.o:vtable for stxxl::resource_error: warning: relocation refers to discarded section
/tmp/cc0yWQQV.ltrans23.ltrans.o:cc0yWQQV.ltrans23.o:vtable for boost::system::system_error: error: undefined reference to 'boost::system::system_error::~system_error()'
/tmp/cc0yWQQV.ltrans23.ltrans.o:cc0yWQQV.ltrans23.o:vtable for boost::detail::sp_counted_impl_p<boost::filesystem::detail::dir_itr_imp>: error: undefined reference to 'boost::detail::sp_counted_impl_p<boost::filesystem::detail::dir_itr_imp>::~sp_counted_impl_p()'
/tmp/cc0yWQQV.ltrans23.ltrans.o:cc0yWQQV.ltrans23.o:vtable for boost::detail::sp_counted_impl_p<boost::filesystem::filesystem_error::m_imp>: error: undefined reference to 'boost::detail::sp_counted_impl_p<boost::filesystem::filesystem_error::m_imp>::~sp_counted_impl_p()'
/tmp/cc0yWQQV.ltrans24.ltrans.o:cc0yWQQV.ltrans24.o:vtable for boost::any::holder<bool>: error: undefined reference to 'boost::any::holder<bool>::~holder()'
/tmp/cc0yWQQV.ltrans24.ltrans.o:cc0yWQQV.ltrans24.o:vtable for boost::bad_function_call: warning: relocation refers to discarded section
/tmp/cc0yWQQV.ltrans24.ltrans.o:cc0yWQQV.ltrans24.o:vtable for boost::exception_detail::error_info_injector<boost::program_options::validation_error>: error: undefined reference to 'boost::exception_detail::error_info_injector<boost::program_options::validation_error>::~error_info_injector()'
/tmp/cc0yWQQV.ltrans24.ltrans.o:cc0yWQQV.ltrans24.o:vtable for boost::exception_detail::error_info_injector<boost::program_options::validation_error>: error: undefined reference to 'non-virtual thunk to boost::exception_detail::error_info_injector<boost::program_options::validation_error>::~error_info_injector()'
/tmp/cc0yWQQV.ltrans24.ltrans.o:cc0yWQQV.ltrans24.o:vtable for boost::exception_detail::error_info_injector<boost::program_options::validation_error>: error: undefined reference to 'non-virtual thunk to boost::exception_detail::error_info_injector<boost::program_options::validation_error>::~error_info_injector()'
/tmp/cc0yWQQV.ltrans24.ltrans.o:cc0yWQQV.ltrans24.o:vtable for boost::exception_detail::error_info_injector<boost::bad_function_call>: warning: relocation refers to discarded section
/tmp/cc0yWQQV.ltrans24.ltrans.o:cc0yWQQV.ltrans24.o:vtable for boost::exception_detail::error_info_injector<boost::bad_function_call>: warning: relocation refers to discarded section
/tmp/cc0yWQQV.ltrans24.ltrans.o:cc0yWQQV.ltrans24.o:vtable for boost::exception_detail::error_info_injector<boost::bad_function_call>: warning: relocation refers to discarded section
/tmp/cc0yWQQV.ltrans24.ltrans.o:cc0yWQQV.ltrans24.o:vtable for boost::program_options::validation_error: error: undefined reference to 'boost::program_options::validation_error::~validation_error()'
/tmp/cc0yWQQV.ltrans24.ltrans.o:cc0yWQQV.ltrans24.o:vtable for boost::program_options::invalid_option_value: error: undefined reference to 'boost::program_options::invalid_option_value::~invalid_option_value()'
collect2: error: ld returned 1 exit status
deps/osrm-backend-Release/CMakeFiles/osrm-contract.dir/build.make:103: recipe for target 'deps/osrm-backend-Release/osrm-contract' failed
make[3]: *** [deps/osrm-backend-Release/osrm-contract] Error 1
make[3]: Leaving directory '/home/osrm/osrm-latest/node-osrm/build'
CMakeFiles/Makefile2:750: recipe for target 'deps/osrm-backend-Release/CMakeFiles/osrm-contract.dir/all' failed
make[2]: *** [deps/osrm-backend-Release/CMakeFiles/osrm-contract.dir/all] Error 2
make[2]: Leaving directory '/home/osrm/osrm-latest/node-osrm/build'
Makefile:127: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/osrm/osrm-latest/node-osrm/build'
Makefile:20: recipe for target 'build/Release/node-osrm.node' failed
make: *** [build/Release/node-osrm.node] Error 2

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.17: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--build-from-source" "--unsafe-perm"
npm ERR! node v7.4.0
npm ERR! npm  v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! osrm@5.6.0-latest install: `node-pre-gyp install --fallback-to-build=false || make`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the osrm@5.6.0-latest install script 'node-pre-gyp install --fallback-to-build=false || make'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the osrm package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build=false || make
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs osrm
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls osrm
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/osrm/osrm-latest/node-osrm/npm-debug.log


When trying to build it with npm install -g --build-from-source --unsafe-perm it starts building but fails in the end of the build with

sudo npm install -g --build-from-source --unsafe-perm
npm WARN prepublish-on-install As of npm@5, `prepublish` scripts will run only for `npm publish`.
npm WARN prepublish-on-install (In npm@4 and previous versions, it also runs for `npm install`.)
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.

> osrm@5.6.0-latest prepublish /home/osrm/osrm-latest/node-osrm
> make profiles

make -C ./profiles
make[1]: Entering directory '/home/osrm/osrm-latest/node-osrm/profiles'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/osrm/osrm-latest/node-osrm/profiles'

> osrm@5.6.0-latest preinstall /usr/lib/node_modules/.staging/osrm-2b987bc6
> npm install node-pre-gyp

/usr/bin/node-pre-gyp -> /usr/lib/node_modules/node-pre-gyp/bin/node-pre-gyp
/usr/lib
└── node-pre-gyp@0.6.32 

/usr/lib
└── (empty)

npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "--build-from-source" "--unsafe-perm"
npm ERR! node v7.4.0
npm ERR! npm  v4.0.5
npm ERR! path /usr/lib/node_modules/.staging/abbrev-76723c11
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename '/usr/lib/node_modules/.staging/abbrev-76723c11' -> '/usr/lib/node_modules/osrm/node_modules/abbrev'
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/lib/node_modules/.staging/abbrev-76723c11' -> '/usr/lib/node_modules/osrm/node_modules/abbrev'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /home/osrm/osrm-latest/node-osrm/npm-debug.log

I’m running debian jessie, and am able to build node-osrm successfully up to v5.3.3.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
danpatcommented, Jun 24, 2017

@cordovapolymer the node bindings now live in the osrm-backend project (as of OSRM 5.7), this repo is only maintained for source access to older versions.

It’s not clear which version of OSRM you’re trying to use here. The code a build scripts in osrm-backend have seen some work since this issue was opened, so it’s probably worth trying the latest.

Grab a copy of osrm-backend from 5.7 or newer (we try to keep master stable-ish), and run cmake with:

mkdir build
cd build
cmake -DENABLE_NODE_BINDINGS=ON ..
make

This will build osrm-backend and the nodejs bindings.

1reaction
alimohammad1995commented, Feb 5, 2017

I have a same problem while trying to run npm install osrm. Can someone please check this error?

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install osrm-routed and download/extract/prepare map data
You will need to build from source code and install. ... import docker file FROM osrm/osrm-backend:v5.25.0 # define variables ARG ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found