Package: dwww Version: 1.13.1 Usertags: ftbfs-gcc-6 gcc-6-shift-negative-value
This package fails to build with GCC 6. GCC 6 has not been released yet, but will probably come out this week. You can find GCC 6 in unstable (gcc-6). 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.68.0 (15 Jan 2016) on dl580gen9-02.hlinux ... > gcc -c -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION='"1.13.1"' -g -O2 > -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra > -Wstrict-prototypes -Wmissing-prototypes -Werror -g -o > _build/dwww-txt2html.o dwww-txt2html.c > dwww-txt2html.c: In function 'flush': > dwww-txt2html.c:40:27: error: left shift of negative value > [-Werror=shift-negative-value] > #define FLAGMASK ((~0) << CHAR_BIT) > ^ > dwww-txt2html.c:41:23: note: in expansion of macro 'FLAGMASK' > #define CHARMASK (~FLAGMASK) > ^~~~~~~~ > dwww-txt2html.c:187:28: note: in expansion of macro 'CHARMASK' > c = data->buf[j] & CHARMASK; > ^~~~~~~~ > dwww-txt2html.c: In function 'add': > dwww-txt2html.c:40:27: error: left shift of negative value > [-Werror=shift-negative-value] > #define FLAGMASK ((~0) << CHAR_BIT) > ^ > dwww-txt2html.c:41:23: note: in expansion of macro 'FLAGMASK' > #define CHARMASK (~FLAGMASK) > ^~~~~~~~ > dwww-txt2html.c:289:47: note: in expansion of macro 'CHARMASK' > && ((data->buf[data->currentbufpos] & CHARMASK) != '_')) { > ^~~~~~~~ > dwww-txt2html.c:40:27: error: left shift of negative value > [-Werror=shift-negative-value] > #define FLAGMASK ((~0) << CHAR_BIT) > ^ > dwww-txt2html.c:41:23: note: in expansion of macro 'FLAGMASK' > #define CHARMASK (~FLAGMASK) > ^~~~~~~~ > dwww-txt2html.c:294:63: note: in expansion of macro 'CHARMASK' > && ((data->buf[data->currentbufpos] & CHARMASK) == > '_' > ^~~~~~~~ > dwww-txt2html.c:40:27: error: left shift of negative value > [-Werror=shift-negative-value] > #define FLAGMASK ((~0) << CHAR_BIT) > ^ > dwww-txt2html.c:41:23: note: in expansion of macro 'FLAGMASK' > #define CHARMASK (~FLAGMASK) > ^~~~~~~~ > dwww-txt2html.c:306:32: note: in expansion of macro 'CHARMASK' > && (data->buf[j] & CHARMASK) == chars[i]) { > ^~~~~~~~ > dwww-txt2html.c:40:27: error: left shift of negative value > [-Werror=shift-negative-value] > #define FLAGMASK ((~0) << CHAR_BIT) > ^ > dwww-txt2html.c:41:23: note: in expansion of macro 'FLAGMASK' > #define CHARMASK (~FLAGMASK) > ^~~~~~~~ > dwww-txt2html.c:317:51: note: in expansion of macro 'CHARMASK' > data->buf[(data->currentbufpos)] &= CHARMASK; > ^~~~~~~~ > dwww-txt2html.c: In function 'find_uris': > dwww-txt2html.c:40:27: error: left shift of negative value > [-Werror=shift-negative-value] > #define FLAGMASK ((~0) << CHAR_BIT) > ^ > dwww-txt2html.c:41:23: note: in expansion of macro 'FLAGMASK' > #define CHARMASK (~FLAGMASK) > ^~~~~~~~ > dwww-txt2html.c:559:32: note: in expansion of macro 'CHARMASK' > c = data->buf[i] & CHARMASK; > ^~~~~~~~ > cc1: all warnings being treated as errors -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise