the bug is not very serious but i wanted to report it anyway: the emerge of xorg works fine when using "-j<number>" but it fails if you use only "-j" (aka use as much make processes in parallel as possible) with the following error: checking ../../config/pswrap/pswrap over in ../../config/pswrap first... ../../config/pswrap/pswrap -a -h psclrops.h psclrops.psw > /dev/null ../../config/pswrap/pswrap -a -h psctrlops.h psctrlops.psw > /dev/null ../../config/pswrap/pswrap -a -h psctxtops.h psctxtops.psw > /dev/null ../../config/pswrap/pswrap -a -h psdataops.h psdataops.psw > /dev/null ../../config/pswrap/pswrap -a -h psfontops.h psfontops.psw > /dev/null ../../config/pswrap/pswrap -a -h psgsttops.h psgsttops.psw > /dev/null ../../config/pswrap/pswrap -a -h psioops.h psioops.psw > /dev/null ../../config/pswrap/pswrap -a -h psmathops.h psmathops.psw > /dev/null /bin/sh: ../../config/pswrap/pswrap: No such file or directory /bin/sh: ../../config/pswrap/pswrap: No such file or directory /bin/sh: ../../config/pswrap/pswrap: No such file or directory /bin/sh: ../../config/pswrap/pswrap: No such file or directory /bin/sh: ../../config/pswrap/pswrap: No such file or directory make[3]: *** [psctrlops.h] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [psctxtops.h] Error 1 make[3]: *** [psdataops.h] Error 1 /bin/sh: ../../config/pswrap/pswrap: No such file or directory make[2]: *** [includes] Error 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/lib' /bin/sh: ../../config/pswrap/pswrap: No such file or directory make[1]: *** [includes] Error 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xorg-x11-6.8.2-r2 failed. !!! Function build, Line 974, Exitcode 2 !!! make World failed !!! If you need support, post the topmost build error, NOT this status message. /bin/sh: ../../config/pswrap/pswrap: No such file or directory make[4]: Entering directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/config/pswrap' x86_64-pc-linux-gnu-gcc -march=k8 -O3 -pipe -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w -I../.. -I../../exports/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=1993 09L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXENVIRONMENT -c -o main.o main.c [some more sub-processes exit here with similar msgs] btw: i tested: -j3 (p4-ht) and -j9 (the box with the error aka quad-amd64 dual-core 870 ;) which work fine... Reproducible: Always Steps to Reproduce: echo "MAKEOPTS=\"-j\" >> /etc/make.conf && emerge xorg-x11 Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.11.11-smp x86_64) ================================================================= System uname: 2.6.11.11-smp x86_64 Dual Core AMD Opteron(tm) Processor 870 Gentoo Base System version 1.4.16 dev-lang/python: 2.3.4-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.10-r4, 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~x86" AUTOCLEAN="no" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/mirrors/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo" LANG="en_US" MAKEOPTS="-j" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X Xaw3d aalib acl acpi alsa arts artswrappersuid audiofile avi berkdb bitmap-fonts bluetooth bmp browserplugin bzip2 caps cdparanoia cdr cron crypt cscope cups curl dga directfb dts dvb dvd dvdr dvdread edl encode esd f77 fbcon flac flash font-server foomaticdb fortran freetds ftp gdbm ggi gif gnokii gnome gphoto2 gpm gstreamer gtk gtk2 hal icq idea ieee1394 imap imlib ipv6 irda ithreads jabber jack java jpeg kde kdeenablefinal kerberos ldap libcaca lirc live lm_sensors logitechmouse lzw lzw-tiff lzwtiff mad matroska matrox mdi mikmod mime mozilla moznocompose moznoirc moznomail mp3 mpeg mysql mythtv nas ncurses nfsv4 nis nls nptl nptlonly nvidia oggvorbis oookde opengl operanom2 oss pam pcmcia pcre pda pdflib perl php pic png postgres povray psqlonly python qt quicktime rdesktop readline recode rpm rtc ruby samba sasl scanner screenshot sdk sdl sharedmem slang smartcard smime sms sndfile snmp socks5 speex spell ssl tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts truetypefonts type1-fonts unicode usb userlocales v4l v4l2 videos vorbis wifi xanim xine xinerama xml xml2 xmms xosd xpm xprint xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Can you make it fail with > -j8 or so?
tested with -j20/-j50 (only till the error msg normaly occurs) and with -j100 (complete emerge) - they work fine
I'm not too sure how we'd filter this since there isn't an exact value that we can change -j to. "As many threads as possible" is different on different systems I'm sure. I'm tempted to mark this as RESOLVED/CANTFIX and let it stand as a warning unless a good solution exists. I guess we could go -j 1000 but that may have adverse effects I don't know about. The reason why -j fails probably is the way it's handled. -j is passed down to recursive calls to make while -j N is not.
I added -j1 after the emake calls to make World and nls. Try out either 6.8.2-r2 or 6.8.99.15 after at least an hour.
it worked with xorg-x11 6.8.2-r2