emerge error in dev-ruby/ruby-oci8-1.0.3 with MAKEOPTS="-jNNN", NNN>=2 run two proc: 1) "ruby setup.rb config" 2) "ruby setup.rb" (not wait first proc!!!) error message: "ruby setup.rb config first" with disabled MAKEOPTS="-jNNN" is all ok Reproducible: Always
Please, attach full build log and emerge --info.
Created attachment 218064 [details] without makeopts
Created attachment 218066 [details] with makeopts="-j2"
bug also tested on: calculate ~ # emerge --info Portage 2.1.7.16 (!../usr/local/portage/layman/calculate/profiles/calculate/desktop/CLD/amd64, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.0.1 Timestamp of tree: Mon, 01 Feb 2010 06:30:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.4 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r2 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-Os -s -march=core2 -mmmx -msse -msse2 -msse3 -pipe -fno-inline-functions -fforce-addr" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/udev/rules.d" CXXFLAGS="-Os -s -march=core2 -mmmx -msse -msse2 -msse3 -pipe -fno-inline-functions -fforce-addr" DISTDIR="/usr/calculate/share/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,--as-needed" LINGUAS="ru" MAKEOPTS="-j3" PKGDIR="/usr/calculate/share/packages/CLD/x86_64" 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/calculate/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/calculate" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 aac aalib acl acpi alsa amd64 audiofile avi berkdb bittorrent bluetooth bzip2 cairo cddb cdparanoia cdr chm clamav cli cracklib crypt cups cxx dbus djvu dri dv dvd dvdr dvdread ebook encode exif fbcon ffmpeg flac flash foomaticdb fortran ftp gd gdbm ggi gif gphoto2 gpm gtk hal iconv id3tag ieee1394 imagemagick ipv6 irc jabber jingle jpeg jpeg2k kde ldap libcaca libwww lirc logrotate lzo mad matroska mbox mikmod mmx mmxext mng modules mp3 mpeg mplayer mudflap multilib musepack mysql nas ncurses nfs nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl openmp oscar pam pcre pdf perl png portaudio pppd python qt3support qt4 quicktime rdesktop readline reflection samba scanner sdl session slang smp speex spell spl srt sse sse2 sse3 sse4.1 sse4.2 sse4a sse5 ssl ssse3 svg sysfs tcpd tga theora tiff truetype unicode usb userlocales v4l v4l2 vcd vhosts vorbis webkit wmf wxwindows x264 xanim xcomposite xine xinerama xorg xpm xv xvid xvmc yahoo 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 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="*" ELIBC="glibc" FOO2ZJS_DEVICES="*" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo nvidia radeonhd" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
How and when did 1.0.3 get unmasked? I see that bug 273962 was mentioned in the ChangeLog as the reason, however that bug stabilized ruby-dbi. It should not have caused ruby-oci8 to go stable. We need to remove 1.0.3 from portage or patch it, it was flawed for this very very same reason in bug 259469. I honestly thought Hans De Graaff was going to remove 1.0.3 when I submitted 1.0.4, fixing this bug and bumping the version for bug 259469. Versions 1.0.6 and 1.0.7 do not suffer from the same problem, and it was not foreseen that someone would unmask it. If you're going to stabilize something in ruby-oci8, please unmask the latest versions. Not only does the ebuild work better, but they are patch releases from upstream that fix bugs.
Created attachment 218341 [details, diff] ruby-oci8-1.0.3.ebuild.patch If we really want 1.0.3 to be stable, please patch it. But it is ancient, and 1.0.7 should really be the one that is stable if anything is stable.
I have added a bug 303415 to request another ebuild be put in place for the head development of ruby-oci8, version 2.0.3. That version should be unstable, while the current latest stable ebuild should be version 1.0.7.
Created attachment 218347 [details] ruby-oci8-1.0.7.ebuild Ruby Herd, please consider updating the ruby-oci8-1.0.7.ebuild to this one and after the appropriate pomp and circumstance, making it stable and leaving the ebuild in bug 303415 unstable. Also, please remove ruby-oci8-1.0.6.ebuild, and ruby-oci8-1.0.3.ebuild as we have no reason to keep them around. This revision uses the proper ruby.eclass methods and consequently removes all worry about the pesky -j flag.
Created attachment 218349 [details] metadata.xml Also, please consider this update to the metadata.xml, as this supports 11g oci drivers, too.
Created attachment 218351 [details] metadata.xml Might as well put more info in there too.
Created attachment 218497 [details] ruby-oci8-1.0.3.ebuild your prev patch always use "make -j1", fixed TODO: fix slave Makefile creation
(In reply to comment #8) > Ruby Herd, please consider updating the ruby-oci8-1.0.7.ebuild to this one and > after the appropriate pomp and circumstance, making it stable and leaving the > ebuild in bug 303415 unstable. Also, please remove ruby-oci8-1.0.6.ebuild, > and ruby-oci8-1.0.3.ebuild as we have no reason to keep them around. I've added this version as ruby-oci8-1.0.7-r1 to the tree. I've also removed 1.0.6 and updated metadata.xml. We can't remove 1.0.3 until 1.0.7 is stable. I'll file a bug for that in two weeks time (to make sure this new ebuild doesn't have unexpected issues). Closing this bug as the issue has now been fixed.