SuperBuild falling at BOOST build step
Mantis Issue 1305, reported by sdinot, assigned to rkanavath, created: 2016-10-27
See below for the error message. The OTB version is the latest release-5.8 branch (commit 415c4a63). The superbuild options are all defaults. Building on CentOS 7 with gcc 4.8.5
[ 78%] Performing build step for 'BOOST' CMake Error at /home/poughov/build/SuperBuild-5.8.0/BOOST/src/BOOST-stamp/BOOST-build-Release.cmake:16 (message): Command failed: 1
'/home/poughov/install/stow/cmake-3.5.2/bin/cmake' '-E' 'chdir' '/home/poughov/build/SuperBuild-5.8.0/BOOST/src/BOOST' './b2' 'architecture=x86' 'address-model=64' 'variant=release' 'link=shared' 'threading=multi' 'runtime-link=shared' '--prefix=/home/poughov/build/SuperBuild-5.8.0/install' '--includedir=/home/poughov/build/SuperBuild-5.8.0/install/include' '--libdir=/home/poughov/build/SuperBuild-5.8.0/install/lib' '--with-system' '--with-serialization' '--with-filesystem' '--with-test' '--with-date_time' '--with-program_options' '--with-thread' 'install'
See also
/home/poughov/build/SuperBuild-5.8.0/BOOST/src/BOOST-stamp/BOOST-build-*.log
make[2]: *** [BOOST/src/BOOST-stamp/BOOST-build] Erreur 1 make[1]: *** [CMakeFiles/BOOST.dir/all] Erreur 2 make: *** [all] Erreur 2
And the content of the log file is very large, the relevant error is (I believe) this:
gcc.compile.c++ bin.v2/libs/date_time/build/gcc-4.8.5/release/threading-multi/gregorian/greg_month.o In file included from ./boost/lexical_cast/detail/inf_nan.hpp:35:0, from ./boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from ./boost/lexical_cast/detail/converter_lexical.hpp:54, from ./boost/lexical_cast/try_lexical_convert.hpp:42, from ./boost/lexical_cast.hpp:32, from ./boost/date_time/date_names_put.hpp:20, from ./boost/date_time/date_formatting_locales.hpp:18, from ./boost/date_time/gregorian/greg_facet.hpp:13, from libs/date_time/src/gregorian/greg_month.cpp:15: ./boost/math/special_functions/fpclassify.hpp:84:22: erreur fatale: quadmath.h : Aucun fichier ou dossier de ce type #include "quadmath.h" ^ compilation terminée.
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -m64 -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1 -DDATE_TIME_INLINE -DNDEBUG -I"." -c -o "bin.v2/libs/date_time/build/gcc-4.8.5/release/threading-multi/gregorian/greg_month.o" "libs/date_time/src/gregorian/greg_month.cpp"
...failed gcc.compile.c++ bin.v2/libs/date_time/build/gcc-4.8.5/release/threading-multi/gregorian/greg_month.o...
1477579265 - poughovadded CMakeCache.txt attachement
1477582628 - rashadkmdo you have gcc-4.8-fortan installed?
can you attach BOOST/src/BOOST/boost/math/tools/user.hpp from superbuild
and attach file BOOST-stamp/BOOST-configure-*.log
do not install gcc-fortan now.
1477586719 - rashadkmpushed a fix here, I am not able to reproduce on any machine
https://git.orfeo-toolbox.org/otb.git/commit/d22127c033f8004189974a9a2f258cca345218f5
so you have to update and check it
1478076486 - poughovStill not working :( with a fresh SuperBuild this morning.
I re uploaded all files except BOOST-stamp/BOOST-configure-err.log, which is 0 bytes (and apparently mantis won't allow upload of empty files).
1478079424 - rashadkmin boost-build-out.log there is this ...
- x86 : yes
could be triggering libquadmath.h header inclusion
be back soon with more info
1478081700 - rashadkmcan you post contents of BOOST-build-Release.cmake in builddir/BOOST/src/BOOST