GNOME Bugzilla – Bug 643754
Gentoo QA warnings: gnome-base/libgnomekbd-2.32.0: gkbd-keyboard-drawing.c: warning: implicit declaration of functions
Last modified: 2011-03-03 08:18:58 UTC
When installing the gnome-base/libgnomekbd-2.32.0 package on my Gentoo system, I received the following notification: * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * gkbd-keyboard-drawing.c:2586: warning: implicit declaration of function ‘xkl_xkb_config_native_prepare’ * gkbd-keyboard-drawing.c:2590: warning: implicit declaration of function ‘xkl_xkb_config_native_cleanup’ * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: http://www.gnome.org * ERROR: gnome-base/libgnomekbd-2.32.0 failed: * install aborted due to poor programming practices shown above Looking through the build output, here are the warnings in context: make all-am make[3]: Entering directory `/var/tmp/portage/gnome-base/libgnomekbd-2.32.0/work/libgnomekbd-2.32.0/libgnomekbd' CC libgnomekbd_la-gkbd-desktop-config.lo CC libgnomekbd_la-gkbd-keyboard-config.lo CC libgnomekbd_la-gkbd-util.lo CCLD libgnomekbd.la CC libgnomekbdui_la-gkbd-indicator-config.lo CC libgnomekbdui_la-gkbd-indicator.lo CC libgnomekbdui_la-gkbd-status.lo CC libgnomekbdui_la-gkbd-indicator-marshal.lo CC libgnomekbdui_la-gkbd-indicator-plugin-manager.lo CC libgnomekbdui_la-gkbd-keyboard-drawing-marshal.lo CC libgnomekbdui_la-gkbd-keyboard-drawing.lo gkbd-keyboard-drawing.c: In function ‘gkbd_keyboard_drawing_new_dialog’: gkbd-keyboard-drawing.c:2586: warning: implicit declaration of function ‘xkl_xkb_config_native_prepare’ gkbd-keyboard-drawing.c:2590: warning: implicit declaration of function ‘xkl_xkb_config_native_cleanup’ CCLD libgnomekbdui.la LC_ALL=C /usr/bin/intltool-merge -s -u -c ../po/.intltool-merge-cache ../po desktop_gnome_peripherals_keyboard_xkb.schemas.in desktop_gnome_peripherals_keyboard_xkb.schemas Generating and caching the translation database Merging translations into desktop_gnome_peripherals_keyboard_xkb.schemas. make[3]: Leaving directory `/var/tmp/portage/gnome-base/libgnomekbd-2.32.0/work/libgnomekbd-2.32.0/libgnomekbd' make[2]: Leaving directory `/var/tmp/portage/gnome-base/libgnomekbd-2.32.0/work/libgnomekbd-2.32.0/libgnomekbd' Making all in test
Fair enough. It is somewhat ugly access to libxklavier internals - anyway, fixed.