GNOME Bugzilla – Bug 683366
3.5.91: /home/iurt/rpm/BUILD/gnome-settings-daemon-3.5.91/plugins/keyboard/test-make-xkb-source-id.c:20: undefined reference to `make_xkb_source_id'
Last modified: 2012-09-05 10:49:59 UTC
Seems like an as-needed linking build related error. make[3]: Entering directory `/home/iurt/rpm/BUILD/gnome-settings-daemon-3.5.91/plugins/keyboard' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../gnome-settings-daemon -I../../data -I../../plugins/common -DDATADIR=\""/usr/share/gnome-settings-daemon"\" -DGNOME_SETTINGS_LOCALEDIR=\""/usr/share/locale"\" -DG_LOG_DOMAIN="\"keyboard-plugin\"" -DPLUGIN_NAME="\"keyboard\"" -pthread -D_REENTRANT -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -pthread -D_REENTRANT -I/usr/include/gnome-desktop-3.0 -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -MT libkeyboard_la-gsd-keyboard-plugin.lo -MD -MP -MF .deps/libkeyboard_la-gsd-keyboard-plugin.Tpo -c -o libkeyboard_la-gsd-keyboard-plugin.lo `test -f 'gsd-keyboard-plugin.c' || echo './'`gsd-keyboard-plugin.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../gnome-settings-daemon -I../../data -I../../plugins/common -DDATADIR=\""/usr/share/gnome-settings-daemon"\" -DGNOME_SETTINGS_LOCALEDIR=\""/usr/share/locale"\" -DG_LOG_DOMAIN="\"keyboard-plugin\"" -DPLUGIN_NAME="\"keyboard\"" -pthread -D_REENTRANT -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -pthread -D_REENTRANT -I/usr/include/gnome-desktop-3.0 -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -MT libkeyboard_la-gsd-keyboard-manager.lo -MD -MP -MF .deps/libkeyboard_la-gsd-keyboard-manager.Tpo -c -o libkeyboard_la-gsd-keyboard-manager.lo `test -f 'gsd-keyboard-manager.c' || echo './'`gsd-keyboard-manager.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../gnome-settings-daemon -I../../data -I../../plugins/common -DDATADIR=\""/usr/share/gnome-settings-daemon"\" -DGNOME_SETTINGS_LOCALEDIR=\""/usr/share/locale"\" -DG_LOG_DOMAIN="\"keyboard-plugin\"" -DPLUGIN_NAME="\"keyboard\"" -pthread -D_REENTRANT -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -pthread -D_REENTRANT -I/usr/include/gnome-desktop-3.0 -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -MT gsd_test_keyboard-test-keyboard.o -MD -MP -MF .deps/gsd_test_keyboard-test-keyboard.Tpo -c -o gsd_test_keyboard-test-keyboard.o `test -f 'test-keyboard.c' || echo './'`test-keyboard.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../gnome-settings-daemon -I../../data -I../../plugins/common -DDATADIR=\""/usr/share/gnome-settings-daemon"\" -DGNOME_SETTINGS_LOCALEDIR=\""/usr/share/locale"\" -DG_LOG_DOMAIN="\"keyboard-plugin\"" -DPLUGIN_NAME="\"keyboard\"" -pthread -D_REENTRANT -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -pthread -D_REENTRANT -I/usr/include/gnome-desktop-3.0 -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -MT gsd_test_keyboard-gsd-keyboard-manager.o -MD -MP -MF .deps/gsd_test_keyboard-gsd-keyboard-manager.Tpo -c -o gsd_test_keyboard-gsd-keyboard-manager.o `test -f 'gsd-keyboard-manager.c' || echo './'`gsd-keyboard-manager.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../gnome-settings-daemon -I../../data -I../../plugins/common -DDATADIR=\""/usr/share/gnome-settings-daemon"\" -DGNOME_SETTINGS_LOCALEDIR=\""/usr/share/locale"\" -DG_LOG_DOMAIN="\"keyboard-plugin\"" -DPLUGIN_NAME="\"keyboard\"" -pthread -D_REENTRANT -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -pthread -D_REENTRANT -I/usr/include/gnome-desktop-3.0 -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -MT test_make_xkb_source_id-test-make-xkb-source-id.o -MD -MP -MF .deps/test_make_xkb_source_id-test-make-xkb-source-id.Tpo -c -o test_make_xkb_source_id-test-make-xkb-source-id.o `test -f 'test-make-xkb-source-id.c' || echo './'`test-make-xkb-source-id.c LC_ALL=C /bin/intltool-merge -d -u -c ../../po/.intltool-merge-cache ../../po keyboard.gnome-settings-plugin.in keyboard.gnome-settings-plugin libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../gnome-settings-daemon -I../../data -I../../plugins/common -DDATADIR=\"/usr/share/gnome-settings-daemon\" -DGNOME_SETTINGS_LOCALEDIR=\"/usr/share/locale\" -DG_LOG_DOMAIN=\"keyboard-plugin\" -DPLUGIN_NAME=\"keyboard\" -pthread -D_REENTRANT -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -pthread -D_REENTRANT -I/usr/include/gnome-desktop-3.0 -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -MT libkeyboard_la-gsd-keyboard-manager.lo -MD -MP -MF .deps/libkeyboard_la-gsd-keyboard-manager.Tpo -c gsd-keyboard-manager.c -fPIC -DPIC -o .libs/libkeyboard_la-gsd-keyboard-manager.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../gnome-settings-daemon -I../../data -I../../plugins/common -DDATADIR=\"/usr/share/gnome-settings-daemon\" -DGNOME_SETTINGS_LOCALEDIR=\"/usr/share/locale\" -DG_LOG_DOMAIN=\"keyboard-plugin\" -DPLUGIN_NAME=\"keyboard\" -pthread -D_REENTRANT -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -pthread -D_REENTRANT -I/usr/include/gnome-desktop-3.0 -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -MT libkeyboard_la-gsd-keyboard-plugin.lo -MD -MP -MF .deps/libkeyboard_la-gsd-keyboard-plugin.Tpo -c gsd-keyboard-plugin.c -fPIC -DPIC -o .libs/libkeyboard_la-gsd-keyboard-plugin.o Found cached translation database Merging translations into keyboard.gnome-settings-plugin. mv -f .deps/libkeyboard_la-gsd-keyboard-plugin.Tpo .deps/libkeyboard_la-gsd-keyboard-plugin.Plo mv -f .deps/gsd_test_keyboard-test-keyboard.Tpo .deps/gsd_test_keyboard-test-keyboard.Po test-make-xkb-source-id.c: In function 'main': test-make-xkb-source-id.c:20:17: warning: initialization makes pointer from integer without a cast [enabled by default] mv -f .deps/gsd_test_keyboard-gsd-keyboard-manager.Tpo .deps/gsd_test_keyboard-gsd-keyboard-manager.Po /bin/sh ../../libtool --tag=CC --mode=link gcc -DG_LOG_DOMAIN="\"keyboard-plugin\"" -DPLUGIN_NAME="\"keyboard\"" -pthread -D_REENTRANT -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -pthread -D_REENTRANT -I/usr/include/gnome-desktop-3.0 -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o gsd-test-keyboard gsd_test_keyboard-test-keyboard.o gsd_test_keyboard-gsd-keyboard-manager.o ../../plugins/common/libcommon.la -lgtk-3 -lgdk-3 -latk-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lX11 -lxkbfile -lgnome-desktop-3 -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 ../../gnome-settings-daemon/libgsd.la mv -f .deps/test_make_xkb_source_id-test-make-xkb-source-id.Tpo .deps/test_make_xkb_source_id-test-make-xkb-source-id.Po /bin/sh ../../libtool --tag=CC --mode=link gcc -DG_LOG_DOMAIN="\"keyboard-plugin\"" -DPLUGIN_NAME="\"keyboard\"" -pthread -D_REENTRANT -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -pthread -D_REENTRANT -I/usr/include/gnome-desktop-3.0 -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o test-make-xkb-source-id test_make_xkb_source_id-test-make-xkb-source-id.o ../../plugins/common/libcommon.la -lgtk-3 -lgdk-3 -latk-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lX11 -lxkbfile -lgnome-desktop-3 -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 ../../gnome-settings-daemon/libgsd.la mv -f .deps/libkeyboard_la-gsd-keyboard-manager.Tpo .deps/libkeyboard_la-gsd-keyboard-manager.Plo /bin/sh ../../libtool --tag=CC --mode=link gcc -DG_LOG_DOMAIN="\"keyboard-plugin\"" -DPLUGIN_NAME="\"keyboard\"" -pthread -D_REENTRANT -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -pthread -D_REENTRANT -I/usr/include/gnome-desktop-3.0 -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -export_dynamic -module -avoid-version -no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libkeyboard.la -rpath /usr/lib64/gnome-settings-daemon-3.0 libkeyboard_la-gsd-keyboard-plugin.lo libkeyboard_la-gsd-keyboard-manager.lo ../../plugins/common/libcommon.la -lgtk-3 -lgdk-3 -latk-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lX11 -lxkbfile -lgnome-desktop-3 -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 libtool: link: gcc -DG_LOG_DOMAIN=\"keyboard-plugin\" -DPLUGIN_NAME=\"keyboard\" -pthread -D_REENTRANT -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -pthread -D_REENTRANT -I/usr/include/gnome-desktop-3.0 -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/gsd-test-keyboard gsd_test_keyboard-test-keyboard.o gsd_test_keyboard-gsd-keyboard-manager.o ../../plugins/common/.libs/libcommon.a -lXi -lX11 -lxkbfile -lgnome-desktop-3 -lgtk-3 -lgdk-3 -latk-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo ../../gnome-settings-daemon/.libs/libgsd.so -lsystemd-login -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/usr/lib64/gnome-settings-daemon-3.0 libtool: link: gcc -DG_LOG_DOMAIN=\"keyboard-plugin\" -DPLUGIN_NAME=\"keyboard\" -pthread -D_REENTRANT -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -pthread -D_REENTRANT -I/usr/include/gnome-desktop-3.0 -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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng15 -I/usr/include/gsettings-desktop-schemas -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/test-make-xkb-source-id test_make_xkb_source_id-test-make-xkb-source-id.o ../../plugins/common/.libs/libcommon.a -lXi -lX11 -lxkbfile -lgnome-desktop-3 -lgtk-3 -lgdk-3 -latk-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo ../../gnome-settings-daemon/.libs/libgsd.so -lsystemd-login -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/usr/lib64/gnome-settings-daemon-3.0 libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/libkeyboard_la-gsd-keyboard-plugin.o .libs/libkeyboard_la-gsd-keyboard-manager.o -Wl,--whole-archive ../../plugins/common/.libs/libcommon.a -Wl,--no-whole-archive -pthread -pthread -O2 -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -pthread -lXi -lX11 -lxkbfile -lgnome-desktop-3 -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -Wl,-soname -Wl,libkeyboard.so -o .libs/libkeyboard.so libtool: link: ( cd ".libs" && rm -f "libkeyboard.la" && ln -s "../libkeyboard.la" "libkeyboard.la" ) test_make_xkb_source_id-test-make-xkb-source-id.o: In function `main': /home/iurt/rpm/BUILD/gnome-settings-daemon-3.5.91/plugins/keyboard/test-make-xkb-source-id.c:20: undefined reference to `make_xkb_source_id' collect2: error: ld returned 1 exit status make[3]: *** [test-make-xkb-source-id] Error 1 make[3]: Leaving directory `/home/iurt/rpm/BUILD/gnome-settings-daemon-3.5.91/plugins/keyboard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/iurt/rpm/BUILD/gnome-settings-daemon-3.5.91/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/iurt/rpm/BUILD/gnome-settings-daemon-3.5.91' make: *** [all] Error 2 error: Bad exit status from /home/iurt/rpm/tmp/rpm-tmp.p2cyV3 (%build) Full build output at: http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20120904205503.ovitters.valstar.9201/log/gnome-settings-daemon-3.5.91-1.mga3/build.0.20120904205614.log
Created attachment 223482 [details] [review] keyboard: Only compile the make_xkb_source_id test case if HAVE_IBUS -- This should fix it. Thanks for reporting
Ahh yeah that certainly looks like it would fix it.
Review of attachment 223482 [details] [review]: ::: plugins/keyboard/Makefile.am @@ +68,2 @@ noinst_PROGRAMS = test-make-xkb-source-id test_make_xkb_source_id_SOURCES = test-make-xkb-source-id.c You need to add test-make-xkb-source-id.c to EXTRA_DIST, otherwise it won't be dist'ed if I don't build the tarball with ibus support.
(In reply to comment #3) > You need to add test-make-xkb-source-id.c to EXTRA_DIST, otherwise it won't be > dist'ed if I don't build the tarball with ibus support. That doesn't seem to be the case here. Either configuring with --disable-ibus or --enable-ibus results in this file being included on make dist.
(In reply to comment #4) > (In reply to comment #3) > > You need to add test-make-xkb-source-id.c to EXTRA_DIST, otherwise it won't be > > dist'ed if I don't build the tarball with ibus support. > > That doesn't seem to be the case here. Either configuring with --disable-ibus > or --enable-ibus results in this file being included on make dist. automake seems to have grown clever, that never used to work.
Attachment 223482 [details] pushed as e0cabaa - keyboard: Only compile the make_xkb_source_id test case if HAVE_IBUS