While bootstrapping, I stumped into this: Calculating system dependencies ...done! >>> emerge (1 of 1) sys-apps/findutils-4.1.20-r1 to / >>> md5 src_uri ;-) findutils-4.1.20.tar.gz >>> Unpacking source... >>> Unpacking findutils-4.1.20.tar.gz to /var/tmp/portage/findutils-4.1.20-r1/work * Applying findutils-env-size.patch... [ ok ] >>> Source unpacked. afs configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-linux-gnu checking host system type... i486-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i486-pc-linux-gnu-strip... no checking for strip... strip checking for i486-pc-linux-gnu-gcc... gcc checking for C compiler default output... configure: error: C compiler cannot create executables See `config.log' for more details. !!! ERROR: sys-apps/findutils-4.1.20-r1 failed. !!! Function econf, Line 365, Exitcode 77 !!! econf failed sys-apps/findutils-4.1.7-r5 built fine. Any pointers? Johnny Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: Expected Results: Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4-gentoo-r1) ================================================================= System uname: 2.6.4-gentoo-r1 i686 mobile AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.3.13 distcc 2.12.1 i486-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i486 -funroll-loops -pipe" CHOST="i486-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/bind /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i486 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc 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="aalib acl acpi afs alsa apache2 apm arts avi berkdb cdr crypt cscope cups curl dga directfb doc dvd encode evo fbcon foomaticdb freetds gb gd gdbm gif gphoto2 gpm gps guile imap informix innodb ipv6 jack jikes joystick jpeg kerberos ladcca lcm ldap leim libg++ libgda libwww lirc mad maildir mbox mcal memlimit mmx motif mpeg mpi mule mysql nas ncurses nhc98 nls oci8 odbc oggvorbis oss pam pcmcia pda pdflib perl plotutils png pnp postgres ppds prelude python qt quicktime readline ruby18 samba sasl scanner sdl slang slp snmp socks5 spell ssl svga tcltk tcpd tetex tiff truetype usb wmf x86 xml2 zeo zlib"
Created attachment 29037 [details] config.log
Created attachment 29038 [details] the config.log without distcc
check your make.conf CFLAGS="-O2 -mcpu=i486 -funroll-loops -pipe" CHOST="i486-pc-linux-gnu"
What is the problem with these values?
can you re-emerge pam maybe?
I think that the default settings in the make.conf should be fine. I don't know why the CHOST is set to 686, and in cflags is mcpu=i486 set. CFLAGS="-O2 -mcpu=i486 -funroll-loops -pipe" CHOST="i486-pc-linux-gnu" Currently reemerging pam. No change. configure:2109: checking for C compiler default output configure:2112: gcc -O2 -mcpu=i486 -funroll-loops -pipe -I/usr/afsws/include -O2 -mcpu=i486 -funroll-loops -pipe -I/usr/afsws/include conftest.c /usr/afsws/lib/pam_afs.so.1 >&5 /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_item' /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_set_data' /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_putenv' /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_set_item' /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_data' /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_user' collect2: ld returned 1 exit status configure:2115: $? = 1 configure: failed program was: | #line 2088 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "findutils" | #define VERSION "4.1.20" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2154: error: C compiler cannot create executables See `config.log' for more details. I am currentcy reemerging openafs emerge system configure:2109: checking for C compiler default output configure:2112: gcc -O2 -mcpu=i486 -funroll-loops -pipe -I/usr/afsws/include -O2 -mcpu=i486 -funroll-loops -pipe -I/usr/afsws/incl ude conftest.c /usr/afsws/lib/pam_afs.so.1 >&5 /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_item' /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_set_data' /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_putenv' /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_set_item' /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_data' /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_user' collect2: ld returned 1 exit status configure:2115: $? = 1 configure: failed program was: | #line 2088 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "findutils" | #define VERSION "4.1.20" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2154: error: C compiler cannot create executables See `config.log' for more details. emerge pam && emerge system configure:2109: checking for C compiler default output configure:2112: gcc -O2 -mcpu=i486 -funroll-loops -pipe -I/usr/afsws/include -O2 -mcpu=i486 -funroll-loops -pipe -I/usr/afsws/incl ude conftest.c /usr/afsws/lib/pam_afs.so.1 >&5 /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_item' /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_set_data' /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_putenv' /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_set_item' /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_data' /usr/afsws/lib/pam_afs.so.1: undefined reference to `pam_get_user' collect2: ld returned 1 exit status configure:2115: $? = 1 configure: failed program was: | #line 2088 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "findutils" | #define VERSION "4.1.20" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2154: error: C compiler cannot create executables See `config.log' for more details. No change. Any pointers? Johnny
Ok, maybe it's my fault. I've been using stage1-x86-20030910 . I will restart with stage1-x86-20040218 . Johnny
Is this still reproducable at all?
Yes, I masked sys-apps/findutils-4.1.20-r1 4.1.7-r5 builds fine. Johnny
This bug appears to occur with the afs USE flag. The afs use flag was seems to have been added due to bug #260 to allow 4.1.7 to compile on AFS systems. It does not appear to be needed with 4.1.20 and should be removed.
had the same problem, emerge with USE="-afs" did solve it here, too
*** This bug has been marked as a duplicate of 19994 ***