Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 573112

Summary: media-video/mkvtoolnix-8.8.0: fails to enforce proper RUBY_TARGETS on rubygems
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED OBSOLETE    
Severity: normal CC: ruby
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.