[Debian-med-packaging] Bug#853486: libcereal: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:32:47 UTC 2017


Package: src:libcereal
Version: 1.2.1-2
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/libcereal_1.2.1-2_unstable_gcc7.log
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures are 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-7/porting_to.html

[...]
make[4]: *** [unittests/CMakeFiles/test_priority_queue.dir/priority_queue.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:837: recipe for target 'unittests/CMakeFiles/test_priority_queue.dir/all' failed
make[3]: *** [unittests/CMakeFiles/test_priority_queue.dir/all] Error 2
[ 57%] Linking CXX executable sandbox
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/sandbox && /usr/bin/cmake -E cmake_link_script CMakeFiles/sandbox.dir/link.txt --verbose=1
/usr/bin/c++   -Wall -Werror -g -Wextra -Wshadow -pedantic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -Wl,-z,relro CMakeFiles/sandbox.dir/sandbox.cpp.o  -o sandbox -rdynamic 
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 57%] Built target sandbox
cc1plus: all warnings being treated as errors
unittests/CMakeFiles/test_vector.dir/build.make:65: recipe for target 'unittests/CMakeFiles/test_vector.dir/vector.cpp.o' failed
make[4]: *** [unittests/CMakeFiles/test_vector.dir/vector.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:1791: recipe for target 'unittests/CMakeFiles/test_vector.dir/all' failed
make[3]: *** [unittests/CMakeFiles/test_vector.dir/all] Error 2
cc1plus: all warnings being treated as errors
unittests/CMakeFiles/test_load_construct.dir/build.make:65: recipe for target 'unittests/CMakeFiles/test_load_construct.dir/load_construct.cpp.o' failed
make[4]: *** [unittests/CMakeFiles/test_load_construct.dir/load_construct.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:1722: recipe for target 'unittests/CMakeFiles/test_load_construct.dir/all' failed
make[3]: *** [unittests/CMakeFiles/test_load_construct.dir/all] Error 2
cc1plus: all warnings being treated as errors
cc1plus: all warnings being treated as errors
unittests/CMakeFiles/test_structs_specialized.dir/build.make:65: recipe for target 'unittests/CMakeFiles/test_structs_specialized.dir/structs_specialized.cpp.o' failed
make[4]: *** [unittests/CMakeFiles/test_structs_specialized.dir/structs_specialized.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:588: recipe for target 'unittests/CMakeFiles/test_structs_specialized.dir/all' failed
make[3]: *** [unittests/CMakeFiles/test_structs_specialized.dir/all] Error 2
unittests/CMakeFiles/test_map.dir/build.make:65: recipe for target 'unittests/CMakeFiles/test_map.dir/map.cpp.o' failed
make[4]: *** [unittests/CMakeFiles/test_map.dir/map.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:1552: recipe for target 'unittests/CMakeFiles/test_map.dir/all' failed
make[3]: *** [unittests/CMakeFiles/test_map.dir/all] Error 2
cc1plus: all warnings being treated as errors
unittests/CMakeFiles/test_polymorphic.dir/build.make:65: recipe for target 'unittests/CMakeFiles/test_polymorphic.dir/polymorphic.cpp.o' failed
make[4]: *** [unittests/CMakeFiles/test_polymorphic.dir/polymorphic.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:334: recipe for target 'unittests/CMakeFiles/test_polymorphic.dir/all' failed
make[3]: *** [unittests/CMakeFiles/test_polymorphic.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
Makefile:141: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: make -j64 all doc returned exit code 2
debian/rules:10: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Debian-med-packaging mailing list