The ebuild should have dev-ruby/bundler as a dependency. I tried in vain to emerge it. By unpacking the sources I saw that it needed bundler,which was not installed. By emerging dev-ruby/bundler followed by dev-ruby/xmlrpc all went OK. Gerard.
I try to full ruby reinstall and found the same, without dev-ruby/bundler it's no possible to build xmlrpc.
I ran into this same problem this morning while doing a world update: >>> Emerging (1 of 140) dev-ruby/xmlrpc-0.2.1::gentoo * xmlrpc-0.2.1.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... * Running unpack phase for all ... >>> Unpacking xmlrpc-0.2.1.tar.gz to /var/tmp/portage/dev-ruby/xmlrpc-0.2.1/work/all >>> Source unpacked in /var/tmp/portage/dev-ruby/xmlrpc-0.2.1/work >>> Preparing source in /var/tmp/portage/dev-ruby/xmlrpc-0.2.1/work ... * Running prepare phase for all ... * Running source copy phase for ruby24 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ruby/xmlrpc-0.2.1/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ruby/xmlrpc-0.2.1/work ... * Running compile phase for all ... >>> Source compiled. >>> Test phase [not enabled]: dev-ruby/xmlrpc-0.2.1 >>> Install xmlrpc-0.2.1 into /var/tmp/portage/dev-ruby/xmlrpc-0.2.1/image/ category dev-ruby * Running install phase for ruby24 ... -e:1:in `eval': No such file or directory - git (Errno::ENOENT) from (eval):17:in `block in <main>' from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/specification.rb:2053:in `initialize' from (eval):6:in `new' from (eval):6:in `<main>' from -e:1:in `eval' from -e:1:in `<main>' * ERROR: dev-ruby/xmlrpc-0.2.1::gentoo failed (install phase): * Unable to generate gemspec file. * * Call stack: * ebuild.sh, line 115: Called src_install * environment, line 4365: Called ruby-ng_src_install * environment, line 4068: Called _ruby_each_implementation 'each_ruby_install' * environment, line 407: Called _ruby_invoke_environment 'ruby24' 'each_ruby_install' * environment, line 510: Called each_ruby_install * environment, line 812: Called each_fakegem_install * environment, line 782: Called ruby_fakegem_install_gemspec * environment, line 4251: Called die * The specific snippet of code: * fi ) || die "Unable to generate gemspec file."; * * If you need support, post the output of `emerge --info '=dev-ruby/xmlrpc-0.2.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/xmlrpc-0.2.1::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =xmlrpc-0.2.1 * The complete build log is located at '/var/log/portage/dev-ruby:xmlrpc-0.2.1:20170106-091019.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/xmlrpc-0.2.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/xmlrpc-0.2.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/xmlrpc-0.2.1/work/ruby24/xmlrpc-0.2.1' * S: '/var/tmp/portage/dev-ruby/xmlrpc-0.2.1/work/ruby24/xmlrpc-0.2.1' >>> Failed to emerge dev-ruby/xmlrpc-0.2.1, Log file: >>> '/var/log/portage/dev-ruby:xmlrpc-0.2.1:20170106-091019.log' After reading this bug and installing 'dev-ruby/bundler,' 'dev-ruby/xmlrpc-0.2.1' installed properly.
I don't see anything bundler-specific in this bug report so I am assuming that this is a duplicate of bug 604216. *** This bug has been marked as a duplicate of bug 604216 ***