[Pkg-ayatana-devel] Bug#741798: indicator-messages: FTBFS: indicator-messages.c:435:2: error: 'gtk_widget_get_style' is deprecated: Use 'gtk_widget_get_style_context' instead [-Werror=deprecated-declarations]
David Suárez
david.sephirot at gmail.com
Sun Mar 16 12:47:45 UTC 2014
Source: indicator-messages
Version: 0.6.0-1.1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140315 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/«PKGBUILDDIR»/./src -I.. -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/libdbusmenu-glib-0.4 -I/usr/include/libdbusmenu-gtk3-0.4 -I/usr/include/libindicator3-0.4 -I/usr/include/libindicate-0.7 -Wall -Wl,-Bsymbolic-functions -Wl,-z,defs -Wl,--as-needed -Werror -DG_LOG_DOMAIN=\"Indicator-Messages\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c -o libmessaging_la-indicator-messages.lo `test -f 'indicator-messages.c' || echo '/«PKGBUILDDIR»/./src/'`indicator-messages.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/«PKGBUILDDIR»/./src -I.. -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/libdbusmenu-glib-0.4 -I/usr/include/libdbusmenu-gtk3-0.4 -I/usr/include/libindicator3-0.4 -I/usr/include/libindicate-0.7 -Wall -Wl,-Bsymbolic-functions -Wl,-z,defs -Wl,--as-needed -Werror -DG_LOG_DOMAIN=\"Indicator-Messages\" -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c /«PKGBUILDDIR»/./src/indicator-messages.c -fPIC -DPIC -o .libs/libmessaging_la-indicator-messages.o
> /«PKGBUILDDIR»/./src/indicator-messages.c: In function 'application_triangle_draw_cb':
> /«PKGBUILDDIR»/./src/indicator-messages.c:435:2: error: 'gtk_widget_get_style' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:672): Use 'gtk_widget_get_style_context' instead [-Werror=deprecated-declarations]
> style = gtk_widget_get_style (widget);
> ^
> /«PKGBUILDDIR»/./src/indicator-messages.c:464:2: error: 'gtk_widget_get_state' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkwidget.h:678): Use 'gtk_widget_get_state_flags' instead [-Werror=deprecated-declarations]
> cairo_set_source_rgb (cr, style->fg[gtk_widget_get_state(widget)].red/65535.0,
> ^
> /«PKGBUILDDIR»/./src/indicator-messages.c:465:28: error: 'gtk_widget_get_state' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkwidget.h:678): Use 'gtk_widget_get_state_flags' instead [-Werror=deprecated-declarations]
> style->fg[gtk_widget_get_state(widget)].green/65535.0,
> ^
> /«PKGBUILDDIR»/./src/indicator-messages.c:466:28: error: 'gtk_widget_get_state' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkwidget.h:678): Use 'gtk_widget_get_state_flags' instead [-Werror=deprecated-declarations]
> style->fg[gtk_widget_get_state(widget)].blue/65535.0);
> ^
> /«PKGBUILDDIR»/./src/indicator-messages.c: In function 'numbers_draw_cb':
> /«PKGBUILDDIR»/./src/indicator-messages.c:535:2: error: 'gtk_widget_get_style' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:672): Use 'gtk_widget_get_style_context' instead [-Werror=deprecated-declarations]
> style = gtk_widget_get_style (widget);
> ^
> /«PKGBUILDDIR»/./src/indicator-messages.c:571:2: error: 'gtk_widget_get_state' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkwidget.h:678): Use 'gtk_widget_get_state_flags' instead [-Werror=deprecated-declarations]
> cairo_set_source_rgba (cr, style->fg[gtk_widget_get_state(widget)].red/65535.0,
> ^
> /«PKGBUILDDIR»/./src/indicator-messages.c:572:29: error: 'gtk_widget_get_state' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkwidget.h:678): Use 'gtk_widget_get_state_flags' instead [-Werror=deprecated-declarations]
> style->fg[gtk_widget_get_state(widget)].green/65535.0,
> ^
> /«PKGBUILDDIR»/./src/indicator-messages.c:573:29: error: 'gtk_widget_get_state' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkwidget.h:678): Use 'gtk_widget_get_state_flags' instead [-Werror=deprecated-declarations]
> style->fg[gtk_widget_get_state(widget)].blue/65535.0, 0.5);
> ^
> cc1: all warnings being treated as errors
> make[4]: *** [libmessaging_la-indicator-messages.lo] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/03/15/indicator-messages_0.6.0-1.1_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-ayatana-devel
mailing list