Source: gtkimageview
Version: 1.6.4+dfsg-1
Severity: serious
Tags: stretch sid
User: [email protected]
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc 
> -DPACKAGE_NAME=\"gtkimageview\" -DPACKAGE_TARNAME=\"gtkimageview\" 
> -DPACKAGE_VERSION=\"1.6.4\" -DPACKAGE_STRING=\"gtkimageview\ 1.6.4\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"gtkimageview\" 
> -DVERSION=\"1.6.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
> -DLT_OBJDIR=\".libs/\" -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/libpng16 
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 
> -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  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror 
> -std=c99 -Wmissing-prototypes -c -o gtkimagenav.lo gtkimagenav.c
> libtool: compile:  gcc -DPACKAGE_NAME=\"gtkimageview\" 
> -DPACKAGE_TARNAME=\"gtkimageview\" -DPACKAGE_VERSION=\"1.6.4\" 
> "-DPACKAGE_STRING=\"gtkimageview 1.6.4\"" -DPACKAGE_BUGREPORT=\"\" 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"gtkimageview\" -DVERSION=\"1.6.4\" 
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
> -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/libpng16 
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 
> -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 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror 
> -std=c99 -Wmissing-prototypes -c gtkimagenav.c  -fPIC -DPIC -o 
> .libs/gtkimagenav.o
> gtkimagenav.c: In function 'gtk_image_nav_get_preview_size':
> gtkimagenav.c:74:5: error: this 'if' clause does not guard... 
> [-Werror=misleading-indentation]
>      if (!pixbuf)
>      ^~
> gtkimagenav.c:76:2: note: ...this statement, but the latter is misleadingly 
> indented as if it is guarded by the 'if'
>   int img_width = gdk_pixbuf_get_width (pixbuf);
>   ^~~
> cc1: all warnings being treated as errors
> make[3]: *** [gtkimagenav.lo] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2016/07/13/gtkimageview_1.6.4+dfsg-1_unstable_gcc6.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to