I have just emerged emptytree world and noticed this package will not emerge successfully if j is set to more than 1 but emerges successfully every time with -j1. I believe it should be set in the ebuild. Reproducible: Always
please post the full build log as an attachment as well as your `emerge --info`
Linux1 billydv # emerge --info Portage 2.2.0_alpha29 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.38-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.0.2 Timestamp of tree: Mon, 28 Mar 2011 10:30:01 +0000 app-shells/bash: 4.2_p8 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.0 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.38 (sys-kernel/linux-headers) Repositories: gentoo miscellaneous Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -mtune=generic -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going" FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j17" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/miscellaneous" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow S3TC X a52 aac aalib accessibility acl acpi aften akonadi alsa amarok amd64 amrnb archive ares arts artworkextra audio audiofile automount avahi bash-completion berkdb bidi binary-drivers bittorrent bluetooth bookmarks branding bzip2 cairo calendar cdda cddb cdio cdr chm clamav clamd cleartype cli clucene consolekit corefonts cpudetection cracklib crypt css cups curl cxx dbus deprecated designer-plugin device-mapper devil dga directfb discouraged distribution divx dns doc dri dts dv dvb dvd dvdnav dvdr dvdread ebook eds elisp emacs emboss emerald encode esd eselect etc-proposals evo examples exif expat extra-tools extraicons extras fam fat fax fbcon fbcondecor fbsplash ffmpeg firefox flac flash fltk foomaticdb fortran ftp fts3 fuse gcj gd gdbm gdu gedit ggi gif gimp glep glib glitz gmedia gnome gnutls google gphoto2 gpm gstreamer gtk gtkhtml handbook hddtemp hfs hpcups hpijs html htmlhandbook httpd hyperestraier iconv idn imagemagick imlib inkjar inotify ipv6 isdnlog jack jadetex java java6 jfs joystick jpeg jpeg2k kde kdehiddenvisibility kdrive kerberos konqueror kpathsea lame lcms ldap libcaca libnotify libsamplerate lirc live lm_sensors logrotate mad mail matroska md5sum mdnsresponder-compat mikmod mime mjpeg mmx mmxext mng modules mono mozilla mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql nas nautilus ncurses networking new-login nforce2 nls npp nptl nptlonly nsplugin ntfs nvidia objc odbc offensive ogg ole openal openexr opengl openmp osdmenu pam pango parport pcre pdf perl pipechan plasma pmu png policykit postgres ppds pppd pulseaudio python qt3support qt4 quicktime raptor rar rdesktop readline realmedia reflection regex reiser4 reiserfs reports samba sametime scanner sdl secure-delete semantic-desktop servletapi session sip skins slang slp smbclient smp sndfile snmp sound sounds speex spell spl sql sqlite sse sse2 ssl startup-notification static-ppds stream subversion svg swat sysfs syslog tcpd templates theora thesaurus threads thumbnail thunderbird tidy tiff timidity tk tools truetype type1 udev unicode unsupported usb userlocales utempter utils v4l2 vcd vdpau vdr video vlm voice vorbis vram wav wavpack weather webkit wmf wmp wordperfect wxwindows x264 xattr xcb xcomposite xforms xfs xine xml xorg xpm xprint xscreensaver xulrunner xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia nv vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Linux1 billydv #
Created attachment 267527 [details] build.log Build log
Looks like it is trying to move the same file three times.
I can sort of confirm this error on ~amd64, gcc-4.5.2. I do not see the stat error, but instead I had a compile error which was resolved by using -j1. Here is an excerpt of the failed build: make -j5 pdftex cp -f /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/tangleboot.pin tangleboot.p cd web2c && make stamp-fixwrites cd web2c && make stamp-splitup cd web2c && make stamp-web2c cd lib && make lib.a cp -f /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/ctangleboot.cin ctangleboot.c make[1]: Entering directory `/var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/build/texk/web2c/web2c' /bin/mkdir -p w2c cp -f /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/cwebboot.hin cwebboot.h cp -f /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/cwebboot.cin cwebboot.c make[1]: Entering directory `/var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/build/texk/web2c/lib' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/lib -I../w2c -I.. -I/var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -march=barcelona -O2 -pipe -MT basechsuffix.o -MD -MP -MF .deps/basechsuffix.Tpo -c -o basechsuffix.o /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/lib/basechsuffix.c make[1]: Entering directory `/var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/build/texk/web2c/web2c' /bin/mkdir -p w2c sed -e '/c-auto\.h>/d' /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c/../w2c/config.h >w2c/config.h sed -e '/c-auto\.h>/d' /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c/../w2c/config.h >w2c/config.h x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c -I./kpathsea -I/var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c/../.. -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -march=barcelona -O2 -pipe -MT web2c-parser.o -MD -MP -MF .deps/web2c-parser.Tpo -c -o web2c-parser.o /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c/web2c-parser.c make[1]: Entering directory `/var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/build/texk/web2c/web2c' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c -I./kpathsea -I/var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c/../.. -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -march=barcelona -O2 -pipe -MT fixwrites.o -MD -MP -MF .deps/fixwrites.Tpo -c -o fixwrites.o /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c/fixwrites.c cd web2c && make stamp-makecpool In file included from web2c-parser.y:25:0: /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c/web2c.h:28:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c/web2c.h:43:3: error: expected specifier-qualifier-list before 'boolean' /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c/web2c.h:58:1: warning: parameter names (without types) in function declaration /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c/web2c.h:63:1: warning: parameter names (without types) in function declaration x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c -I./kpathsea -I/var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c/../.. -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -march=barcelona -O2 -pipe -MT kps.o -MD -MP -MF .deps/kps.Tpo -c -o kps.o /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c/kps.c /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c/web2c.h:64:1: warning: parameter names (without types) in function declaration /var/tmp/portage/dev-tex/pdftex-1.40.11/work/pdftex-1.40.11/src/texk/web2c/web2c/web2c.h:65:1: warning: parameter names (without types) in function declaration web2c-parser.y:40:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token web2c-parser.y:41:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'doing_statements' web2c-parser.y:42:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'var_formals' web2c-parser.y:47:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token web2c-parser.y:49:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'program_name' web2c-parser.y:50:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'debug' web2c-parser.y:57:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'doreturn' web2c-parser.y: In function 'yyparse': web2c-parser.y:67:6: warning: implicit declaration of function 'uppercasify' web2c-parser.y:67:43: error: 'program_name' undeclared (first use in this function) web2c-parser.y:67:43: note: each undeclared identifier is reported only once for each function it appears in web2c-parser.y:163:19: warning: implicit declaration of function 'strcmp' web2c-parser.y:176:7: error: 'doing_statements' undeclared (first use in this function) web2c-parser.y:176:26: error: 'true' undeclared (first use in this function) web2c-parser.y:186:29: error: 'coerce' undeclared (first use in this function) web2c-parser.y:202:33: error: 'false' undeclared (first use in this function) web2c-parser.y:255:16: warning: implicit declaration of function 'strcat' web2c-parser.y:255:16: warning: incompatible implicit declaration of built-in function 'strcat' web2c-parser.y:339:13: warning: implicit declaration of function 'strcpy' web2c-parser.y:339:13: warning: incompatible implicit declaration of built-in function 'strcpy' web2c-parser.y:384:56: error: 'UCHAR_MAX' undeclared (first use in this function) web2c-parser.y:386:26: error: 'SCHAR_MIN' undeclared (first use in this function) web2c-parser.y:386:69: error: 'SCHAR_MAX' undeclared (first use in this function) web2c-parser.y:388:26: error: 'SHRT_MIN' undeclared (first use in this function) web2c-parser.y:388:68: error: 'SHRT_MAX' undeclared (first use in this function) web2c-parser.y:390:61: error: 'USHRT_MAX' undeclared (first use in this function) web2c-parser.y:449:32: error: 'struct sym_entry' has no member named 'var_not_needed' web2c-parser.y:449:64: error: 'struct sym_entry' has no member named 'var_not_needed' web2c-parser.y:462:30: error: 'struct sym_entry' has no member named 'var_not_needed' web2c-parser.y:467:30: error: 'struct sym_entry' has no member named 'var_not_needed' web2c-parser.y:471:30: error: 'struct sym_entry' has no member named 'var_not_needed' web2c-parser.y:479:35: error: 'struct sym_entry' has no member named 'var_not_needed' web2c-parser.y:479:67: error: 'struct sym_entry' has no member named 'var_not_needed' web2c-parser.y:595:13: error: 'var_formals' undeclared (first use in this function) web2c-parser.y:615:20: error: 'struct sym_entry' has no member named 'var_formal' web2c-parser.y:629:20: error: 'struct sym_entry' has no member named 'var_formal' web2c-parser.y:643:20: error: 'struct sym_entry' has no member named 'var_formal' web2c-parser.y:693:12: error: 'debug' undeclared (first use in this function) web2c-parser.y:696:8: warning: incompatible implicit declaration of built-in function 'strcpy' web2c-parser.y:700:8: error: 'orig_out' undeclared (first use in this function) web2c-parser.y:700:19: error: 'out' undeclared (first use in this function) web2c-parser.y:704:7: warning: incompatible implicit declaration of built-in function 'strcpy' web2c-parser.y:711:8: warning: incompatible implicit declaration of built-in function 'strcpy' web2c-parser.y:716:7: warning: incompatible implicit declaration of built-in function 'strcpy' web2c-parser.y:725:15: warning: incompatible implicit declaration of built-in function 'strcpy' web2c-parser.y:750:32: error: 'struct sym_entry' has no member named 'var_not_needed' web2c-parser.y:753:12: warning: incompatible implicit declaration of built-in function 'strcpy' web2c-parser.y:754:48: error: 'struct sym_entry' has no member named 'var_formal' web2c-parser.y:755:14: warning: incompatible implicit declaration of built-in function 'strcat'
removed; use the pdftex provided by texlive-core