Bug#811724: supertuxkart: FTBFS with GCC 6: narrowing conversion

Martin Michlmayr tbm at hpe.com
Wed Jan 20 01:43:18 UTC 2016


Package: supertuxkart
Version: 0.9.1-3
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-narrowing

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib/bullet && /usr/bin/c++    -I/<<PKGBUILDDIR>>/lib/bullet/src  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -DNDEBUG   -o CMakeFiles/bulletdynamics.dir/src/BulletDynamics/ConstraintSolver/btHinge2Constraint.cpp.o -c /<<PKGBUILDDIR>>/lib/bullet/src/BulletDynamics/ConstraintSolver/btHinge2Constraint.cpp
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-128' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
>  4,0,38,1,4,0,39,1,4,0,40,1,67,0,41,1,};
>                                       ^
> 
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-124' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-56' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-8' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-32' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-104' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-44' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-52' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-12' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-60' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-64' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-92' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-128' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-127' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-126' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-125' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-124' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-123' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-122' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-121' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-120' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-119' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-118' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-117' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-116' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-115' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-114' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-128' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-127' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-126' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-125' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-124' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-123' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-122' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-121' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-120' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-119' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-118' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-117' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-116' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-115' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-114' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-113' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-112' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/lib/bullet/src/LinearMath/btSerializer.cpp:415:38: error: narrowing conversion of '-111' from 'int' to 'unsigned char' inside { } [-Wnarrowing]
...

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Pkg-games-devel mailing list