[Pkg-ayatana-devel] Bug#741804: indicator-applet: FTBFS: panel-applet.h:169:13: error: unknown type name 'GtkActionGroup'
David Suárez
david.sephirot at gmail.com
Sun Mar 16 12:47:25 UTC 2014
Source: indicator-applet
Version: 0.5.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):
> gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -DG_LOG_DOMAIN=\""Indicator-Applet"\" -DDATADIR=\""/usr/share"\" -DINDICATOR_DIR=\""/usr/lib/indicators3/7/"\" -DINDICATOR_ICONS_DIR=\""/usr/share/libindicator/icons/"\" -DINDICATOR_APPLET -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I./.. -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/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gnome-panel-4.0/libpanel-applet -I/usr/include/libindicator3-0.4 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c -o indicator_applet-applet-main.o `test -f 'applet-main.c' || echo './'`applet-main.c
> In file included from applet-main.c:27:0:
> /usr/include/gnome-panel-4.0/libpanel-applet/panel-applet.h:169:13: error: unknown type name 'GtkActionGroup'
> GtkActionGroup *action_group);
> ^
> /usr/include/gnome-panel-4.0/libpanel-applet/panel-applet.h:172:13: error: unknown type name 'GtkActionGroup'
> GtkActionGroup *action_group);
> ^
> /usr/include/gnome-panel-4.0/libpanel-applet/panel-applet.h:175:10: error: unknown type name 'GtkActionGroup'
> GtkActionGroup *action_group);
> ^
> applet-main.c: In function 'entry_secondary_activated':
> applet-main.c:291:3: warning: enumeration value 'GDK_NOTHING' not handled in switch [-Wswitch]
> switch (event->type) {
> ^
> applet-main.c:291:3: warning: enumeration value 'GDK_DELETE' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_DESTROY' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_EXPOSE' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_MOTION_NOTIFY' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_2BUTTON_PRESS' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_DOUBLE_BUTTON_PRESS' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_3BUTTON_PRESS' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_TRIPLE_BUTTON_PRESS' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_KEY_PRESS' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_KEY_RELEASE' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_FOCUS_CHANGE' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_CONFIGURE' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_MAP' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_UNMAP' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_PROPERTY_NOTIFY' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_SELECTION_CLEAR' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_SELECTION_REQUEST' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_SELECTION_NOTIFY' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_PROXIMITY_IN' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_PROXIMITY_OUT' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_DRAG_ENTER' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_DRAG_LEAVE' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_DRAG_MOTION' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_DRAG_STATUS' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_DROP_START' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_DROP_FINISHED' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_CLIENT_EVENT' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_VISIBILITY_NOTIFY' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_SCROLL' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_WINDOW_STATE' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_SETTING' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_OWNER_CHANGE' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_GRAB_BROKEN' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_DAMAGE' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_TOUCH_BEGIN' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_TOUCH_UPDATE' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_TOUCH_END' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_TOUCH_CANCEL' not handled in switch [-Wswitch]
> applet-main.c:291:3: warning: enumeration value 'GDK_EVENT_LAST' not handled in switch [-Wswitch]
> applet-main.c: At top level:
> applet-main.c:656:11: error: unknown type name 'GtkAction'
> about_cb (GtkAction *action G_GNUC_UNUSED,
> ^
> applet-main.c: In function 'applet_fill_cb':
> applet-main.c:835:3: error: unknown type name 'GtkActionEntry'
> static const GtkActionEntry menu_actions[] = {
> ^
> applet-main.c:836:5: warning: braces around scalar initializer [enabled by default]
> {"About", GTK_STOCK_ABOUT, N_("_About"), NULL, NULL, G_CALLBACK(about_cb)}
> ^
> applet-main.c:836:5: warning: (near initialization for 'menu_actions[0]') [enabled by default]
> applet-main.c:836:5: warning: initialization makes integer from pointer without a cast [enabled by default]
> applet-main.c:836:5: warning: (near initialization for 'menu_actions[0]') [enabled by default]
> applet-main.c:836:5: error: initializer element is not computable at load time
> applet-main.c:836:5: error: (near initialization for 'menu_actions[0]')
> applet-main.c:836:15: error: 'GTK_STOCK_ABOUT' undeclared (first use in this function)
> {"About", GTK_STOCK_ABOUT, N_("_About"), NULL, NULL, G_CALLBACK(about_cb)}
> ^
> applet-main.c:836:15: note: each undeclared identifier is reported only once for each function it appears in
> applet-main.c:836:5: warning: excess elements in scalar initializer [enabled by default]
> {"About", GTK_STOCK_ABOUT, N_("_About"), NULL, NULL, G_CALLBACK(about_cb)}
> ^
> applet-main.c:836:5: warning: (near initialization for 'menu_actions[0]') [enabled by default]
> applet-main.c:836:5: warning: excess elements in scalar initializer [enabled by default]
> applet-main.c:836:5: warning: (near initialization for 'menu_actions[0]') [enabled by default]
> applet-main.c:836:5: warning: excess elements in scalar initializer [enabled by default]
> applet-main.c:836:5: warning: (near initialization for 'menu_actions[0]') [enabled by default]
> applet-main.c:836:5: warning: excess elements in scalar initializer [enabled by default]
> applet-main.c:836:5: warning: (near initialization for 'menu_actions[0]') [enabled by default]
> In file included from /usr/include/glib-2.0/gobject/gobject.h:29:0,
> from /usr/include/glib-2.0/gobject/gbinding.h:31,
> from /usr/include/glib-2.0/glib-object.h:25,
> from /usr/include/glib-2.0/gio/gioenums.h:30,
> from /usr/include/glib-2.0/gio/giotypes.h:30,
> from /usr/include/glib-2.0/gio/gio.h:28,
> from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
> from /usr/include/gtk-3.0/gdk/gdk.h:32,
> from /usr/include/gtk-3.0/gtk/gtk.h:30,
> from /usr/include/gnome-panel-4.0/libpanel-applet/panel-applet.h:29,
> from applet-main.c:27:
> applet-main.c:836:69: error: 'about_cb' undeclared (first use in this function)
> {"About", GTK_STOCK_ABOUT, N_("_About"), NULL, NULL, G_CALLBACK(about_cb)}
> ^
> /usr/include/glib-2.0/gobject/gclosure.h:72:40: note: in definition of macro 'G_CALLBACK'
> #define G_CALLBACK(f) ((GCallback) (f))
> ^
> applet-main.c:836:5: warning: excess elements in scalar initializer [enabled by default]
> {"About", GTK_STOCK_ABOUT, N_("_About"), NULL, NULL, G_CALLBACK(about_cb)}
> ^
> applet-main.c:836:5: warning: (near initialization for 'menu_actions[0]') [enabled by default]
> applet-main.c:843:3: error: unknown type name 'GtkActionGroup'
> GtkActionGroup *action_group;
> ^
> applet-main.c:878:3: warning: implicit declaration of function 'gtk_action_group_new' [-Wimplicit-function-declaration]
> action_group = gtk_action_group_new ("Indicator Applet Actions");
> ^
> applet-main.c:878:16: warning: assignment makes pointer from integer without a cast [enabled by default]
> action_group = gtk_action_group_new ("Indicator Applet Actions");
> ^
> applet-main.c:879:3: warning: implicit declaration of function 'gtk_action_group_set_translation_domain' [-Wimplicit-function-declaration]
> gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE);
> ^
> applet-main.c:880:3: warning: implicit declaration of function 'gtk_action_group_add_actions' [-Wimplicit-function-declaration]
> gtk_action_group_add_actions (action_group, menu_actions,
> ^
> applet-main.c:883:3: warning: implicit declaration of function 'panel_applet_setup_menu' [-Wimplicit-function-declaration]
> panel_applet_setup_menu(applet, menu_xml, action_group);
> ^
> make[3]: *** [indicator_applet-applet-main.o] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/03/15/indicator-applet_0.5.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