Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339612 - sys-apps/hal-0.5.14-r3 fails to compile
Summary: sys-apps/hal-0.5.14-r3 fails to compile
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords:
: 340323 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-03 18:10 UTC by Peter Ruskin
Modified: 2011-09-18 09:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (sys-apps:hal-0.5.14-r3:20101003-223229.log,39.04 KB, text/plain)
2010-10-03 22:39 UTC, Peter Ruskin
Details
Add dbus libs to more targets (hal-0.5.14-dbus-libs.patch,1.81 KB, patch)
2010-10-05 13:02 UTC, Daniel Gryniewicz (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ruskin 2010-10-03 18:10:36 UTC
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'


Reproducible: Always




# emerge --info
Portage 2.2_rc88 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-r8-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Sat, 02 Oct 2010 22:45:02 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.5, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going"
FEATURES="assume-digests binpkg-logs buildsyspkg distlocks fixlafiles fixpackages news nostrip notitles parallel-fetch preserve-libs protect-owned sfperms unknown-features-warn unmerge-logs unmerge-orphans"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LANG="en_GB"
LC_ALL="en_GB"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages/x86"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="3dnow 3ds 64bit X a52 aac acpi alsa amd64 bash-completion berkdb binary-drivers bittorrent branding bzip2 cairo cdda cddb cdparanoia cdr clamav cli consolekit cups cxx dbase dbus dri dts dv dvd dvdnav dvdr emboss encode examples exif fat ffmpeg firefox flac fuse gdbm gif gimp gpm iconv java jpeg lcms ldap libnotify lm_sensors mad maildir mbox mikmod mmx mng modules moznocompose moznoirc mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pango pcre pdf perl png ppds pppd python qt3 qt3support qt4 readline reflection samba scanner sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff tk transcode truetype unicode usb utils vcd vdr videos vim-with-x vorbis wmf x264 xcb xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="snd_hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="konica minolta" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-10-03 19:44:14 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?
Comment 2 Peter Ruskin 2010-10-03 22:36:17 UTC
- 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.
Comment 3 Peter Ruskin 2010-10-03 22:39:28 UTC
Created attachment 249489 [details]
build log

gnome-base/gvfs-1.6.4 failed the same as this.
Comment 4 Peter Ruskin 2010-10-04 18:32:41 UTC
I've given the requested information
Comment 6 Daniel Gryniewicz (RETIRED) gentoo-dev 2010-10-05 13:02:54 UTC
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?
Comment 7 Peter Ruskin 2010-10-05 14:19:34 UTC
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
Comment 8 Daniel Gryniewicz (RETIRED) gentoo-dev 2010-10-05 17:30:17 UTC
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...)
Comment 9 Peter Ruskin 2010-10-05 18:01:10 UTC
# 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
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2010-10-10 12:11:46 UTC
*** Bug 340323 has been marked as a duplicate of this bug. ***
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2011-09-18 09:26:10 UTC
sys-apps/hal was removed from tree wrt #313389, closing as OBSOLETE