Package: mailavenger Version: 0.8.4-4 Severity: important User: debian-...@lists.debian.org Usertags: ftbfs-gcc-6 gcc-6-misleading-indentation
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 > mv -f .deps/getopt_long.Tpo .deps/getopt_long.Po > x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -I.. -I/usr/include/pcap -I/usr/include/sasl > -I/usr/include -DETCDIR=\"/etc/avenger\" -DLIBEXEC=\"/usr/lib/mailavenger\" > -DBINDIR=\"/usr/bin\" -DEXECDIR=LIBEXEC > -DDATADIR=\"/usr/share/doc/mailavenger\" -DPIDDIR=\"/var/run\" -I../libasync > -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall > -Werror -MT maketables.o -MD -MP -MF .deps/maketables.Tpo -c -o maketables.o > maketables.c > maketables.c: In function 'pcre_maketables': > maketables.c:135:55: error: statement is indented as if it were guarded by... > [-Werror=misleading-indentation] > if (strchr("*+?{^.$|()[", i) != 0) x += ctype_meta; *p++ = x; } > ^ > > maketables.c:135:3: note: ...this 'if' clause, but it is not > if (strchr("*+?{^.$|()[", i) != 0) x += ctype_meta; *p++ = x; } > ^~ > > cc1: all warnings being treated as errors > Makefile:514: recipe for target 'maketables.o' failed > make[3]: *** [maketables.o] Error 1 -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise