I am currently unable to emerge the app-arch/unzip-5.52 package. It fails in the end with "[gcc] Error 2", looped about 1000 times. Clearly this is not particularly informative. Further up, there is a more telling symptop of "execvp: /bin/sh: Argument list too long", but the preceeding command doesn't seem particularly long to me. Still further up, there are a number of attempts to create the already existing ./Makefile along with some undefined references. The make of "unzipsfx" does fail. Thus far, I have not figured out the cause of this error. See the log below for details. I will refrain from posting the very long output that results from all of the looping I mentioned. Thanks. -Jacob ln: `./Makefile': File exists make unzips CC=distcc gcc LD=distcc gcc CF="-march=athlon -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. " LF2="" extract_.o(.text+0x6ca): In function `extract_or_test_files': : undefined reference to `set_direc_attribs' extract_.o(.text+0xcc0): In function `store_info': : undefined reference to `mapattr' extract_.o(.text+0x124a): In function `extract_or_test_entrylist': : undefined reference to `mapname' extract_.o(.text+0x12f5): In function `extract_or_test_entrylist': : undefined reference to `defer_dir_attribs' extract_.o(.text+0x1c58): In function `extract_or_test_member': : undefined reference to `close_outfile' process_.o(.text+0x16b): In function `free_G_buffers': : undefined reference to `checkdir' process_.o(.text+0x6c7): In function `do_seekable': : undefined reference to `checkdir' collect2: ld returned 1 exit status make[2]: *** [unzipsfx] Error 1 make[2]: *** Waiting for unfinished jobs.... make[4]: Entering directory `/var/tmp/portage/unzip-5.52/work/unzip-5.52' distcc -o unzipsfx unzipsfx.o crc_gcc.o crctab_.o crypt_.o extract_.o fileio_.o globals_.o inflate_.o match_.o process_.o ttyio_.o unix_.o ln: `./Makefile': File exists ... ln: `./Makefile': File exists make unzips CC=distcc gcc LD=distcc gcc CF="-march=athlon -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. " LF2="" make[963]: Entering directory `/var/tmp/portage/unzip-5.52/work/unzip-5.52' make[963]: Nothing to be done for `unzips'. ln: `./Makefile': File exists make unzips CC=distcc gcc LD=distcc gcc CF="-march=athlon -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. " LF2="" make[964]: Entering directory `/var/tmp/portage/unzip-5.52/work/unzip-5.52' make[964]: Nothing to be done for `unzips'. make[964]: execvp: /bin/sh: Argument list too long make[964]: [unix_make] Error 127 (ignored) make unzips CC=distcc gcc LD=distcc gcc CF="-march=athlon -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. " LF2="" make[964]: execvp: /bin/sh: Argument list too long make[964]: *** [gcc] Error 127 make[964]: Leaving directory `/var/tmp/portage/unzip-5.52/work/unzip-5.52' make[963]: *** [gcc] Error 2 ... make[4]: Leaving directory `/var/tmp/portage/unzip-5.52/work/unzip-5.52' make[3]: *** [gcc] Error 2 make[3]: Leaving directory `/var/tmp/portage/unzip-5.52/work/unzip-5.52' make[2]: *** [gcc] Error 2 make[2]: Leaving directory `/var/tmp/portage/unzip-5.52/work/unzip-5.52' make[1]: *** [gcc] Error 2 make[1]: Leaving directory `/var/tmp/portage/unzip-5.52/work/unzip-5.52' make: *** [linux] Error 2 !!! ERROR: app-arch/unzip-5.52 failed. !!! Function src_compile, Line 37, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12-rc4-skas3-v9-pre4 i686) ================================================================= System uname: 2.6.12-rc4-skas3-v9-pre4 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.16 distcc 2.0.1 i686-pc-linux-gnu (protocol 1) (default port 3632) [enabled] dev-lang/python: 2.2.3-r1, 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.4.3-r4, 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" 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 apache2 apm avi berkdb bitmap-fonts crypt cscope cups eds emboss encode esd fam foomaticdb fortran gd gdbm gif gstreamer gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline samba sdl slang snmp spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
if you disable distcc and/or set MAKEOPTS to -j1 does it work ?
Ah, it does. In fact, only removing distcc was necessary. What's more, an upgrade of distcc corrected things such that it does work with my original settings. While a pain, I'm not sure what could be done to fix this in a more general sense. Thanks. -Jacob