Package: nzb Version: 0.2-1 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 ... > g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB > -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED > -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore > -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui > -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -I. -o downloader.o > downloader.cpp > downloader.cpp: In member function 'void > Downloader::gotError(QAbstractSocket::SocketError)': > downloader.cpp:180:56: warning: unused parameter 'err' [-Wunused-parameter] > void Downloader::gotError(QAbstractSocket::SocketError err) > ^~~ > > g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB > -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED > -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore > -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui > -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -I. -o decoder.o decoder.cpp > decoder.cpp: In member function 'void Decoder::uDecode(int, int, bool, int)': > decoder.cpp:357:5: warning: suggest explicit braces to avoid ambiguous 'else' > [-Wparentheses] > if (!multi || (multi && type == 1)) > ^ > > decoder.cpp:340:7: warning: variable 'badnl' set but not used > [-Wunused-but-set-variable] > bool badnl = false; // Newlines only \n, not \r\n, > ^~~~~ > > decoder.cpp: In member function 'void Decoder::crcAdd(int*, int)': > decoder.cpp:485:2: error: narrowing conversion of '3993919788u' from > 'unsigned int' to 'int' inside { } [-Wnarrowing] > }; > ^ > > decoder.cpp:485:2: error: narrowing conversion of '2567524794u' from > 'unsigned int' to 'int' inside { } [-Wnarrowing] > decoder.cpp:485:2: error: narrowing conversion of '3915621685u' from > 'unsigned int' to 'int' inside { } [-Wnarrowing] > decoder.cpp:485:2: error: narrowing conversion of '2657392035u' from > 'unsigned int' to 'int' inside { } [-Wnarrowing] > decoder.cpp:485:2: error: narrowing conversion of '3772115230u' from > 'unsigned int' to 'int' inside { } [-Wnarrowing] > decoder.cpp:485:2: error: narrowing conversion of '2547177864u' from > 'unsigned int' to 'int' inside { } [-Wnarrowing] > decoder.cpp:485:2: error: narrowing conversion of '3887607047u' from > 'unsigned int' to 'int' inside { } [-Wnarrowing] > decoder.cpp:485:2: error: narrowing conversion of '2428444049u' from > 'unsigned int' to 'int' inside { } [-Wnarrowing] > decoder.cpp:485:2: error: narrowing conversion of '4089016648u' from > 'unsigned int' to 'int' inside { } [-Wnarrowing] > decoder.cpp:485:2: error: narrowing conversion of '2227061214u' from > 'unsigned int' to 'int' inside { } [-Wnarrowing] > decoder.cpp:485:2: error: narrowing conversion of '4107580753u' from > 'unsigned int' to 'int' inside { } [-Wnarrowing] > decoder.cpp:485:2: error: narrowing conversion of '2211677639u' from > 'unsigned int' to 'int' inside { } [-Wnarrowing] > decoder.cpp:485:2: error: narrowing conversion of '4251122042u' from > 'unsigned int' to 'int' inside { } [-Wnarrowing] ... -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise