Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573112 - media-video/mkvtoolnix-8.8.0: fails to enforce proper RUBY_TARGETS on rubygems
Summary: media-video/mkvtoolnix-8.8.0: fails to enforce proper RUBY_TARGETS on rubygems
Status: RESOLVED OBSOLETE
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:
Depends on:
Blocks:
 
Reported: 2016-01-27 12:20 UTC by Michał Górny
Modified: 2018-03-24 13:26 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-01-27 12:20:54 UTC
>>> Compiling source in /tmp/portage/media-video/mkvtoolnix-8.8.0/work/mkvtoolnix-8.8.0 ...
/usr/lib64/ruby/2.2.0/rubygems.rb:16:in `require': cannot load such file -- rubygems/compat
ibility (LoadError)
        from /usr/lib64/ruby/2.2.0/rubygems.rb:16:in `<top (required)>'
        from <internal:gem_prelude>:1:in `require'
        from <internal:gem_prelude>:1:in `<compiled>'


Long story short, it attempts to use ruby:2.2 which I had installed for some reason but which isn't in my RUBY_TARGETS, and which doesn't therefore have rubygems installed.
Comment 1 Tim Harder gentoo-dev 2016-01-27 17:51:56 UTC
Feel free to figure out how to use the ruby eclasses to properly do this in order to remove the current hack. It involved rewriting them the last time I looked. :)
Comment 2 Hans de Graaff gentoo-dev Security 2016-01-27 19:01:23 UTC
This would be helped with bug 444828
Comment 3 Tim Harder gentoo-dev 2018-03-24 13:26:41 UTC
I don't think this is relevant anymore for mkvtoolnix since rake now supports parallel jobs and is used instead of the bundled drake.