[pkg-cinnamon] Bug#763249: muffin: FTBFS: ui/theme.c:6463:3: error: enumeration value 'GTK_STATE_FLAG_CHECKED' not handled in switch [-Werror=switch]

David Suárez david.sephirot at gmail.com
Sun Sep 28 16:49:50 UTC 2014


Source: muffin
Version: 2.2.6-3
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140926 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -pthread -I/usr/include/cinnamon-desktop -I/usr/include/clutter-1.0 -I/usr/include/cogl -I/usr/include/json-glib-1.0 -I/usr/include/cogl -I/usr/include/libdrm -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -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/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -I. -I./core -I./ui -I./compositor -DMUFFIN_LIBEXECDIR=\"/usr/lib/x86_64-linux-gnu\" -DHOST_ALIAS=\"\" -DMUFFIN_LOCALEDIR=\"/usr/share/locale\" -DMUFFIN_PKGDATADIR=\"/usr/share/muffin\" -DMUFFIN_DATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"muffin\" -DSN_API_NOT_YET_FROZEN=1 -DMUFFIN_MAJOR_VERSION=2 -DMUFFIN_MINOR_VERSION=2 -DMUFFIN_MICRO_VERSION=6 -DMUFFIN_PLUGIN_API_VERSION=3 -DMUFFIN_PKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/muffin\" -DMUFFIN_PLUGIN_DIR=\"/usr/lib/x86_64-linux-gnu/muffin/plugins\" -DGETTEXT_PACKAGE=\"muffin\"  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsign-compare -Werror -Wno-error=deprecated-declarations -c -o theme.lo `test -f 'ui/theme.c' || echo './'`ui/theme.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -pthread -I/usr/include/cinnamon-desktop -I/usr/include/clutter-1.0 -I/usr/include/cogl -I/usr/include/json-glib-1.0 -I/usr/include/cogl -I/usr/include/libdrm -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -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/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I. -I./core -I./ui -I./compositor -DMUFFIN_LIBEXECDIR=\"/usr/lib/x86_64-linux-gnu\" -DHOST_ALIAS=\"\" -DMUFFIN_LOCALEDIR=\"/usr/share/locale\" -DMUFFIN_PKGDATADIR=\"/usr/share/muffin\" -DMUFFIN_DATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"muffin\" -DSN_API_NOT_YET_FROZEN=1 -DMUFFIN_MAJOR_VERSION=2 -DMUFFIN_MINOR_VERSION=2 -DMUFFIN_MICRO_VERSION=6 -DMUFFIN_PLUGIN_API_VERSION=3 -DMUFFIN_PKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/muffin\" -DMUFFIN_PLUGIN_DIR=\"/usr/lib/x86_64-linux-gnu/muffin/plugins\" -DGETTEXT_PACKAGE=\"muffin\" -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsign-compare -Werror -Wno-error=deprecated-declarations -c ui/theme.c  -fPIC -DPIC -o .libs/theme.o
> ui/theme.c: In function 'meta_gtk_widget_get_font_desc':
> ui/theme.c:5949:3: warning: 'gtk_style_context_get_font' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkstylecontext.h:1097): Use 'gtk_style_context_get' instead [-Wdeprecated-declarations]
>    font_desc = pango_font_description_copy (gtk_style_context_get_font (style, 0));
>    ^
> ui/theme.c: In function 'meta_gtk_state_to_string':
> ui/theme.c:6463:3: error: enumeration value 'GTK_STATE_FLAG_CHECKED' not handled in switch [-Werror=switch]
>    switch (state)
>    ^
> cc1: all warnings being treated as errors
> make[5]: *** [theme.lo] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/09/26/muffin_2.2.6-3_unstable.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.



More information about the pkg-cinnamon-team mailing list