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 669637 - 3.3.5 build failure: undefined reference to `g_io_error_quark'
3.3.5 build failure: undefined reference to `g_io_error_quark'
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: building
3.3.x
Other All
: Normal critical
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-02-08 08:36 UTC by Olav Vitters
Modified: 2012-02-10 13:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
configure: GNOME_SHELL_JS needs gio-2.0 (1.05 KB, patch)
2012-02-08 15:35 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review

Description Olav Vitters 2012-02-08 08:36:40 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....
Comment 1 Jasper St. Pierre (not reading bugmail) 2012-02-08 15:35:07 UTC
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.
Comment 2 Owen Taylor 2012-02-08 16:09:14 UTC
Review of attachment 207119 [details] [review]:

Depending on details of linker flags gjs => girepository => gio would pull in GIO to the linked set
Comment 3 Jasper St. Pierre (not reading bugmail) 2012-02-08 16:17:39 UTC
Attachment 207119 [details] pushed as daa380f - configure: GNOME_SHELL_JS needs gio-2.0
Comment 4 Colin Walters 2012-02-10 13:47:11 UTC
Review of attachment 207119 [details] [review]:

See bug 669804