Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691944 - dev-ruby/power_assert-1.1.5 seems to want git
Summary: dev-ruby/power_assert-1.1.5 seems to want git
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
: 691956 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-08-11 17:25 UTC by Albert W. Hopkins
Modified: 2019-08-12 04:55 UTC (History)
1 user (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 Albert W. Hopkins 2019-08-11 17:25:56 UTC
I get the following when trying to install power_assert on a system without git installed.  It installed fine on another system that had git installed.

```
 * Package:    dev-ruby/power_assert-1.1.5
 * Repository: gentoo
 * Maintainer: ruby@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby25 userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
 * Running unpack phase for all ...
>>> Unpacking power_assert-1.1.5.tar.gz to /var/tmp/portage/dev-ruby/power_assert-1.1.5/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/power_assert-1.1.5/work
>>> Preparing source in /var/tmp/portage/dev-ruby/power_assert-1.1.5/work ...
 * Running prepare phase for all ...
 * Running prepare phase for all ...
 * Running source copy phase for ruby25 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/power_assert-1.1.5/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/power_assert-1.1.5/work ...
 * Running compile phase for all ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-ruby/power_assert-1.1.5

>>> Install dev-ruby/power_assert-1.1.5 into /var/tmp/portage/dev-ruby/power_assert-1.1.5/image
 * Running install phase for ruby25 ...
[1mTraceback[m (most recent call last):
	6: from -e:1:in `<main>'
	5: from -e:1:in `eval'
	4: from (eval):6:in `<main>'
	3: from (eval):6:in `new'
	2: from /usr/lib64/ruby/site_ruby/2.5.0/rubygems/specification.rb:2064:in `initialize'
	1: from (eval):15:in `block in <main>'
-e:1:in `eval': [1mNo such file or directory - git ([1;4mErrno::ENOENT[m[1m)
[m * ERROR: dev-ruby/power_assert-1.1.5::gentoo failed (install phase):
 *   Unable to generate gemspec file.
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_install
 *   environment, line 2038:  Called ruby-ng_src_install
 *   environment, line 1685:  Called _ruby_each_implementation 'each_ruby_install'
 *   environment, line  508:  Called _ruby_invoke_environment 'ruby25' 'each_ruby_install'
 *   environment, line  625:  Called each_ruby_install
 *   environment, line  812:  Called each_fakegem_install
 *   environment, line  782:  Called ruby_fakegem_install_gemspec
 *   environment, line 1934:  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/power_assert-1.1.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/power_assert-1.1.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/power_assert-1.1.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/power_assert-1.1.5/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/power_assert-1.1.5/work/ruby25/power_assert-1.1.5'
 * S: '/var/tmp/portage/dev-ruby/power_assert-1.1.5/work/ruby25/power_assert-1.1.5'
 * Messages for package sys-apps/systemd-243_rc1-r2:
 * Could not find a Makefile in the kernel source directory.
 * Please ensure that /usr/src/linux points to a complete set of Linux sources
 * Unable to calculate Linux Kernel version for build, attempting to use running version
 * Messages for package dev-ruby/power_assert-1.1.5:
 * ERROR: dev-ruby/power_assert-1.1.5::gentoo failed (install phase):
 *   Unable to generate gemspec file.
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_install
 *   environment, line 2038:  Called ruby-ng_src_install
 *   environment, line 1685:  Called _ruby_each_implementation 'each_ruby_install'
 *   environment, line  508:  Called _ruby_invoke_environment 'ruby25' 'each_ruby_install'
 *   environment, line  625:  Called each_ruby_install
 *   environment, line  812:  Called each_fakegem_install
 *   environment, line  782:  Called ruby_fakegem_install_gemspec
 *   environment, line 1934:  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/power_assert-1.1.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/power_assert-1.1.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/power_assert-1.1.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/power_assert-1.1.5/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/power_assert-1.1.5/work/ruby25/power_assert-1.1.5'
 * S: '/var/tmp/portage/dev-ruby/power_assert-1.1.5/work/ruby25/power_assert-1.1.5'
```
Comment 1 Hans de Graaff gentoo-dev Security 2019-08-12 04:50:12 UTC
*** Bug 691956 has been marked as a duplicate of this bug. ***
Comment 2 Larry the Git Cow gentoo-dev 2019-08-12 04:55:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c58d39e8978631ee411bf31d29bfde6a1a79156a

commit c58d39e8978631ee411bf31d29bfde6a1a79156a
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2019-08-12 04:54:26 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2019-08-12 04:54:45 +0000

    dev-ruby/power_assert: avoid dependency on git
    
    Fixes: https://bugs.gentoo.org/691944
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/power_assert/power_assert-1.1.5.ebuild | 3 +++
 1 file changed, 3 insertions(+)