[Debian-med-packaging] Bug#831172: consensuscore: FTBFS with GCC 6: cstdlib:75:25: fatal error: stdlib.h: No such file or directory

Lucas Nussbaum lucas at debian.org
Thu Jul 14 06:51:44 UTC 2016


Source: consensuscore
Version: 1.0.2-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> g++  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -g  -msse3 -fPIC -fno-omit-frame-pointer -pedantic -std=c++98 -Wall -I/«PKGBUILDDIR»/include -I/«PKGBUILDDIR»/external -isystem /usr/include/ -Wl,-z,relro  -c src/C++/Utils.cpp -o /«PKGBUILDDIR»/build/C++/Utils.o
> In file included from /usr/include/c++/6/bits/stl_algo.h:59:0,
>                  from /usr/include/c++/6/algorithm:62,
>                  from /«PKGBUILDDIR»/include/ConsensusCore/Utils.hpp:43,
>                  from src/C++/Utils.cpp:38:
> /usr/include/c++/6/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
>  #include_next <stdlib.h>
>                          ^
> compilation terminated.
> make[2]: *** [/«PKGBUILDDIR»/build/C++/Utils.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/13/consensuscore_1.0.2-1_unstable_gcc6.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-med-packaging mailing list