Package: ncc Version: 2.8-2 Severity: important User: [email protected] 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++ -g -O2 -Wno-write-strings -Wl,-z,relro main.C objdir/*.o -o objdir/nccgen > Compiling nccnav viewer. > make[2]: Entering directory '/<<PKGBUILDDIR>>/nccnav' > g++ -Wl,-z,relro -g -Wno-write-strings nccnav.C -I.. -lncurses -o nccnav > ../objdir/dbstree.o ../objdir/inttree.o > nccnav.C:334:22: error: narrowing conversion of '-1' from 'int' to 'unsigned > int' inside { } [-Wnarrowing] > } NoChunk = { ~0, ~0 }; > ^ > > nccnav.C:334:22: error: narrowing conversion of '-1' from 'int' to 'unsigned > int' inside { } [-Wnarrowing] > Makefile:10: recipe for target '../objdir/nccnav' failed > make[2]: *** [../objdir/nccnav] Error 1 > make[2]: Leaving directory '/<<PKGBUILDDIR>>/nccnav' -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

