| Summary: | sys-apps/hal-0.5.14-r3 fails to compile | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Peter Ruskin <aoyu93> |
| Component: | Current packages | Assignee: | Daniel Gryniewicz (RETIRED) <dang> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | freedesktop-bugs, s.kobus |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build log
Add dbus libs to more targets |
||
|
Description
Peter Ruskin
2010-10-03 18:10:36 UTC
- Need full build.log attached. - What version of sys-apps/dbus ? emerge -pv dbus ? - Does taking LDFLAGS="-Wl,--as-needed" out help ? Set LDFLAGS="-Wl,-O1" in /etc/make.conf to override it. - Does running revdep-rebuild help? - Need full build.log attached. attached - What version of sys-apps/dbus ? emerge -pv dbus ? emerge -pv dbus These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/dbus-1.4.0 USE="X -debug -doc (-selinux) -static-libs -test" 0 kB - Does taking LDFLAGS="-Wl,--as-needed" out help ? Set LDFLAGS="-Wl,-O1" in /etc/make.conf to override it. No, still the same. - Does running revdep-rebuild help? No, still the same. Created attachment 249489 [details]
build log
gnome-base/gvfs-1.6.4 failed the same as this.
I've given the requested information Looks same or similar as in: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554767 http://cgit.freedesktop.org/hal/commit/?id=12ef5a6b8a75ffdfd718704752a3594326216ee7 Created attachment 249636 [details, diff]
Add dbus libs to more targets
Not the same, since that commit is already in 0.5.14 (and therefore in our code).
Peter:
Could you try this patch?
I applied that patch after "ebuild unpack" but ebuild compile" failed as follows: probe-input.o: In function `main': probe-input.c:(.text+0x17): undefined reference to `dbus_error_init' probe-input.c:(.text+0x14f): undefined reference to `dbus_error_is_set' probe-input.c:(.text+0x171): undefined reference to `dbus_error_is_set' probe-input.c:(.text+0x231): undefined reference to `dbus_error_is_set' probe-input.c:(.text+0x241): undefined reference to `dbus_error_free' probe-input.c:(.text+0x254): undefined reference to `dbus_error_free' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_get_path' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_get_arg_type' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_malloc0' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_next' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_add_filter' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_bus_remove_match' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_open' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_bus_add_match' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_new_method_return' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_close_container' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_send' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_unref' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_is_signal' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_bus_name_has_owner' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_move_error' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_send_with_reply_and_block' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_recurse' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_init' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_get_args' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_append_basic' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_remove_filter' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_init_append' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_get_basic' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_open_container' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_new_method_call' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_get_element_type' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_is_method_call' collect2: ld returned 1 exit status make[5]: *** [hald-probe-input] Error 1 make[5]: *** Waiting for unfinished jobs.... probe-hiddev.o: In function `main': probe-hiddev.c:(.text+0x75): undefined reference to `dbus_error_init' probe-hiddev.c:(.text+0x104): undefined reference to `dbus_error_is_set' probe-hiddev.c:(.text+0x110): undefined reference to `dbus_error_free' probe-hiddev.c:(.text+0x12c): undefined reference to `dbus_error_is_set' probe-hiddev.c:(.text+0x148): undefined reference to `dbus_error_is_set' probe-hiddev.c:(.text+0x174): undefined reference to `dbus_error_free' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_get_path' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_get_arg_type' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_malloc0' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_next' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_add_filter' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_bus_remove_match' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_open' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_bus_add_match' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_new_method_return' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_close_container' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_send' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_unref' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_is_signal' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_bus_name_has_owner' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_move_error' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_send_with_reply_and_block' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_recurse' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_init' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_get_args' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_append_basic' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_remove_filter' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_init_append' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_get_basic' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_open_container' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_new_method_call' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_get_element_type' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_is_method_call' collect2: ld returned 1 exit status make[5]: *** [hald-probe-hiddev] Error 1 probe-storage.o: In function `main': probe-storage.c:(.text+0xc1): undefined reference to `dbus_error_init' probe-storage.c:(.text+0x36f): undefined reference to `dbus_error_is_set' probe-storage.c:(.text+0x396): undefined reference to `dbus_error_is_set' probe-storage.c:(.text+0x3b2): undefined reference to `dbus_error_is_set' probe-storage.c:(.text+0x3dc): undefined reference to `dbus_error_free' probe-storage.c:(.text+0x3ec): undefined reference to `dbus_error_free' probe-storage.c:(.text+0x3fc): undefined reference to `dbus_error_free' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_get_path' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_get_arg_type' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_malloc0' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_next' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_add_filter' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_bus_remove_match' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_open' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_bus_add_match' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_new_method_return' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_close_container' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_send' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_unref' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_is_signal' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_bus_name_has_owner' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_move_error' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_send_with_reply_and_block' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_recurse' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_init' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_get_args' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_append_basic' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_remove_filter' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_init_append' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_get_basic' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_open_container' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_new_method_call' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_get_element_type' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_is_method_call' collect2: ld returned 1 exit status make[5]: *** [hald-probe-storage] Error 1 probe-printer.o: In function `main': probe-printer.c:(.text+0x38): undefined reference to `dbus_error_init' probe-printer.c:(.text+0x191): undefined reference to `dbus_error_is_set' probe-printer.c:(.text+0x1c3): undefined reference to `dbus_error_is_set' probe-printer.c:(.text+0x1eb): undefined reference to `dbus_error_is_set' probe-printer.c:(.text+0x21b): undefined reference to `dbus_error_is_set' probe-printer.c:(.text+0x24b): undefined reference to `dbus_error_is_set' probe-printer.o:probe-printer.c:(.text+0x2c6): more undefined references to `dbus_error_is_set' follow probe-printer.o: In function `main': probe-printer.c:(.text+0x2d2): undefined reference to `dbus_error_free' probe-printer.c:(.text+0x341): undefined reference to `dbus_error_is_set' probe-printer.c:(.text+0x35d): undefined reference to `dbus_error_is_set' probe-printer.c:(.text+0x38c): undefined reference to `dbus_error_free' probe-printer.c:(.text+0x39c): undefined reference to `dbus_error_free' probe-printer.c:(.text+0x42c): undefined reference to `dbus_error_free' probe-printer.c:(.text+0x43c): undefined reference to `dbus_error_free' probe-printer.c:(.text+0x44c): undefined reference to `dbus_error_free' probe-printer.o:probe-printer.c:(.text+0x45c): more undefined references to `dbus_error_free' follow ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_get_path' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_get_arg_type' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_malloc0' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_next' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_add_filter' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_bus_remove_match' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_open' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_bus_add_match' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_new_method_return' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_close_container' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_send' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_unref' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_is_signal' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_bus_name_has_owner' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_move_error' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_send_with_reply_and_block' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_recurse' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_init' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_get_args' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_append_basic' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_remove_filter' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_init_append' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_get_basic' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_open_container' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_new_method_call' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_get_element_type' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_is_method_call' collect2: ld returned 1 exit status make[5]: *** [hald-probe-printer] Error 1 probe-volume.o: In function `main': probe-volume.c:(.text+0x510): undefined reference to `dbus_error_init' probe-volume.c:(.text+0x63c): undefined reference to `dbus_error_is_set' probe-volume.c:(.text+0x658): undefined reference to `dbus_error_is_set' probe-volume.c:(.text+0x684): undefined reference to `dbus_error_free' probe-volume.c:(.text+0x694): undefined reference to `dbus_error_free' probe-volume.c:(.text+0x6aa): undefined reference to `dbus_error_is_set' probe-volume.c:(.text+0x6b6): undefined reference to `dbus_error_free' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_get_path' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_get_arg_type' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_malloc0' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_next' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_add_filter' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_bus_remove_match' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_open' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_bus_add_match' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_new_method_return' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_close_container' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_send' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_unref' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_is_signal' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_bus_name_has_owner' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_move_error' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_send_with_reply_and_block' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_recurse' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_init' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_get_args' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_append_basic' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_connection_remove_filter' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_init_append' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_get_basic' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_open_container' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_new_method_call' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_iter_get_element_type' ../../../libhal/.libs/libhal.so: undefined reference to `dbus_message_is_method_call' collect2: ld returned 1 exit status make[5]: *** [hald-probe-volume] Error 1 make[5]: Leaving directory `/var/tmp/portage/sys-apps/hal-0.5.14-r3/work/hal-0.5.14/hald/linux/probing' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/sys-apps/hal-0.5.14-r3/work/hal-0.5.14/hald/linux' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/sys-apps/hal-0.5.14-r3/work/hal-0.5.14/hald' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-apps/hal-0.5.14-r3/work/hal-0.5.14/hald' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-apps/hal-0.5.14-r3/work/hal-0.5.14' make: *** [all] Error 2 Okay, so it's unrelated to that other issue. Could you post the output of: pkg-config --libs "dbus-1 >= 0.61" pkg-config --libs "glib-2.0 >= 2.10.0 gobject-2.0 > 2.10.0 dbus-glib-1 >= 0.61" (You can back out the patch...) # pkg-config --libs "dbus-1 >= 0.61" -ldbus-1 -lpthread -lrt # pkg-config --libs "glib-2.0 >= 2.10.0 gobject-2.0 > 2.10.0 dbus-glib-1 >= 0.61" -pthread -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 *** Bug 340323 has been marked as a duplicate of this bug. *** sys-apps/hal was removed from tree wrt #313389, closing as OBSOLETE |