Package: libsoldout
Version: 1.3-6
Severity: important
User: [email protected]
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>>'
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector-strong 
> -Wformat -Werror=format-security -g -O2 -fPIE -fstack-protector-strong 
> -Wformat -Werror=format-security -c -Wall -Werror -fPIC -o markdown.o 
> markdown.c
> markdown.c: In function 'parse_htmlblock':
> markdown.c:1286:5: error: statement is indented as if it were guarded by... 
> [-Werror=misleading-indentation]
>      if (j) {
>      ^~
> 
> markdown.c:1284:4: note: ...this 'if' clause, but it is not
>     if (i < size)
>     ^~
> 
> cc1: all warnings being treated as errors
> GNUmakefile:67: recipe for target 'markdown.o' failed
> make[1]: *** [markdown.o] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: make -j1 returned exit code 2

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

Reply via email to