Package: pacman Version: 10-17.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 ... > c++ -g -O2 -fno-strict-aliasing -Dlinux -D__amd64__ > -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE > -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -DDOUBLE > -fno-rtti -fno-exceptions -fPIC -c -o blank.o blank.cc > In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25:0, > from /usr/include/X11/Xlib.h:38, > from systspec.h:4, > from usrinter.h:7, > from element.h:6, > from staticel.h:3, > from blank.h:3, > from blank.cc:1: > /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and > _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^~~~~~~ > > In file included from graphele.h:7:0, > from element.h:7, > from staticel.h:3, > from blank.h:3, > from blank.cc:1: > shapes.h:63:228: error: narrowing conversion of '240' from 'int' to 'char' > inside { } [-Wnarrowing] > static SHAPETYPE pacman0_bits[]= {0xf0, 0x0f, 0xf0, 0x0f, 0xfc, 0x3f, > 0xfc, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, > 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x3f, 0xfc, 0x3f, 0xf0, 0x0f, 0xf0, 0x0f}; > > > ^ > > shapes.h:63:228: error: narrowing conversion of '240' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '252' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '252' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '255' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '252' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '252' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '240' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:63:228: error: narrowing conversion of '240' from 'int' to 'char' > inside { } [-Wnarrowing] > shapes.h:64:228: error: narrowing conversion of '240' from 'int' to 'char' > inside { } [-Wnarrowing] > static SHAPETYPE pacmanleft_bits[]= {0xf0, 0x0f, 0xf0, 0x0f, 0xc0, 0x3c, > 0xc0, 0x3c, 0x00, 0xff, 0x00, 0xff, 0x00, 0xfc, 0x00, 0xfc, 0x00, 0xfc, 0x00, > 0xfc, 0x00, 0xff, 0x00, 0xff, 0xc0, 0x3f, 0xc0, 0x3f, 0xf0, 0x0f, 0xf0, 0x0f}; ... -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise