After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 675674 - build failure: gsd-keyboard-manager.c:381: undefined reference to `gkbd_keyboard_config_patch'
build failure: gsd-keyboard-manager.c:381: undefined reference to `gkbd_keybo...
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: keyboard
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
: 675731 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-05-08 12:35 UTC by Craig Keogh
Modified: 2012-05-09 13:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Craig Keogh 2012-05-08 12:35:42 UTC
I am building gnome-settings-daemon via JHBuild on Fedora 16. The build fails with:

libtool: link: gcc -DG_LOG_DOMAIN=\"keyboard-plugin\" -pthread -I/opt/gnome/include/gtk-3.0 -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/gio-unix-2.0/ -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/cairo -I/opt/gnome/include/gdk-pixbuf-2.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include -I/opt/gnome/include/gsettings-desktop-schemas -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libdrm -pthread -I/opt/gnome/include/gtk-3.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include -I/opt/gnome/include/gio-unix-2.0/ -I/opt/gnome/include/cairo -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/libxml2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -O0 -g -Wno-strict-aliasing -Wno-sign-compare -o .libs/test-keyboard test_keyboard-test-keyboard.o test_keyboard-gsd-keyboard-manager.o test_keyboard-delayed-dialog.o -Wl,--export-dynamic -pthread  -L/opt/gnome/lib64 ../../plugins/common/.libs/libcommon.a -lXi -lgtk-3 -latk-1.0 -lX11 -lgnomekbdui -lgnomekbd -lgmodule-2.0 -lrt -lgdk-3 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lxklavier ../../gnome-settings-daemon/.libs/libgsd.so -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/opt/gnome/lib64/gnome-settings-daemon-3.0
test_keyboard-gsd-keyboard-manager.o: In function `try_activating_xkb_config_if_new':
/home/oxyde/gnome/build/gnome-settings-daemon/plugins/keyboard/gsd-keyboard-manager.c:381: undefined reference to `gkbd_keyboard_config_patch'
collect2: ld returned 1 exit status
make[3]: *** [test-keyboard] Error 1
make[3]: Leaving directory `/home/oxyde/gnome/build/gnome-settings-daemon/plugins/keyboard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/oxyde/gnome/build/gnome-settings-daemon/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/oxyde/gnome/build/gnome-settings-daemon'
make: *** [all] Error 2
Comment 1 Sergey V. Udaltsov 2012-05-09 09:09:51 UTC
My fault, I did not commit that bit in g-s-d.

Could please someone remove the line calling gkbd_keyboard_config_patch function? That is the proper fix. Unfortunately I won't be able to make it till Friday, and it is not nice to keep the tree unbuildable.
Comment 2 Craig Keogh 2012-05-09 12:09:07 UTC
(In reply to comment #1)
> My fault, I did not commit that bit in g-s-d.
> 
> Could please someone remove the line calling gkbd_keyboard_config_patch
> function? That is the proper fix. Unfortunately I won't be able to make it till
> Friday, and it is not nice to keep the tree unbuildable.

Ok. I've committed your suggestion. Builds now.
http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=30a9ea3b69c5c70f497c396896997f3daf4aa594
Comment 3 Bastien Nocera 2012-05-09 13:07:20 UTC
*** Bug 675731 has been marked as a duplicate of this bug. ***