Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644628 - app-eselect/eselect-ruby, dev-ruby/test-unit: broken testrb symlink
Summary: app-eselect/eselect-ruby, dev-ruby/test-unit: broken testrb symlink
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-15 06:05 UTC by Thomas Arnett
Modified: 2019-01-21 18:38 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 Thomas Arnett 2018-01-15 06:05:25 UTC
app-eselect/eselect-ruby-20171225
dev-ruby/test-unit-3.2.7

RUBY_TARGETS="ruby24 ruby25"

dev-ruby/test-unit installs a script at /usr/bin/testrb-2. Running "eselect ruby set ruby24" creates a broken symlink from /usr/bin/testrb to "testrb24".
Comment 1 Hans de Graaff gentoo-dev Security 2019-01-21 17:52:46 UTC
Right, I can reproduce this. Looks like we should no longer create this symlink.
Comment 2 Larry the Git Cow gentoo-dev 2019-01-21 18:36:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/ruby-scripts.git/commit/?id=d6f5cc047dde8884047d68e7fd2a9f25060b5bf1

commit d6f5cc047dde8884047d68e7fd2a9f25060b5bf1
Author:     Hans de Graaff <hans@degraaff.org>
AuthorDate: 2019-01-21 18:20:04 +0000
Commit:     Hans de Graaff <hans@degraaff.org>
CommitDate: 2019-01-21 18:31:24 +0000

    Stop creating broken legacy testrb link
    
    dev-lang/ruby no longer installs a testrb script, and
    dev-ruby/test-unit installs testrb-2 which is not subject to the
    eselect module. Stop installing a broken testrb link and remove it
    when it still exists.
    
    Bug: https://bugs.gentoo.org/644628
    Signed-off-by: Hans de Graaff <hans@degraaff.org>

 eselect-ruby/ruby.eselect | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2019-01-21 18:38:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f659f4282b4156120736529844e1ddcc8b3e749

commit 7f659f4282b4156120736529844e1ddcc8b3e749
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2019-01-21 18:36:12 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2019-01-21 18:36:41 +0000

    app-eselect/eselect-ruby: remove legacy testrb link
    
    Fixes: https://bugs.gentoo.org/644628
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-eselect/eselect-ruby/Manifest                  |  1 +
 .../eselect-ruby/eselect-ruby-20190121.ebuild      | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)