It seems building dev-ruby/json-1.2.0-r1 needs dev-ruby/rake. After installing rake dev-ruby/json merges perfectly. However dev-ruby/json-1.2.0 doesn't need dev-ruby/rake. I use Portage 2.1.7.16. Thank you for your time. Have a nice day. # emerge -av =dev-ruby/json-1.2.0.r1 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-ruby/json-1.2.0-r1 [1.2.0] USE="-doc -test%" RUBY_TARGETS="ruby18%* -jruby% (-ruby19)" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] yes >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-ruby/json-1.2.0-r1 * json-1.2.0.gem RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: dev-ruby/json-1.2.0-r1 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib ruby_targets_ruby18 userland_GNU >>> Unpacking source... * Running unpack phase for all ... * Unpacking .gem file... ... [ ok ] * Unpacking data.tar.gz ... [ ok ] >>> Source unpacked in /var/tmp/portage/dev-ruby/json-1.2.0-r1/work >>> Preparing source in /var/tmp/portage/dev-ruby/json-1.2.0-r1/work ... * Running prepare phase for all ... * Running source copy phase for ruby18 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ruby/json-1.2.0-r1/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ruby/json-1.2.0-r1/work ... * Running compile phase for ruby18 ... /usr/bin/ruby18: No such file or directory -- rake (LoadError) * ERROR: dev-ruby/json-1.2.0-r1 failed: * extension compile failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2789: Called ruby-ng_src_compile * environment, line 2557: Called _ruby_each_implementation 'each_ruby_compile' * environment, line 326: Called _ruby_invoke_environment 'ruby18' 'each_ruby_compile' * environment, line 354: Called each_ruby_compile * environment, line 866: Called die * The specific snippet of code: * ${RUBY} -S rake compile_ext || die "extension compile failed"; * * If you need support, post the output of 'emerge --info =dev-ruby/json-1.2.0-r1', * the complete build log and the output of 'emerge -pqv =dev-ruby/json-1.2.0-r1'. * The complete build log is located at '/var/tmp/portage/dev-ruby/json-1.2.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/json-1.2.0-r1/temp/environment'. * S: '/var/tmp/portage/dev-ruby/json-1.2.0-r1/work/ruby18//json-1.2.0' >>> Failed to emerge dev-ruby/json-1.2.0-r1, Log file: >>> '/var/tmp/portage/dev-ruby/json-1.2.0-r1/temp/build.log' * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. Reproducible: Always Steps to Reproduce: 1. emerge =dev-ruby/json-1.2.0-r1 2. got error message
Looks like we forgot to add that dependency. Fixed in json-1.2.0-r1 now. Thanks for reporting.