Summary: | dev-libs/dbus-glib-0.92 build fails because of underlinking | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas K. Hüttel <dilfridge> |
Component: | [OLD] Library | Assignee: | Freedesktop bugs <freedesktop-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cardoe, steev |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 372079 | ||
Attachments: |
compressed build log
emerge --info |
Created attachment 283193 [details]
emerge --info
<cut> /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libdbus-gtool.a(dbus-gidl.o): undefined reference to symbol 'g_boxed_type_register_static' /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'g_boxed_type_register_static' is defined in DSO /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64/libgobject-2.0.so so try adding it to the linker command line /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64/libgobject-2.0.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status </cut> This seems fixed in 0.98 where $(DBUS_GLIB_LIBS) is included in LDADD like for dbus-bash-completion-helper. And gobject is part of it, added in configure.ac and if not, provide new logs for 0.98 :) |
Created attachment 283191 [details] compressed build log Build fails with gcc-4.5.2 and forced --as-needed --no-add-needed, log is attached