[Debian-med-packaging] Bug#831096: opensurgsim: 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 07:19:28 UTC 2016


Source: opensurgsim
Version: 0.6.0-5
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):
> make[3]: Entering directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
> [  0%] Building CXX object GoogleMock/CMakeFiles/gmock.dir/usr/src/gtest/src/gtest-all.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/GoogleMock && /usr/bin/c++   -DBOOST_ALL_DYN_LINK -DGTEST_CREATE_SHARED_LIBRARY=1 -D_POSIX_C_SOURCE=200809L -Dgmock_EXPORTS -I/«PKGBUILDDIR» -isystem /usr/include/eigen3 -isystem /usr/lib/x86_64-linux-gnu/cmake/yaml-cpp/../../../../include -I/usr/src/gmock/include -I/usr/src/gmock -I/usr/src/gtest/include -I/usr/src/gtest  -g -O2 -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2  -Wall  -std=gnu++11 -fPIC   -g -O2 -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2  -Wall  -std=gnu++11 -Wall -Wshadow -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -o CMakeFiles/gmock.dir/usr/src/gtest/src/gtest-all.cc.o -c /usr/src/gtest/src/gtest-all.cc
> In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
>                  from /usr/include/c++/6/bits/basic_string.h:5402,
>                  from /usr/include/c++/6/string:52,
>                  from /usr/include/c++/6/bits/locale_classes.h:40,
>                  from /usr/include/c++/6/bits/ios_base.h:41,
>                  from /usr/include/c++/6/ios:42,
>                  from /usr/include/c++/6/ostream:38,
>                  from /usr/include/gtest/gtest.h:55,
>                  from /usr/src/gtest/src/gtest-all.cc:39:
> /usr/include/c++/6/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
>  #include_next <stdlib.h>
>                          ^
> compilation terminated.
> make[3]: *** [GoogleMock/CMakeFiles/gmock.dir/usr/src/gtest/src/gtest-all.cc.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/13/opensurgsim_0.6.0-5_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