Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 442074 - media-video/mkvtoolnix-0.5.8 should depend on dev-lang/ruby:1.8
Summary: media-video/mkvtoolnix-0.5.8 should depend on dev-lang/ruby:1.8
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-06 17:52 UTC by tokiclover
Modified: 2012-11-07 00:40 UTC (History)
0 users

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 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.