Source: torcs
Version: 1.3.3+dfsg-0.3
Severity: serious
Tags: stretch sid
User: [email protected]
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++ -I/«BUILDDIR»/torcs-1.3.3+dfsg/export/include 
> -I/«BUILDDIR»/torcs-1.3.3+dfsg -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT 
> -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT 
> -DGL_GLEXT_PROTOTYPES -Wdate-time -D_FORTIFY_SOURCE=2 -D_SVID_SOURCE 
> -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H  -c geometry.cpp
> In file included from 
> /usr/include/x86_64-linux-gnu/c++/6/bits/os_defines.h:39:0,
>                  from 
> /usr/include/x86_64-linux-gnu/c++/6/bits/c++config.h:495,
>                  from /usr/include/c++/6/bits/stl_algobase.h:59,
>                  from /usr/include/c++/6/vector:60,
>                  from geometry.h:24,
>                  from geometry.cpp:21:
> /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and 
> _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>    ^~~~~~~
> geometry.cpp: In function 'void EstimateSphere(std::vector<Vector>, 
> ParametricSphere*)':
> geometry.cpp:373:15: error: 'isnan' was not declared in this scope
>     if (isnan(r)) {
>                ^
> geometry.cpp:373:15: note: suggested alternative:
> In file included from geometry.cpp:23:0:
> /usr/include/c++/6/cmath:655:5: note:   'std::isnan'
>      isnan(_Tp __x)
>      ^~~~~
> make[5]: *** [geometry.o] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2016/07/13/torcs_1.3.3+dfsg-0.3_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.

Reply via email to