Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651110 - dev-ruby/bcat should depend on dev-ruby/rack:1.6 ? - /usr/lib64/ruby/site_ruby/2.2.0/rubygems/dependency.rb:310:in `to_specs': Could not find 'rack' (~> 1.0) - did find: [rack-2.0.3] (Gem::MissingSpecVersionError)
Summary: dev-ruby/bcat should depend on dev-ruby/rack:1.6 ? - /usr/lib64/ruby/site_rub...
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:
Depends on:
Blocks:
 
Reported: 2018-03-21 18:50 UTC by Domonkos Lezsák
Modified: 2018-03-25 07:25 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.log,7.16 KB, text/plain)
2018-03-21 18:50 UTC, Domonkos Lezsák
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Domonkos Lezsák 2018-03-21 18:50:40 UTC
Created attachment 524742 [details]
emerge --info

I've got this stack trace, when tried to run bcat (propably after a few system upgrades:

$ ... | bcat
/usr/lib64/ruby/site_ruby/2.2.0/rubygems/dependency.rb:310:in `to_specs': Could not find 'rack' (~> 1.0) - did find: [rack-2.0.3] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/home/led/.gem/ruby/2.2.0:/usr/local/lib64/ruby/gems/2.2.0:/usr/lib64/ruby/gems/2.2.0', execute `gem env` for more information
	from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/specification.rb:1441:in `block in activate_dependencies'
	from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/specification.rb:1430:in `each'
	from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/specification.rb:1430:in `activate_dependencies'
	from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/specification.rb:1412:in `activate'
	from /usr/lib64/ruby/site_ruby/2.2.0/rubygems.rb:220:in `rescue in try_activate'
	from /usr/lib64/ruby/site_ruby/2.2.0/rubygems.rb:213:in `try_activate'
	from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:126:in `rescue in require'
	from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:40:in `require'
	from /usr/lib64/ruby/gems/2.2.0/gems/bcat-0.6.2/bin/bcat:56:in `<top (required)>'
	from /usr/bin/bcat:9:in `load'
	from /usr/bin/bcat:9:in `<main>'
$

Looks like there is no reference for dev-ruby/rake in bcat-0.6.2-r2.ebuild
Comment 1 Hans de Graaff gentoo-dev Security 2018-03-25 07:23:35 UTC
Fixed by restricting the dependency to dev-ruby/rack to 1.x in bcat 0.6.2-r3.
Comment 2 Larry the Git Cow gentoo-dev 2018-03-25 07:25:03 UTC
The bug has been closed via the following commit(s):

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

commit 9944fd678900ad16b7522ffa8d5f646563ab4207
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2018-03-25 07:23:10 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2018-03-25 07:23:10 +0000

    fidev-ruby/bcat: x dev-ruby/rack dependency
    
    Closes: https://bugs.gentoo.org/651110
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-ruby/bcat/bcat-0.6.2-r3.ebuild | 43 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)