Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42395 - cdrtools-2.01_alpha25 fails to build with link errors
Summary: cdrtools-2.01_alpha25 fails to build with link errors
Status: RESOLVED DUPLICATE of bug 30798
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Lars Weiler (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-21 10:53 UTC by Ben Hirsch
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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 Ben Hirsch 2004-02-21 10:53:19 UTC
When I try to emerge cdrtools-2.01_alpha25, I get link errors.

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

Actual Results:  
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lscg
collect2: ld returned 1 exit status
make[1]: *** [OBJ/x86-linux-cc/scgcheck] Error 1
make[1]: Leaving directory
`/var/tmp/portage/cdrtools-2.01_alpha25/work/cdrtools-2.01/scgcheck'
make: *** [all] Error 2

!!! ERROR: app-cdr/cdrtools-2.01_alpha25 failed.
!!! Function src_compile, Line 47, Exitcode 2
!!! (no error message)


Expected Results:  
Successful build.
Comment 1 Ben Hirsch 2004-02-21 10:53:53 UTC
bash-2.05b# emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(tm) XP 1500+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/co
ntrol"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 gtkht
ml imlib jpeg kde libg++ libwww mad maildir mikmod mmx motif mozilla mpeg ncurses nls nocardbus oggvorbis opengl oss pam pd
flib perl png python qt quicktime readline samba sdl slang spell ssl svga tcpd tiff truetype x86 xml2 xmms xv zlib"
Comment 2 Collins Richey 2004-02-21 16:40:58 UTC
As reported on the German forum, cdrtools will not emerge on 2.6 with /usr/src/linux pointing to anything other than a linux-2.6.1 source tree.  I downloaded linux-2.6.1-gentoo-r2 and reset the /usr/src/linux link to point to the older source tree and was able to emerge this level of cdrtools.  This is only a workaround to complete the emerge; I have no wet tried out cdrecord.  This needs to be fixed.
Comment 3 Ben Hirsch 2004-02-21 17:53:54 UTC
That didn't seem to do it...

        ==> LINKING "OBJ/x86-linux-cc/scgcheck"
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lscg
collect2: ld returned 1 exit status
make[1]: *** [OBJ/x86-linux-cc/scgcheck] Error 1
make[1]: Leaving directory `/var/tmp/portage/cdrtools-2.01_alpha25/work/cdrtools-2.01/scgcheck'
make: *** [all] Error 2

!!! ERROR: app-cdr/cdrtools-2.01_alpha25 failed.
!!! Function src_compile, Line 47, Exitcode 2
!!! (no error message)

bash-2.05b# ls -l /usr/src/linux
lrwxrwxrwx    1 root     root           21 Feb 21 20:15 /usr/src/linux -> linux-2.6.1-gentoo-r2
Comment 4 nicholas 2004-02-22 05:58:17 UTC
I have also experienced this problem

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lscg
collect2: ld returned 1 exit status
make[1]: *** [OBJ/x86-linux-cc/scgcheck] Error 1
make[1]: Leaving directory `/var/tmp/portage/cdrtools-2.01_alpha25/work/cdrtools-2.01/scgcheck'
make: *** [all] Error 2

!!! ERROR: app-cdr/cdrtools-2.01_alpha25 failed.
!!! Function src_compile, Line 47, Exitcode 2
!!! (no error message)

emerge info

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3)
=================================================================
System uname: 2.6.3 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=athlon-mp -march=athlon-mp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=athlon-mp -march=athlon-mp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirrors.twobit.net/gentoo/ http://gentoo.oregonstate.edu/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"



kernelversion=2.6.3


We need this one fixed ;)
Comment 5 Lars Weiler (RETIRED) gentoo-dev 2004-02-22 15:26:34 UTC
This bug is already discussed in bug #30798

*** This bug has been marked as a duplicate of 30798 ***