Install output(Reduced) >>> Source unpacked. ruby setup.rb config ---> lib ---> lib/DBD ---> lib/DBD/OCI8 <--- lib/DBD/OCI8 <--- lib/DBD <--- lib ---> ext ---> ext/oci8 /usr/bin/ruby18 /var/tmp/portage/ruby-oci8-0.1.15/work/ruby-oci8-0.1.15/ext/oci8/extconf.rb ruby setup.rb setup setup.rb config first Try 'ruby setup.rb --help' for detailed usage. make: *** [setup] Error 1 make: *** Waiting for unfinished jobs.... Solution: I went to /var/tmp/portage/ruby-oci8-0.1.15/work/ruby-oci8-0.1.15/ and ran ruby setup config ruby setup setup ruby setup install And it aparently works I think that setup.rb config first was the eroneous command
It's a problem of parallel jobs (MAKEOPTS=-j2 and above). Either set MAKEOPTS=-j1 or make emake || die in src_compile() emake -j1 || die See bug #132584 for a similar issue. You'll need the change from bug #138263 too, or it won't install.
patch applied and tested.