Package: pimd
Version: 2.3.1-1
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.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
>   CC      igmp.o
> In file included from defs.h:90:0,
>                  from igmp.c:43:
> libite/lite.h: In function 'fisslashdir':
> libite/lite.h:102:26: error: statement is indented as if it were guarded 
> by... [-Werror=misleading-indentation]
>                           return 0;
>                           ^~~~~~
> 
> libite/lite.h:101:4: note: ...this 'if' clause, but it is not
>     if (strlen (dir) > 0) return dir[strlen (dir) - 1] == '/';
>     ^~
> 
> cc1: all warnings being treated as errors
> Makefile:51: recipe for target 'igmp.o' failed
> make[1]: *** [igmp.o] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to