Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509220 - media-video/mkvtoolnix should require dev-ruby/rubygems
Summary: media-video/mkvtoolnix should require dev-ruby/rubygems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 514494 566968 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-01 00:59 UTC by Eugene Cormier
Modified: 2015-11-30 18:53 UTC (History)
5 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 Eugene Cormier 2014-05-01 00:59:07 UTC
On a fresh install, installing media-video/mkvtoolnix pulls in ruby, but not rubygems and fails with:
/usr/lib64/ruby/1.9.1/rubygems.rb:30:in `require': cannot load such file -- rubygems/defaults (LoadError)
	from /usr/lib64/ruby/1.9.1/rubygems.rb:30:in `<top (required)>'
	from <internal:gem_prelude>:1:in `require'
	from <internal:gem_prelude>:1:in `<compiled>'
 * ERROR: media-video/mkvtoolnix-6.6.0::gentoo failed (compile phase):


Reproducible: Always

Steps to Reproduce:
1. emerge media-video/mkvtoolnix on a fresh install
2.
3.
Actual Results:  
ebuild fails because of missing file

Expected Results:  
ebuild compiles properly

the ebuild just needs to add the depend
Comment 1 Eugene Cormier 2014-05-01 00:59:49 UTC
I should mention that this is on 'desktop' profile
Comment 2 Hans de Graaff gentoo-dev Security 2014-05-01 06:42:19 UTC
rubygems is a PDEPEND of dev-lang/ruby, but if everything gets emerged in one go then we can't guarantee that rubygems is installed in time.
Comment 3 Tim Harder gentoo-dev 2014-05-01 10:37:31 UTC
(In reply to Hans de Graaff from comment #2)
> rubygems is a PDEPEND of dev-lang/ruby, but if everything gets emerged in
> one go then we can't guarantee that rubygems is installed in time.

It would be nice if the ruby eclasses could be reworked so I could sanely use them in the ebuild, see the notes in the related ebuild. :)

On the other hand, it would be even nicer if upstream didn't use (d)rake to build non-ruby stuff. :P
Comment 4 Andrew Savchenko gentoo-dev 2014-11-29 10:36:38 UTC
*** Bug 514494 has been marked as a duplicate of this bug. ***
Comment 5 Tim Harder gentoo-dev 2014-12-15 00:24:18 UTC
This should be fixed in 7.4.0-r1.
Comment 6 Mikael Magnusson 2014-12-16 15:17:26 UTC
was there a particular reason to drop ruby 1.9 support in 7.4? i don't see anything in the upstream changelog about it.
Comment 7 Tim Harder gentoo-dev 2014-12-16 17:32:54 UTC
(In reply to Mikael Magnusson from comment #6)
> was there a particular reason to drop ruby 1.9 support in 7.4? i don't see
> anything in the upstream changelog about it.

As far as I know, it's EOLed in a couple months upstream and so will probably be dropped from the tree soon. Consider this your wake up call to install ruby:2.0 or later. :)
Comment 8 Brian Evans (RETIRED) gentoo-dev 2015-11-30 18:53:59 UTC
*** Bug 566968 has been marked as a duplicate of this bug. ***