Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 535764 - dev-vcs/subversion-1.8.11 should not depend on dev-lang/ruby:1.9
Summary: dev-vcs/subversion-1.8.11 should not depend on dev-lang/ruby:1.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ruby19-removal
  Show dependency tree
 
Reported: 2015-01-06 09:23 UTC by Eric Gisse
Modified: 2015-07-16 09:36 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 Eric Gisse 2015-01-06 09:23:01 UTC
I've noticed that my system insists on ruby19 support due to the default ruby useflag, and subversion insisting on ruby19. 

This isn't good. Ruby 1.9 support is going away in February. 

See: https://wiki.gentoo.org/wiki/Project:Ruby/Ruby_1.9_deprecation

For some reason subversion is hardcoded to use the ruby19 target only. Could this please be fixed?

It might be worth considering a bit of future proofing for next time, since subversion has been dinged with this before. See: #483102
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-01-07 20:53:19 UTC
@ruby team: Can you please assist here? I'd like to have the ebuild using any available (and working) ruby version.
Comment 2 Manuel Rüger (RETIRED) gentoo-dev 2015-02-07 08:59:43 UTC
Well I won't recommend to depend on just dev-lang/ruby, as there's no guarantee that it will still work with later rubies. E.g. ruby19 support was added in 1.8.x, see https://svn.apache.org/viewvc?view=revision&revision=1407206

For now, we recommend to use 
|| ( 
( dev-lang/ruby:1.9 dev-lang/rubygems[ruby_targets_ruby19] ) 
( dev-lang/ruby:2.0 dev-lang/rubygems[ruby_targets_ruby20] )
( dev-lang/ruby:2.1 dev-lang/rubygems[ruby_targets_ruby21] )
( dev-lang/ruby:2.2 dev-lang/rubygems[ruby_targets_ruby22] ) 
)
if all of these version have been tested to work with it.
Comment 3 Manuel Rüger (RETIRED) gentoo-dev 2015-02-07 09:06:02 UTC
(In reply to Manuel Rüger from comment #2)
> Well I won't recommend to depend on just dev-lang/ruby, as there's no
> guarantee that it will still work with later rubies. E.g. ruby19 support was
> added in 1.8.x, see
> https://svn.apache.org/viewvc?view=revision&revision=1407206
> 
> For now, we recommend to use 
> || ( 
> ( dev-lang/ruby:1.9 dev-lang/rubygems[ruby_targets_ruby19] ) 
> ( dev-lang/ruby:2.0 dev-lang/rubygems[ruby_targets_ruby20] )
> ( dev-lang/ruby:2.1 dev-lang/rubygems[ruby_targets_ruby21] )
> ( dev-lang/ruby:2.2 dev-lang/rubygems[ruby_targets_ruby22] ) 
> )
> if all of these version have been tested to work with it.

Sorry I haven't looked at the complete ebuild.

Due to:
ac_cv_path_RUBY="${EPREFIX}"/usr/bin/ruby19 ac_cv_path_RDOC="${EPREFIX}"/usr/bin/rdoc19 \

I suggest to only depend on a single version of dev-lang/ruby, in this case ruby:2.0.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-07-16 09:36:39 UTC
=dev-vcs/subversion-1.8.11 is no longer in the tree and newer versions depend on either ruby:20 (stable) or ruby:21 (unstable)