[Pkg-ayatana-devel] Bug#741836: ido: FTBFS: idoscalemenuitem.c:197:3: 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:10 UTC 2014


Source: ido
Version: 0.3.4-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.. -I/«PKGBUILDDIR»/./src -I/«PKGBUILDDIR»/. -DG_LOG_DOMAIN=\"IDO\" -DPREFIX=\"/usr"\" -DLIBDIR=\"/usr/lib"\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -g -Wall -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   -Wall -Wshadow -Wcast-align -Wno-uninitialized -Wempty-body -Wformat-security -Winit-self -Wall -Werror -Wextra -Wno-unused-parameter -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c -o idoscalemenuitem.lo /«PKGBUILDDIR»/./src/idoscalemenuitem.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/«PKGBUILDDIR»/./src -I.. -I/«PKGBUILDDIR»/./src -I/«PKGBUILDDIR»/. -DG_LOG_DOMAIN=\"IDO\" "-DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\"" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -g -Wall -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 -Wall -Wshadow -Wcast-align -Wno-uninitialized -Wempty-body -Wformat-security -Winit-self -Wall -Werror -Wextra -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c /«PKGBUILDDIR»/./src/idoscalemenuitem.c  -fPIC -DPIC -o .libs/idoscalemenuitem.o
> /«PKGBUILDDIR»/./src/idoscalemenuitem.c: In function 'ido_scale_menu_item_size_allocate':
> /«PKGBUILDDIR»/./src/idoscalemenuitem.c:197:3: 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]
>    priv->child_allocation.x = gtk_container_get_border_width (GTK_CONTAINER (widget)) + gtk_widget_get_style (widget)->xthickness;
>    ^
> /«PKGBUILDDIR»/./src/idoscalemenuitem.c:198:3: 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]
>    priv->child_allocation.y = gtk_container_get_border_width (GTK_CONTAINER (widget)) + gtk_widget_get_style (widget)->ythickness;
>    ^
> cc1: all warnings being treated as errors
> make[3]: *** [idoscalemenuitem.lo] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/03/15/ido_0.3.4-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