gcc -O2 -mcpu=k6-2 -funroll-loops -pipe -fPIC -o su su.o getdef.o ../lib/libfetish.a ../lib/libfetish.a -lcrypt -lpam -ldl /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.1/../../../../i586-pc-linux-gnu/bin/ld: cannot find -lpam collect2: ld returned 1 exit status distcc[31265] ERROR: compile on localhost failed make[3]: *** [su] Error 1 make[3]: Leaving directory `/var/tmp/portage/coreutils-5.0.91/work/coreutils-5.0.91/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/coreutils-5.0.91/work/coreutils-5.0.91/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/coreutils-5.0.91/work/coreutils-5.0.91' make: *** [all] Error 2 !!! ERROR: sys-apps/coreutils-5.0.91 failed. !!! Function src_compile, Line 114, Exitcode 2 !!! (no error message) ======= Portage 2.0.49-r10 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.21-gss) ================================================================= System uname: 2.4.21-gss i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=k6-2 -funroll-loops -pipe" CHOST="i586-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=k6-2 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox autoaddcvs ccache distcc" GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 zlib -3dfx -3dnow aalib acl -acpi -afs -alsa -apache2 -apm -arts -atlas -avi berkdb -bonobo -canna -cdr -cjk crypt -cscope -cups -curl -directfb -doc -dvd -dvb -emacs -encode -esd -ethereal -ev6 -evo -fbcon -firebird -flash -foomaticdb freetds -freewnn -gd -gd -gdbm -ggi -gif -gnome -gphoto2 -gpm -gps -gstreamer -gtk -gtk2 -gtkhtml -guile -icc -icc-pro -imap -imlib innodb informix ipv6 -jack -java -jikes -joystick -jpeg junit -kde -kerberos -krb4 -ladcca -lcms ldap -leim libg++ -libgda -libwww -lirc -mad maidir -matrix -mbox -mcal -mikmod memlimit mmx -motif -mozilla -mpeg mpi -mule -mysql -nas ncurses nhc98 -nls -nocardbus -nocd oci8 odbc -oggvorbis -opengl -oss pam -pcmcia -pda -ppds -pdflib perl -plotutils -png postgres -bindist prelude python -qt -quicktime readline -ruby -samba sasl -scanner -sdl slang -slp -snmp -socks5 -spell -sse ssl -svga -tcltk -tcpd -tetex -tiff -truetype -trusted -usb -videos -voodoo3 -wavelan -wmf -wxindows -X -Xaw3d -xface -xinerama -xosd xml xml2 -xmms -xv" This is progressing from stage 1 to stage 2 from the basic x86 1.4 cd.
Its the 005_all_coreutils-misc-acl-stuff.patch patch causing this. Lisa, why do you always use the weird stuff that breaks things 8) For the ACL guys: Can we remove the pam bits to su, as we use su from shadow ?
If pam is going to be in there (whether or not its made optional by a use flag), please add it as a dependancy [if its to be used]. coreutils was compiled early enough in an emerge world on a new system for me that the pam library had not been built yet.
actually, su is not even built any more in coreutils with the recent updates that I did, so this should now be a non-issue.