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

Bug 442074

Summary: media-video/mkvtoolnix-0.5.8 should depend on dev-lang/ruby:1.8
Product: Gentoo Linux Reporter: tokiclover <tokiclover>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description tokiclover 2012-11-06 17:52:48 UTC
I tried to update my system the other day and this package was one of those annoying one.

This package needs dev-lang/ruby:1.8 to start with. But waite that's not all.

Since dev-lang/ruby is slotted, everything is renamed and well sorted in filesystem tree depending on the slot. That's where begin the headache because everything with a header like '!#/usr/bin/env ruby' will fail to execute if there's no symlink the active ruby!

This what I have to discover trying to merge that version. I'm going to open a new bug for portage slot enhancement. I'm sick of getting headaches because of slotting. Wait, I'd like the whole idea of slotting but something should be done to ease redcurrant occasional breakages.

So to merge this package one should manualy make a symlinkk to ruby18: ln -s /usr/bin/ruby{18,}'.

Reproducible: Always

Steps to Reproduce:
1.emerge -av media-video/mkvtoolnix
2.
3.
Actual Results:  
/usr/bin/env: ruby not found.

Expected Results:  
merge the package
Comment 1 Tim Harder gentoo-dev 2012-11-07 00:40:00 UTC
It doesn't require ruby:1.8.

Use eselect ruby and choose whichever ruby interpreter you like to create the /usr/bin/ruby symlink and it will work fine.