Package: libtuxcap Version: 1.4.0.dfsg2-2.2 Severity: important User: debian-...@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 ... > [ 7%] Building CXX object tuxcap/lib/CMakeFiles/tuxcap.dir/MemoryImage.o > cd /<<PKGBUILDDIR>>/debian/tmp-build/tuxcap/lib && /usr/bin/c++ > -Dtuxcap_EXPORTS -I/<<PKGBUILDDIR>>/tuxcap/{SDL_INCLUDE_DIR} > -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 > -I/usr/include/SDL -I/usr/include/python2.7 -I/<<PKGBUILDDIR>>/tuxcap/include > -I/<<PKGBUILDDIR>>/tuxcap/chipmunk -I/<<PKGBUILDDIR>>/tuxcap/hgeparticle > -I/<<PKGBUILDDIR>>/tuxcap/pycap -DNDEBUG -fPIC -o > CMakeFiles/tuxcap.dir/MemoryImage.o -c > /<<PKGBUILDDIR>>/tuxcap/lib/MemoryImage.cpp > /<<PKGBUILDDIR>>/tuxcap/lib/MemoryImage.cpp: In member function 'bool > Sexy::MemoryImage::BltRotatedClipHelper(float&, float&, const Rect&, const > Rect&, double, Sexy::FRect&, float, float)': > /<<PKGBUILDDIR>>/tuxcap/lib/MemoryImage.cpp:1507:32: warning: narrowing > conversion of '(int)theSrcRect.Sexy::TRect<int>::mWidth' from 'int' to > 'float' inside { } [-Wnarrowing] > float px[4] = { 0, theSrcRect.mWidth, theSrcRect.mWidth, 0 }; > ~~~~~~~~~~~^~~~~~ > > /<<PKGBUILDDIR>>/tuxcap/lib/MemoryImage.cpp:1507:51: warning: narrowing > conversion of '(int)theSrcRect.Sexy::TRect<int>::mWidth' from 'int' to > 'float' inside { } [-Wnarrowing] > float px[4] = { 0, theSrcRect.mWidth, theSrcRect.mWidth, 0 }; > ~~~~~~~~~~~^~~~~~ > > /<<PKGBUILDDIR>>/tuxcap/lib/MemoryImage.cpp:1508:35: warning: narrowing > conversion of '(int)theSrcRect.Sexy::TRect<int>::mHeight' from 'int' to > 'float' inside { } [-Wnarrowing] > float py[4] = { 0, 0, theSrcRect.mHeight, theSrcRect.mHeight }; > ~~~~~~~~~~~^~~~~~~ > > /<<PKGBUILDDIR>>/tuxcap/lib/MemoryImage.cpp:1508:55: warning: narrowing > conversion of '(int)theSrcRect.Sexy::TRect<int>::mHeight' from 'int' to > 'float' inside { } [-Wnarrowing] > float py[4] = { 0, 0, theSrcRect.mHeight, theSrcRect.mHeight }; > ~~~~~~~~~~~^~~~~~~ > > /<<PKGBUILDDIR>>/tuxcap/lib/MemoryImage.cpp: In member function 'void > Sexy::MemoryImage::BltMatrixHelper(Sexy::Image*, float, float, const > Sexy::SexyMatrix3&, const Rect&, const Sexy::Color&, int, const Rect&, void*, > int, int, bool)': > /<<PKGBUILDDIR>>/tuxcap/lib/MemoryImage.cpp:1787:2: error: narrowing > conversion of '4294967295u' from 'unsigned int' to 'int32_t {aka int}' inside > { } [-Wnarrowing] > }; > ^ > > /<<PKGBUILDDIR>>/tuxcap/lib/MemoryImage.cpp:1787:2: error: narrowing > conversion of '4294967295u' from 'unsigned int' to 'int32_t {aka int}' inside > { } [-Wnarrowing] > /<<PKGBUILDDIR>>/tuxcap/lib/MemoryImage.cpp:1787:2: error: narrowing > conversion of '4294967295u' from 'unsigned int' to 'int32_t {aka int}' inside > { } [-Wnarrowing] > /<<PKGBUILDDIR>>/tuxcap/lib/MemoryImage.cpp:1787:2: error: narrowing > conversion of '4294967295u' from 'unsigned int' to 'int32_t {aka int}' inside > { } [-Wnarrowing] > tuxcap/lib/CMakeFiles/tuxcap.dir/build.make:425: recipe for target > 'tuxcap/lib/CMakeFiles/tuxcap.dir/MemoryImage.o' failed > make[3]: *** [tuxcap/lib/CMakeFiles/tuxcap.dir/MemoryImage.o] Error 1 -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise