Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90945 - xmcd-3.3.2 emerge fails due to linking problems
Summary: xmcd-3.3.2 emerge fails due to linking problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-04-29 23:06 UTC by Roland Schäuble
Modified: 2005-05-28 10:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Schäuble 2005-04-29 23:06:59 UTC
These are the first errors when emerging xmcd:
:
:
-c -o widget.o widget.c
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -D_GNU_SOURCE    -I..  -I/usr/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                                 -D_POSIX_SOURCE -D_XOPEN_SOURCE                               -D_BSD_SOURCE -D_SVID_SOURCE                                   -DFUNCPROTO=15 -DNARROWPROTO -D_REENTRANT  -DHAS_ICONV_H -c -o wwwwarp.o wwwwarp.c
rm -f xmcd
i686-pc-linux-gnu-gcc -o xmcd -O2 -march=athlon-xp -fomit-frame-pointer -D_GNU_SOURCE      -L/usr/lib   callback.o    cdfunc.o        command.o       dbprog.o        geom.o  help.o  hotkey.o      main.o  userreg.o       widget.o        wwwwarp.o       ../labelh_d/libLabelH.a      ../cdinfo_d/libcdinfo.a  ../cddb_d/libcddbkey.a  ../libdi_d/libdi.a      ../cdda_d/libcdda.a  ../common_d/libutil.a -lXm -lXt -lSM -lICE -lXp -lXext -lX11   -lpthread -lc -L../cddb_d -lcddb -L/usr/freeware/lib32 -L/usr/local/lib -lFLAC -lvorbisenc -lvorbis -logg -lm -lasound -ldl
../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0x4f2): In function `cdinfo_set_errstr':
: undefined reference to `CddbGetErrorString'
../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0x5e5c): In function `cdinfo_get_fullname':
: undefined reference to `CddbFullName_GetName'
../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0x5e7c): In function `cdinfo_get_fullname':
: undefined reference to `CddbFullName_GetLastName'
../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0x5ea0): In function `cdinfo_get_fullname':
: undefined reference to `CddbFullName_GetFirstName'
../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0x5ec0): In function `cdinfo_get_fullname':
: undefined reference to `CddbFullName_GetThe'
../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0x5ee8): In function `cdinfo_get_fullname':
: undefined reference to `CddbReleaseObject'
../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0x5efb): In function `cdinfo_get_fullname':
: undefined reference to `CddbReleaseObject'
../cdinfo_d/libcdinfo.a(cdinfo_i.o)(.text+0x6063): In function `cdinfo_put_fullname':
: undefined reference to `CddbCreateObject'
:
:
:
etc.
:
:
../cddb_d/libcddbkey.a(cddbkey1.o)(.text+0x68): In function `cddb_setkey':
: undefined reference to `CddbControl_SetClientInfo'
collect2: ld returned 1 exit status
make[1]: *** [xmcd] Error 1
make[1]: Leaving directory `/var/tmp/portage/xmcd-3.3.2/work/xmcd-3.3.2/xmcd_d'
:
:
etc.
:
:

: undefined reference to `CddbReleaseObject'
../cddb_d/libcddbkey.a(cddbkey1.o)(.text+0x68): In function `cddb_setkey':
: undefined reference to `CddbControl_SetClientInfo'
collect2: ld returned 1 exit status
make[1]: *** [cda] Error 1
make[1]: Leaving directory `/var/tmp/portage/xmcd-3.3.2/work/xmcd-3.3.2/cda_d'
making all in ./util_d...
make[1]: Entering directory `/var/tmp/portage/xmcd-3.3.2/work/xmcd-3.3.2/util_d'
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -D_GNU_SOURCE      -I/usr/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE -D_XOPEN_SOURCE                               -D_BSD_SOURCE -D_SVID_SOURCE                                   -DFUNCPROTO=15 -DNARROWPROTO   -DDO_POPUP -DHAS_ICONV_H    -c -o gobrowser.o gobrowser.c
rm -f gobrowser
i686-pc-linux-gnu-gcc -o gobrowser -O2 -march=athlon-xp -fomit-frame-pointer -D_GNU_SOURCE   -L/usr/lib   gobrowser.o -lXm -lXt -lSM -lICE -lXp -lXext -lX11
make[1]: Leaving directory `/var/tmp/portage/xmcd-3.3.2/work/xmcd-3.3.2/util_d'
>>> Test phase [not enabled]: media-sound/xmcd-3.3.2

>>> Install xmcd-3.3.2 into /var/tmp/portage/xmcd-3.3.2/image/ category media-sound
 * Running install script...

Installing "xmcd" Motif CD Player/Ripper version 3.3.2 by Ti Kan
----------------------------------------------------------------

This is free software and comes with no warranty.
See the GNU General Public License in the COPYING file
for details.

This software contains support for the Gracenote
CDDB(R) Disc Recognition Service.  See the CDDB file
for information.


The following executable binaries are missing:

        xmcd_d/xmcd
        cda_d/cda

If you have the xmcd source code distribution, make sure
you compile the source code to generate the binaries first.
See the INSTALL file for details.

If you have the xmcd binary distribution, it is probably
corrupt.
Error: Missing binaries: installation aborted by user.

ERROR(s) have occurred in the installation.
See /tmp/xmcd.err for details.

!!! ERROR: media-sound/xmcd-3.3.2 failed.
!!! Function src_install, Line 61, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1. emerge xmcd
2.
3.

Actual Results:  
installation failed

Expected Results:  
xmcd should have been compiled, linked and installed

root@goedel root # emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(TM) XP 2100+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 27 2005, 23:26:00)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.4_p6, 1.9.4, 1.6.3, 1.8.5-r3, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo"
LANG="english"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cddb cdr crypt cups curl dvd
dvdr emacs emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm
gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg junit kde ldap libg++ libwww
mad mikmod motif mozilla mp3 mpeg mysql ncurses nls nvidia ogg oggvorbis opengl
oss pam pdflib perl png python qt quicktime readline scanner sdl slang speex
spell sqlite ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts
unicode usb v4l vorbis xml xml2 xmms xv zlib zvbi"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS
Comment 1 Roland Schäuble 2005-05-01 00:53:31 UTC
The problem occurs, if libcddb is already installed on the system.
XMCD has its own libcddb (cddb2supplib) which conflicts with
media-libs/libcddb.
Either the conflict should be resolved or stated in the emerge file.
Comment 2 Jan Brinkmann (RETIRED) gentoo-dev 2005-05-28 10:57:53 UTC
the ebuild blocks libcddb for now, thanks for reporting.