Package: clutter-gesture
Version: 0.0.2.1-7
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
...
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread 
> -I/usr/include/clutter-1.0 -I/usr/include/cogl -I/usr/include/atk-1.0 
> -I/usr/include/cogl -I/usr/include/libdrm -I/usr/include/json-glib-1.0 
> -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo 
> -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/cairo 
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall 
> -Werror -Wno-error=unused-but-set-variable 
> -Wno-error=unused-but-set-parameter -Wno-error=deprecated-declarations -fPIC 
> -Wdate-time -D_FORTIFY_SOURCE=2 -g -pthread -I/usr/include/clutter-1.0 
> -I/usr/include/cogl -I/usr/include/atk-1.0 -I/usr/include/cogl 
> -I/usr/include/libdrm -I/usr/include/json-glib-1.0 -I/usr/include/gtk-3.0 
> -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 
> -I/usr/include/harf
> buzz -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 
> -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 
> -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -Werror 
> -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-parameter 
> -Wno-error=deprecated-declarations -fPIC 
> -DPKGDATADIR=\"/usr/share/cluttergesture\" -I./ -I../engine -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -Wall -c 
> clutter-gesture.c  -fPIC -DPIC -o .libs/clutter-gesture.o
> clutter-gesture.c: In function 'captured_event_cb':
> clutter-gesture.c:436:19: warning: variable 'stage' set but not used 
> [-Wunused-but-set-variable]
>      ClutterActor *stage = CLUTTER_ACTOR(event->any.stage);
>                    ^~~~~
> 
> clutter-gesture.c:466:26: warning: variable 'klass' set but not used 
> [-Wunused-but-set-variable]
>      ClutterGestureClass *klass;
>                           ^~~~~
> 
> clutter-gesture.c: In function 'clutter_gesture_set_hold_timeout':
> clutter-gesture.c:718:5: error: statement is indented as if it were guarded 
> by... [-Werror=misleading-indentation]
>      return FALSE;
>      ^~~~~~
> 
> clutter-gesture.c:715:3: note: ...this 'if' clause, but it is not
>    if (set_hold_timeout (priv->gesture_handle, actor, interval) == 0)
>    ^~
> 
> clutter-gesture.c: In function 'clutter_gesture_set_hold_radius':
> clutter-gesture.c:746:5: error: statement is indented as if it were guarded 
> by... [-Werror=misleading-indentation]
>      return FALSE;
>      ^~~~~~
> 
> clutter-gesture.c:743:3: note: ...this 'if' clause, but it is not
>    if (set_hold_radius (priv->gesture_handle, actor, radius) == 0)
>    ^~
> 
> cc1: all warnings being treated as errors
> Makefile:487: recipe for target 'clutter-gesture.lo' failed

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

Reply via email to