Created attachment 312773 [details] build.log from failed build This one's a headscratcher for me, but dev-lang/ruby did build once I commented out my MAKEOPTS line in /etc/make.conf temporarily. However, with -j10 or -j -l 10 (since I have a dual quadcore machine) it falls over after generating "cannot create regular file" or "cannot create directory" messages. In this case, it fell over after trying to create the file ../../.ext/common/fiddle. However, the several times I've tried it before a successful build, it was complaining about various files and/or directories. I suspect a race condition somewhere.
Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.0.29-tuxonice x86_64) ================================================================= System uname: Linux-3.0.29-tuxonice-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.1 Timestamp of tree: Tue, 22 May 2012 17:30:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r1, 3.2.3 dev-util/cmake: 2.8.7-r5 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.10 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.3.6-r1, 4.5.3-r2, 4.6.2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r3 Repositories: gentoo x-crossdev gamerlay-stable x-portage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA skype-eula AdobeFlash-10.1 googleearth Introversion icedtea6-bin MARBLEBLAST DOOM3 ut2003-demo QUAKE4 dlj-1.1 google-talkplugin AdobeFlash-10.3 google-chrome" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /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="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch 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" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_US.utf-8 en_US en" MAKEOPTS="-j -l 10" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/data/tmp" PORTDIR="/usr/portage/tree" PORTDIR_OVERLAY="/usr/local/overlays/crossdev /var/lib/layman/gamerlay /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac aalib acl acpi ada aio alsa amd64 amr amrnb ao apache2 apcupsd apng audio avi bash-completion bcmath berkdb blender-game bluetooth bzip2 bzlib cairo cal3d calendar caps cdda cdr cegui cg cjk cleartype cli consolekit cpudetection cracklib crypt cups curl curlwrappers cvs cxx darkplaces dbus declarative device-mapper dga dia directfb dlz doc docbook doomsday dri dssi dtmf dts dvb dvd dvi dxr3 eap-sim eds emerald encode examples exif extensions extra extras fasteap fbcon fbcondecor fbsplash ffmpeg firefox flac fluidsynth fontconfig fontforge fortran fox freedoom ftp fuse gcj gcrypt gd gdbm gdu ggi gif glut gmp gnome gnome-keyring gphoto2 gpm gsm gstreamer gtk gtk3 gtkhtml gudev guile hal:-crypt haskell hddtemp html http hvm iconv icu idn ieee1394 imagemagick imap imlib inkjar ipv4 ipv6 jack jadetex java javascript jbig jpeg jpeg2k kde kdrive kerberos kpathsea kvm lame laptop latex lcms ldap libcaca libnotify libssh2 libwww lm_sensors lua lxde mad madwifi mail mikmod minizip mmap mmx mng modplug modules mono moonlight motif mp3 mpeg mudflap multilib musepack mythtv nautilus ncurses networking networkmanager nexuiz nls nptl nsplugin numarray obbvortis objc objc++ objc-gc odbc ode odk ogg openarena opengl openmp oss pam pango pascal pch pcmcia pcre pdf pdflib perl php plotutils png policykit postgres postscript ppds pppd pulseaudio python qemu qt qt3support qt4 quake quake2 quake2world quicktime readline rss rtf ruby samba script sdk sdl seamonkey secure-delete semantic-desktop serial session shmvideo sip smbsharemodes sndfile snmp soap speex spell sql sqlite sqlite3 sse sse2 ssh ssl startup-notification stun subversion svg system-sqlite tao tcl tcpd telnet theora threads thumbnail tidy tiff timidity tk tremulous truetype tts udev unicode unlock-notify usb v4l v4l2 vboxwebsrv vcd vde vdpau verse vhost-net videos vim-syntax vnc vorbis vxml warsow wav wavpack webdav webgl webkit wifi winbind wma wmf wxwidgets wxwindows xcb xcomposite xen xend xinerama xml xmlreader xmlrpc xmlwriter xms xnest xorg xrandr xsl xulrunner xv xvfb xvid xvmc 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 auth_digest authn_alias authn_anon authn_dbd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US.utf-8 en_US en" NETBEANS_MODULES="cnd dlight enterprise ergonomics groovy identity mobility php profiler ruby apisupport harness ide java nb websvccommon" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
For me, it doesn't compile with MAKEOPTS="-j8". # emerge --info Portage 2.1.10.65 (hardened/linux/amd64, gcc-4.5.3, glibc-2.14.1-r3, 3.4.2-hardened-r1 x86_64) ================================================================= System uname: Linux-3.4.2-hardened-r1-x86_64-Intel-R-_Xeon-R-_CPU_E5620_@_2.40GHz-with-gentoo-2.1 Timestamp of tree: Tue, 17 Jul 2012 11:45:01 +0000 app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r2, 3.2.3 dev-util/cmake: 2.8.7-r5 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.10.5 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.6 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r3 Repositories: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-mtune=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr" FFLAGS="-O2 -pipe" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri gdbm gpm hardened iconv justify mmx modules mudflap multilib ncurses nls nptl openmp pam pax_kernel pcre pppd readline session sse sse2 ssl tcpd unicode urandom xattr xorg 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 318470 [details] build.log
It works without parallel build.
I can't reproduce this. Could you test this with ruby-1.9.3_p194-r1 to see if the problem still occurs for you?
(In reply to comment #5) > I can't reproduce this. Could you test this with ruby-1.9.3_p194-r1 to see > if the problem still occurs for you? ruby-1.9.3_p194-r1 works fine, even with MAKEOPTS="-j8".
Sorry I didn't notice this bug before. Yes it's a true bug, it only happens if there is enough CPU free to build in parallel, I hit it a few months ago and fixed (in _p194-r1) properly, whereas upstream did apply drobbins's (funtoo's) patch which was only making the issue unlikely but not fixed. Backporting is a bit difficult so I'd suggest just mark the new stable soon...
(In reply to comment #7) > Backporting is a bit difficult so I'd suggest just mark the new stable > soon... bug 427774