Package: putty
Version: 0.66-3
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
...
> gcc -DHAVE_CONFIG_H -I.  -I././ -I./charset/ -I./windows/ -I./unix/ 
> -I./macosx/ -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -pthread 
> -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include 
> -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 
> -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 
> -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -I/usr/include/freetype2   -Wall -Werror -g -O2 -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o sshrand.o 
> sshrand.c
> proxy.c: In function 'proxy_socks5_negotiate':
> proxy.c:1191:31: error: statement is indented as if it were guarded by... 
> [-Werror=misleading-indentation]
>    if (ulen > 255) ulen = 255; if (ulen < 1) ulen = 1;
>                                ^~
> 
> proxy.c:1191:3: note: ...this 'if' clause, but it is not
>    if (ulen > 255) ulen = 255; if (ulen < 1) ulen = 1;
>    ^~
> 
> proxy.c:1193:31: error: statement is indented as if it were guarded by... 
> [-Werror=misleading-indentation]
>    if (plen > 255) plen = 255; if (plen < 1) plen = 1;
>                                ^~
> 
> proxy.c:1193:3: note: ...this 'if' clause, but it is not
>    if (plen > 255) plen = 255; if (plen < 1) plen = 1;
>    ^~
> 
> cproxy.c: In function 'proxy_socks5_selectchap':
> cproxy.c:176:30: error: statement is indented as if it were guarded by... 
> [-Werror=misleading-indentation]
>   if (ulen > 255) ulen = 255; if (ulen < 1) ulen = 1;
>                               ^~
> 
> cproxy.c:176:2: note: ...this 'if' clause, but it is not
>   if (ulen > 255) ulen = 255; if (ulen < 1) ulen = 1;
>   ^~


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

Reply via email to