Source: trackballs
Version: 1.1.4-4.2
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++ -DLOCALEDIR=\"/usr/share/games/locale\" -DHAVE_CONFIG_H -I. -I.. 
> -DSHARE_DIR=\"/usr/share/games/trackballs\" -DPACKAGE=\"trackballs\" 
> -DVERSION=\"1.1.4\"  -Wdate-time -D_FORTIFY_SOURCE=2 -g -g -O2 
> -fstack-protector-strong -fpermissive -pthread -I/usr/include/guile/2.0 -I./ 
> -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-glHelp.o 
> `test -f 'glHelp.cc' || echo './'`glHelp.cc
> glHelp.cc: In function 'Real abs(Real)':
> glHelp.cc:132:23: error: 'Real abs(Real)' conflicts with a previous 
> declaration
>  inline Real abs(Real v) {return v>0.0?v:-v;}
>                        ^
> In file included from /usr/include/c++/6/math.h:36:0,
>                  from general.h:26,
>                  from glHelp.cc:23:
> /usr/include/c++/6/cmath:85:3: note: previous declaration 'constexpr double 
> std::abs(double)'
>    abs(double __x)
>    ^~~
> glHelp.cc: In function 'void drawMouse(int, int, int, int, Real)':
> glHelp.cc:193:33: warning: ISO C++ forbids converting a string constant to 
> 'char*' [-Wwrite-strings]
>    bindTexture("mousePointer.png");
>                                  ^
> glHelp.cc: In function 'void glHelpInit()':
> glHelp.cc:544:24: warning: ISO C++ forbids converting a string constant to 
> 'char*' [-Wwrite-strings]
>    loadTexture("ice.png");
>                         ^
> glHelp.cc:545:25: warning: ISO C++ forbids converting a string constant to 
> 'char*' [-Wwrite-strings]
>    loadTexture("acid.png");
>                          ^
> glHelp.cc:546:25: warning: ISO C++ forbids converting a string constant to 
> 'char*' [-Wwrite-strings]
>    loadTexture("sand.png");
>                          ^
> glHelp.cc:547:26: warning: ISO C++ forbids converting a string constant to 
> 'char*' [-Wwrite-strings]
>    loadTexture("track.png");
>                           ^
> glHelp.cc:548:28: warning: ISO C++ forbids converting a string constant to 
> 'char*' [-Wwrite-strings]
>    loadTexture("texture.png");
>                             ^
> glHelp.cc:549:29: warning: ISO C++ forbids converting a string constant to 
> 'char*' [-Wwrite-strings]
>    loadTexture("texture2.png");
>                              ^
> glHelp.cc:550:29: warning: ISO C++ forbids converting a string constant to 
> 'char*' [-Wwrite-strings]
>    loadTexture("texture3.png");
>                              ^
> glHelp.cc:551:29: warning: ISO C++ forbids converting a string constant to 
> 'char*' [-Wwrite-strings]
>    loadTexture("texture4.png");
>                              ^
> glHelp.cc:552:26: warning: ISO C++ forbids converting a string constant to 
> 'char*' [-Wwrite-strings]
>    loadTexture("wings.png");
>                           ^
> glHelp.cc:553:33: warning: ISO C++ forbids converting a string constant to 
> 'char*' [-Wwrite-strings]
>    loadTexture("mousePointer.png");
>                                  ^
> make[3]: *** [trackballs-glHelp.o] Error 1

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