Package: sgt-puzzles
Version: 20140928.r10274-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
...
> gcc -DPACKAGE_NAME=\"puzzles\" -DPACKAGE_TARNAME=\"puzzles\" 
> -DPACKAGE_VERSION=\"20140928.r10274\" -DPACKAGE_STRING=\"puzzles\ 
> 20140928.r10274\" -DPACKAGE_BUGREPORT=\"ana...@pobox.com\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"puzzles\" -DVERSION=\"20140928.r10274\" -I.  -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 -DSHAREDIR="\"/usr/share\""   -DSTANDALONE_SOLVER 
> -DDEBIAN_VERSION="\"20140928.r10274-1\"" 
> -DHELP_BROWSER_PATH="\"yelp:khelpcenter:sensible-browser\"" -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 -DSHAREDIR="\"/usr/share\""  -g -O2 -Wall -Werror 
> -ansi -MT ./libtowers2_a-towers.o -MD -MP -MF .deps/libtowers2_a-towers.Tpo 
> -c -o ./libtowers2_a-towers.o `test -f './towers.c' || echo './'`./towers.c
> ./towers.c: In function 'solver_easy':
> ./towers.c:395:6: error: statement is indented as if it were guarded by... 
> [-Werror=misleading-indentation]
>       if (solver_show_working)
>       ^~
> 
> ./towers.c:391:2: note: ...this 'if' clause, but it is not
>   if (ret)
>   ^~
> 
> cc1: all warnings being treated as errors
> Makefile:2206: recipe for target 'libtowers2_a-towers.o' failed
> make[2]: *** [libtowers2_a-towers.o] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> debian/rules:28: recipe for target 'override_dh_auto_build' failed
> make[1]: *** [override_dh_auto_build] Error 2

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

Reply via email to