GNOME Bugzilla – Bug 669637
3.3.5 build failure: undefined reference to `g_io_error_quark'
Last modified: 2012-02-10 13:47:11 UTC
Could be something simple / my own fault. Full compile log available at: http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20120208081312.ovitters.valstar.15032/log/botcmd.1328688841.jonund.log libtool: link: ( cd ".libs" && rm -f "libgvc.la" && ln -s "../libgvc.la" "libgvc.la" ) /usr/bin/g-ir-scanner --warn-all --add-include-path=. --namespace=Gvc --nsversion=1.0 --libtool="/bin/sh ../libtool" --include=GObject-2.0 --include=Gio-2.0 --library=libgvc.la -I./gvc -DWITH_INTROSPECTION gvc/gvc-mixer-stream.h gvc/gvc-mixer-stream.c gvc/gvc-channel-map.h gvc/gvc-channel-map.c gvc/gvc-mixer-card.c gvc/gvc-mixer-card.h gvc/gvc-mixer-sink.h gvc/gvc-mixer-sink.c gvc/gvc-mixer-source.h gvc/gvc-mixer-source.c gvc/gvc-mixer-sink-input.h gvc/gvc-mixer-sink-input.c gvc/gvc-mixer-source-output.h gvc/gvc-mixer-source-output.c gvc/gvc-mixer-event-role.h gvc/gvc-mixer-event-role.c gvc/gvc-mixer-control.h gvc/gvc-mixer-control.c libgvc.la --output Gvc-1.0.gir libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/libgnome_shell_js_la-shell-js.o -O2 -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,--export-dynamic -pthread -pthread -lgjs -lgirepository-1.0 -lmozjs185 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lffi -lglib-2.0 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,-soname -Wl,libgnome-shell-js.so -o .libs/libgnome-shell-js.so mv -f .deps/libgnome_shell_la-shell-stack.Tpo .deps/libgnome_shell_la-shell-stack.Plo mv -f .deps/gnome_shell_calendar_server-gnome-shell-calendar-server.Tpo .deps/gnome_shell_calendar_server-gnome-shell-calendar-server.Po .libs/libgnome_shell_js_la-shell-js.o: In function `shell_js_add_extension_importer': /home/iurt/rpm/BUILD/gnome-shell-3.3.5/src/shell-js.c:60: undefined reference to `g_io_error_quark' collect2: ld returned 1 exit status make[3]: *** [libgnome-shell-js.la] Error 1 make[3]: *** Waiting for unfinished jobs....
Created attachment 207119 [details] [review] configure: GNOME_SHELL_JS needs gio-2.0 I didn't realize it when I wrote the patches, but GNOME_SHELL_JS needs gio, not glib, as it uses the G_IO_ERROR quarks. I have no idea how this compiled on my machine.
Review of attachment 207119 [details] [review]: Depending on details of linker flags gjs => girepository => gio would pull in GIO to the linked set
Attachment 207119 [details] pushed as daa380f - configure: GNOME_SHELL_JS needs gio-2.0
Review of attachment 207119 [details] [review]: See bug 669804