Emerging or ebuilding cdrtools alpha25, alpha23, alpha16 and probably all other ebuilds currently in the portage tree fail on a PowerBook G4. ==> LINKING "OBJ/ppc-linux-cc/scgcheck" /usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2.3/../../../../powerpc-unknown-linux-gnu/bin/ld: cannot find -lscg collect2: ld returned 1 exit status make[1]: *** [OBJ/ppc-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) Reproducible: Always Steps to Reproduce: # emerge cdrtools Actual Results: Expected Results: Gentoo Base System version 1.4.3.13 Portage 2.0.50-r1 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.3-rc2-ben1) ================================================================= System uname: 2.6.3-rc2-ben1 ppc 0 Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" CHOST="powerpc-unknown-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="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X alsa arts berkdb cdr cups dvd dvdr esd flac foomaticdb gdbm gif gnome gnome-libs gpm gtk gtk2 imlib jpeg kde libwww mitshm motif mozilla nls oggvorbis opengl oss pam perl png ppc python qt readline sdl slang ssl tcpd truetype xv"
It's the same error as already described in bug 30798. This only happens to some special (mis-?)configurated systems/kernels. Currently nobody can find the source of this error and so I try to gather all interesting information. One thing could be interesting: Which kernel-ebuild are you using? *** This bug has been marked as a duplicate of 30798 ***
I rsynced and built the kernel out of benh's 2.5 tree (curently 2.6rc3, I believe) I am using this kernel because I need it to support the ATI Mobility Radeon in my 15" Aluminium PowerBook. Let me know if there is any other information I can provide about my stsem and setup. Basically all I have done is built Gentoo from Stage 1, emerged xfree 4.3.99.xx, emerged kde, koffice and tried to emerge k3b (which caused this error). I have not done anything that I believe is out of the ordinary other than running new, rather untested hardware and a kernel from benh's 2.5 tree.