Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 115058

Summary: Build of libgpod (gtkpod support library) fails
Product: Gentoo Linux Reporter: John Sonnenschein <johnsonnenschein>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://pastebin.com/458108
Whiteboard:
Package list:
Runtime testing required: ---

Description John Sonnenschein 2005-12-09 22:35:23 UTC
libgpod Build fails with dbus and hal symbol errors. libdbus-1.so.1 is missing,
which is needed by hal and so on until libgpod dies on compile. Note that I *do*
have hal and dbus merged

Reproducible: Always
Steps to Reproduce:
1.unmask libgpod
2.emerge libgpod
3.

Actual Results:  
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -fomit-frame-pointer -pipe -o
.libs/test-itdb itdb_main.o  /usr/lib64/libgdk_pixbuf-2.0.so -lm
/usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl
/usr/lib64/libdbus-glib-1.so /usr/lib64/libglib-2.0.so /usr/lib64/libhal.so
/usr/lib64/libdbus-1.so ../src/.libs/libgpod.so
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: libdbus-1.so.1, needed by /usr/lib64/libhal.so, not found (try using
-rpath or -rpath-link)
/usr/lib64/libhal.so: undefined reference to `dbus_message_iter_get_element_type'
/usr/lib64/libhal.so: undefined reference to `dbus_message_iter_recurse'
/usr/lib64/libhal.so: undefined reference to ` ...
*** ... and so on untill the ebuild fails ***

Expected Results:  
a working, linkable copy of libgpod with which i can compile the cvs version of
gtkpod
Comment 1 John Sonnenschein 2005-12-09 22:36:02 UTC
Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Sempron(tm) Processor 2800+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi alsa apache2 apm artworkextra audiofile avi berkdb
bitmap-fonts bzip2 cdr crypt curl doc dvd dvdr eds emboss encode examples exif
expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gnome gpm
gstreamer gtk gtk2 idn ieee1394 imlib ipv6 jack jpeg lcms libsamplerate lzw
lzw-tiff mad mng mozilla mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre
pdflib perl png python quicktime readline sdk sdl sndfile spell ssl tcpd tiff
truetype truetype-fonts type1-fonts udev usb userlocales vcd vorbis xine xml2
xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 2 John Sonnenschein 2005-12-09 23:24:21 UTC
dbus >=0.50-r1 resolves the problem. the ebuild should check for that.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-12-10 01:48:56 UTC
(In reply to comment #2)
> dbus >=0.50-r1 resolves the problem. the ebuild should check for that.

The ebuild does check for that.

<snip>
RDEPEND=">=dev-libs/glib-2.4
                gtk? ( >=x11-libs/gtk+-2 )
                hal? ( >=sys-apps/dbus-0.5.2
                                >=sys-apps/hal-0.5
                                >=sys-apps/pmount-0.9.6 )
                sys-apps/eject"
</snip>

If someone installs it w/ --nodeps, then it's not our problem.