[ebuild N ] dev-ruby/ruby-opengl-0.60.1 USE="-doc" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-ruby/ruby-opengl-0.60.1 * ruby-opengl-0.60.1.gem RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: dev-ruby/ruby-opengl-0.60.1 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU >>> Unpacking source... >>> Source unpacked in /var/tmp/portage/dev-ruby/ruby-opengl-0.60.1/work >>> Compiling source in /var/tmp/portage/dev-ruby/ruby-opengl-0.60.1/work ... >>> Source compiled. >>> Test phase [not enabled]: dev-ruby/ruby-opengl-0.60.1 >>> Install ruby-opengl-0.60.1 into /var/tmp/portage/dev-ruby/ruby-opengl-0.60.1/image/ category dev-ruby * Installing for ruby18... Building native extensions. This could take a while... ERROR: Error installing /var/tmp/portage/dev-ruby/ruby-opengl-0.60.1/distdir/ruby-opengl-0.60.1: ERROR: Failed to build gem native extension. rake18 RUBYARCHDIR=/var/tmp/portage/dev-ruby/ruby-opengl-0.60.1/image/usr/lib64/ruby/gems/1.8/gems/ruby-opengl-0.60.1/lib RUBYLIBDIR=/var/tmp/portage/dev-ruby/ruby-opengl-0.60.1/image/usr/lib64/ruby/gems/1.8/gems/ruby-opengl-0.60.1/lib sh: rake18: command not found Gem files will remain installed in /var/tmp/portage/dev-ruby/ruby-opengl-0.60.1/image/usr/lib64/ruby/gems/1.8/gems/ruby-opengl-0.60.1 for inspection. Results logged to /var/tmp/portage/dev-ruby/ruby-opengl-0.60.1/image/usr/lib64/ruby/gems/1.8/gems/ruby-opengl-0.60.1/gem_make.out * ERROR: dev-ruby/ruby-opengl-0.60.1 failed: * gem (>=1.3.0) install failed * * Call stack: * ebuild.sh, line 48: Called src_install * environment, line 2598: Called gems_src_install * environment, line 1466: Called die * The specific snippet of code: * /usr/bin/${ruby_version} /usr/bin/gem install ${GEM_SRC} --version ${PV} ${myconf} --local --install-dir "${D}/${GEMSDIR}" --sandbox-fix --no-user-install || die "gem (>=1.3.0) install failed"; *
The code in the gem should not invoke rake this way. In any case we've switched to use the ruby-fakegem eclass which gives us better control over such build issues, and this should be fixed in ruby-opengl-0.60.1-r1 which is currently up for stabilization.