[pkg-boost-devel] Bug#701377: boost1.49: ftbfs with GCC-4.8

Matthias Klose doko at debian.org
Sat Feb 23 11:22:22 UTC 2013


Package: src:boost1.49
Version: 1.49.0-3.2
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.8

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

  ./boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/boost1.49_1.49.0-3.2_unstable_gcc48.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev

The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues
might be caused by the updated glibc.

[...]
       BOOST_STATIC_ASSERT((                                                     \
       ^
./boost/iterator/iterator_facade.hpp:829:3: note: in expansion of macro 'BOOST_ITERATOR_FACADE_INTEROP'
   BOOST_ITERATOR_FACADE_INTEROP(                                    \
   ^
./boost/iterator/iterator_facade.hpp:842:3: note: in expansion of macro 'BOOST_ITERATOR_FACADE_RELATION'
   BOOST_ITERATOR_FACADE_RELATION(>=, return 0 <=, distance_from)
   ^
./boost/iterator/iterator_facade.hpp: In function 'typename boost::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::detail::choose_difference_type, Derived1, Derived2>::type>::type boost::operator-(const boost::iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const boost::iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&)':
./boost/static_assert.hpp:125:21: warning: typedef 'boost_static_assert_typedef_851' locally defined but not used [-Wunused-local-typedefs]
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
                     ^
./boost/iterator/iterator_facade.hpp:818:7: note: in expansion of macro 'BOOST_STATIC_ASSERT'
       BOOST_STATIC_ASSERT((                                                     \
       ^
./boost/iterator/iterator_facade.hpp:846:3: note: in expansion of macro 'BOOST_ITERATOR_FACADE_INTEROP'
   BOOST_ITERATOR_FACADE_INTEROP(
   ^
./boost/iterator/iterator_adaptor.hpp: In function 'void boost::detail::iterator_adaptor_assert_traversal()':
./boost/static_assert.hpp:125:21: warning: typedef 'boost_static_assert_typedef_224' locally defined but not used [-Wunused-local-typedefs]
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
                     ^
./boost/iterator/iterator_adaptor.hpp:224:7: note: in expansion of macro 'BOOST_STATIC_ASSERT'
       BOOST_STATIC_ASSERT((is_convertible<Tr1, Tr2>::value));
       ^
RmTemps bin.v2/libs/serialization/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/libboost_wserialization.a(clean)

    rm -f "bin.v2/libs/serialization/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/libboost_wserialization.a" 

gcc.archive bin.v2/libs/serialization/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/libboost_wserialization.a

    "/usr/bin/ar"  rc "bin.v2/libs/serialization/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/libboost_wserialization.a" "bin.v2/libs/serialization/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/basic_text_wiprimitive.o" "bin.v2/libs/serialization/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/basic_text_woprimitive.o" "bin.v2/libs/serialization/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/text_wiarchive.o" "bin.v2/libs/serialization/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/text_woarchive.o" "bin.v2/libs/serialization/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/utf8_codecvt_facet.o" "bin.v2/libs/serialization/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/xml_wgrammar.o" "bin.v2/libs/serialization/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/xml_wiarchive.o" "bin.v2/libs/serialization/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/xml_woarchive.o" "bin.v2/libs/serialization/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/codecvt_null.o"
    "/usr/bin/ranlib" "bin.v2/libs/serialization/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/libboost_wserialization.a"

common.copy stage/lib/libboost_wserialization.a

    cp "bin.v2/libs/serialization/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/libboost_wserialization.a"  "stage/lib/libboost_wserialization.a"

gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi/cpplexer/re2clex/cpp_re.o

    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -w -g -pthread  -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_USE_LIB=1 -DNDEBUG  -I"." -c -o "bin.v2/libs/wave/build/gcc-4.8/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-4.8/release/debug-symbols-on/link-static/threading-multi>libboost_wave.a(clean) for lack of <pbin.v2/libs/wave/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi>instantiate_cpp_exprgrammar.o...
...skipped <pbin.v2/libs/wave/build/gcc-4.8/release/debug-symbols-on/link-static/threading-multi>libboost_wave.a for lack of <pbin.v2/libs/wave/build/gcc-4.8/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-4.8/release/debug-symbols-on/link-static/threading-multi>libboost_wave.a...
...failed updating 30 targets...
...skipped 18 targets...
...updated 1033 targets...
make: *** [build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the pkg-boost-devel mailing list