Jump to content
funtoo forums
Sign in to follow this  
s4uliu5

[solved] dev-ruby/did_you_mean-1.2.0::ruby-kit USE="-test" RUBY_TARGETS="-ruby25"

Recommended Posts

Hello,

while following Daniel's post how to upgrade to 1.2 Funtoo

running

fun ~ # emerge -uDNv @world

got


These are the packages that would be merged, in order:

Calculating dependencies -

!!! Problem resolving dependencies for dev-ruby/did_you_mean from @selected                                                                                                                                        ... done!

!!! The ebuild selected to satisfy "dev-ruby/did_you_mean" has unmet requirements.
- dev-ruby/did_you_mean-1.2.0::ruby-kit USE="-test" RUBY_TARGETS="-ruby25"

  The following REQUIRED_USE flag constraints are unsatisfied:
    ruby_targets_ruby25

  The above constraints are a subset of the following complete expression:
    any-of ( ruby_targets_ruby25 )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

How to resolve this?

Thank you,

--

Saulius

Share this post


Link to post
Share on other sites

You would need to set USE flag "ruby25" instead of "-ruby25".

Problem is, there is no ruby 2.5 in the portage tree, so your emerge will fail with "there are no ebuilds to satisfy "dev-lang/ruby:2.5".

One way to avoid this problem is to mask did_you_mean-1.2.0, by putting

=dev-ruby/did_you_mean-1.2.0

in /etc/portage/package.mask

Did that on my system and haven't encountered any problems so far.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×