Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 754912 - sys-apps/portage-3.0.8 handles dev-vcs/subversion-1.14.0-r1 slightly off
Summary: sys-apps/portage-3.0.8 handles dev-vcs/subversion-1.14.0-r1 slightly off
Status: RESOLVED DUPLICATE of bug 702806
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-16 13:02 UTC by Rafał Mużyło
Modified: 2020-11-21 12:54 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 Rafał Mużyło 2020-11-16 13:02:49 UTC
So, currently RUBY_TARGETS="ruby25 ruby26" on amd64.
IIRC, portage handles || deps by going with the first.
For the current subversion ebuild, above means RUBY_DEPS evaluates to ruby:2.6 regardless of RUBY_TARGETS value.
So, setting RUBY_TARGETS to just 'ruby25' has no effect on dependency calculation.

(I will likely upgrade to 2.6 soon, but not quite now)

Perhaps, given that portage implementation detail, it would be better if ruby-single eclass added ruby versions in reverse slot order ?
Comment 1 Mike Gilbert gentoo-dev 2020-11-16 16:51:52 UTC
The relevant part of DEPEND in dev-vcs/subversion-1.14.0-r1 currently evaluates to this:

ruby? ( || ( dev-lang/ruby:2.5 dev-lang/ruby:2.6 ) )

I assume pulls in dev-lang/ruby:2.6 because it is the highest visible version. See bug 705700 comment 12.
Comment 2 Rafał Mużyło 2020-11-17 17:14:35 UTC
(In reply to Mike Gilbert from comment #1)

...well, ok, this does look like it's pretty much a dupe of bug 702806 then.

*** This bug has been marked as a duplicate of bug 702806 ***
Comment 3 Hans de Graaff gentoo-dev Security 2020-11-21 08:40:26 UTC
The ruby-utils eclass was not updated yet to prefer ruby26 as the best target. This has now been fixed and should address this issue.
Comment 4 Rafał Mużyło 2020-11-21 12:54:45 UTC
(In reply to Hans de Graaff from comment #3)
> The ruby-utils eclass was not updated yet to prefer ruby26 as the best
> target. This has now been fixed and should address this issue.

...given what I've wrote opening this bug, it should have been obvious I see that as an opposite of a fix. I did read at least a part of the bug I marked this one as a dupe of.