Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604216 - dev-ruby/xmlrpc-0.2.1 - src_install(): -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'
Summary: dev-ruby/xmlrpc-0.2.1 - src_install(): -e:1:in `eval': No such file or direct...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
: 604078 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-12-31 06:11 UTC by André Terpstra
Modified: 2017-01-08 07:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description André Terpstra 2016-12-31 06:11:35 UTC
ruby 2.4 requires dev-ruby/xmlrpc-0.2.1 as a dependency but it won't install. It is not the bundler dependency reported yesterday. Th error message seems to point at a a missing java installation but that wasn't the problem either.

Reproducible: Always

Actual Results:  
>>> Emerging (1 of 11) 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 4382:  Called ruby-ng_src_install
 *   environment, line 4085:  Called _ruby_each_implementation 'each_ruby_install'
 *   environment, line  424:  Called _ruby_invoke_environment 'ruby24' 'each_ruby_install'
 *   environment, line  527:  Called each_ruby_install
 *   environment, line  829:  Called each_fakegem_install
 *   environment, line  799:  Called ruby_fakegem_install_gemspec
 *   environment, line 4268:  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=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =xmlrpc-0.2.1
 * The complete 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/tmp/portage/dev-ruby/xmlrpc-0.2.1/temp/build.log'
*** Resuming merge...
Calculating dependencies... done!

 * Messages for package dev-ruby/xmlrpc-0.2.1:

 * 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 4382:  Called ruby-ng_src_install
 *   environment, line 4085:  Called _ruby_each_implementation 'each_ruby_install'
 *   environment, line  424:  Called _ruby_invoke_environment 'ruby24' 'each_ruby_install'
 *   environment, line  527:  Called each_ruby_install
 *   environment, line  829:  Called each_fakegem_install
 *   environment, line  799:  Called ruby_fakegem_install_gemspec
 *   environment, line 4268:  Called die
 * The specific snippet of code:
 *       fi ) || die "Unable to generate gemspec file.";
Comment 1 Michael Baer 2017-01-01 18:06:12 UTC
Do you have dev-vcs/git installed?
 
On a fresh installation I had have exactly the same problem. Installing git solved it.
Comment 2 André Terpstra 2017-01-02 09:21:11 UTC
(In reply to Michael Baer from comment #1)
> Do you have dev-vcs/git installed?
>  
> On a fresh installation I had have exactly the same problem. Installing git
> solved it.

No I don't. Should I?
Comment 3 barrie backhurst 2017-01-02 14:01:51 UTC
(In reply to Michael Baer from comment #1)
> Do you have dev-vcs/git installed?
>  
> On a fresh installation I had have exactly the same problem. Installing git
> solved it.


Thankyou that worked for me! I went for dev-ruby/git which of course brings in dev-cvs/git and was then able to install dev-ruby/xmlrpc ok.

Having looked through the build log my first inclination was to install git, especially as another machine with git installed had installed xmlrpc ok, however upon realising that the xmlrpc tarball had downloaded and unpacked without problem I discarded that theory, cost me a few hours :(
Comment 4 Hans de Graaff gentoo-dev Security 2017-01-08 07:24:26 UTC
*** Bug 604078 has been marked as a duplicate of this bug. ***
Comment 5 Hans de Graaff gentoo-dev Security 2017-01-08 07:25:59 UTC
Fixed in place by avoiding the git-specific code during built time.