[pkg-boost-devel] Bug#777805: boost1.55: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:30:25 UTC 2015


Package: src:boost1.55
Version: 1.55.0+dfsg-3
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/boost1.55_1.55.0+dfsg-3_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
     invoke(Ret(*f)(Args... ), BOOST_THREAD_RV_REF(Args) ...args)
                                                            ^
In file included from ./boost/thread/once.hpp:20:0,
                 from ./boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp:18,
                 from ./boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp:15,
                 from ./boost/spirit/home/classic/core/non_terminal/grammar.hpp:21,
                 from ./boost/spirit/home/classic/core.hpp:42,
                 from ./boost/spirit/include/classic_core.hpp:11,
                 from ./boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp:25,
                 from libs/wave/src/instantiate_re2c_lexer_str.cpp:29:
./boost/thread/pthread/once_atomic.hpp:120:37: warning: variadic templates only available with -std=c++11 or -std=gnu++11
   template<typename Function, class ...ArgTypes>
                                     ^
./boost/thread/pthread/once_atomic.hpp:121:108: warning: variadic templates only available with -std=c++11 or -std=gnu++11
   inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTypes)... args)
                                                                                                            ^
In file included from ./boost/system/system_error.hpp:14:0,
                 from ./boost/thread/exceptions.hpp:22,
                 from ./boost/thread/pthread/mutex.hpp:12,
                 from ./boost/thread/mutex.hpp:16,
                 from ./boost/pool/detail/mutex.hpp:14,
                 from ./boost/pool/poolfwd.hpp:24,
                 from ./boost/pool/singleton_pool.hpp:22,
                 from ./boost/wave/cpplexer/cpp_lex_token.hpp:25,
                 from libs/wave/src/instantiate_re2c_lexer_str.cpp:23:
./boost/system/error_code.hpp:222:36: warning: 'boost::system::posix_category' defined but not used [-Wunused-variable]
     static const error_category &  posix_category = generic_category();
                                    ^
./boost/system/error_code.hpp:223:36: warning: 'boost::system::errno_ecat' defined but not used [-Wunused-variable]
     static const error_category &  errno_ecat     = generic_category();
                                    ^
./boost/system/error_code.hpp:224:36: warning: 'boost::system::native_ecat' defined but not used [-Wunused-variable]
     static const error_category &  native_ecat    = system_category();
                                    ^
gcc.compile.c++ bin.v2/libs/wave/build/gcc-5.0.0/release/debug-symbols-on/link-static/threading-multi/cpplexer/re2clex/cpp_re.o

    "g++"  -ftemplate-depth-128 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-local-typedefs -O3 -finline-functions -Wno-inline -w -g -D_FORTIFY_SOURCE=2 -pthread  -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_USE_LIB=1 -DNDEBUG  -I"." -c -o "bin.v2/libs/wave/build/gcc-5.0.0/release/debug-symbols-on/link-static/threading-multi/cpplexer/re2clex/cpp_re.o" "libs/wave/src/cpplexer/re2clex/cpp_re.cpp"

...skipped <pbin.v2/libs/wave/build/gcc-5.0.0/release/debug-symbols-on/link-static/threading-multi>libboost_wave.a(clean) for lack of <pbin.v2/libs/wave/build/gcc-5.0.0/release/debug-symbols-on/link-static/threading-multi>instantiate_cpp_exprgrammar.o...
...skipped <pbin.v2/libs/wave/build/gcc-5.0.0/release/debug-symbols-on/link-static/threading-multi>libboost_wave.a for lack of <pbin.v2/libs/wave/build/gcc-5.0.0/release/debug-symbols-on/link-static/threading-multi>instantiate_cpp_exprgrammar.o...
...skipped <pstage/lib>libboost_wave.a for lack of <pbin.v2/libs/wave/build/gcc-5.0.0/release/debug-symbols-on/link-static/threading-multi>libboost_wave.a...
...failed updating 12 targets...
...skipped 21 targets...
...updated 1192 targets...
make[1]: *** [override_dh_auto_build] Error 1
debian/rules:55: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/«BUILDDIR»/boost1.55-1.55.0+dfsg'
make: *** [build-arch] Error 2
debian/rules:50: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the pkg-boost-devel mailing list