Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Change ruby targets
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mikexx
n00b
n00b


Joined: 24 Aug 2018
Posts: 53

PostPosted: Wed Dec 30, 2020 6:47 pm    Post subject: Change ruby targets Reply with quote

Hi all,

I am trying to update ruby. I forgot to remove ruby24 from the RUBY_TARGETS in the make.conf. However, due to a conflict I removed it and tried to update the ruby installation:
Code:

RUBY_TARGETS="ruby25 ruby 27 ruby30"


Code:

emerge --ask --oneshot --update dev-lang/ruby


However, the update cannot be executed due to the following conflict:

Code:

virtual/rubygems:0

  (virtual/rubygems-16:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" RUBY_TARGETS="ruby25 ruby26 ruby27 ruby30" conflicts with
    virtual/rubygems[ruby_targets_ruby24] required by (dev-lang/ruby-2.4.10:2.4/2.4::gentoo, installed) USE="ipv6 rdoc ssl -berkdb -debug -doc -examples -gdbm -jemalloc -libressl -rubytests -socks5 -static-libs -tk -xemacs" ABI_X86="(64)"
                     ^^^^^^^^^^^^^^^^^^^
    virtual/rubygems[ruby_targets_ruby24] required by (dev-ruby/did_you_mean-1.1.2:2.4/2.4::gentoo, installed) USE="-test" ABI_X86="(64)" RUBY_TARGETS="(ruby24)"
                     ^^^^^^^^^^^^^^^^^^^


At the moment I do not know how I can resolve that conflict.

Best regards
mike
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Wed Dec 30, 2020 7:15 pm    Post subject: Reply with quote

When you change a use flag best way is to run emerge --changed-use --deep @world to rebuild packages with changed use flag.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mikexx
n00b
n00b


Joined: 24 Aug 2018
Posts: 53

PostPosted: Thu Dec 31, 2020 8:30 pm    Post subject: Reply with quote

That does not work. The same conflict exists there.

cheers
milke
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Thu Dec 31, 2020 8:48 pm    Post subject: Reply with quote

dev-ruby/did_you_mean-1.1.2 is even not in portage any more. You keep an outdated package in your system which depends on an old version of ruby and you wonder how to solve this? I suggest time travel, wind back the clock.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Thu Dec 31, 2020 9:54 pm    Post subject: Reply with quote

mikexx, do you need dev-ruby/did_you_mean? Will emerge --ask --verbose --depclean dev-ruby/did_you_mean remove it? You need to either remove or update it to proceed.
Back to top
View user's profile Send private message
mikexx
n00b
n00b


Joined: 24 Aug 2018
Posts: 53

PostPosted: Sat Jan 02, 2021 12:56 pm    Post subject: Reply with quote

Hu wrote:
mikexx, do you need dev-ruby/did_you_mean? Will emerge --ask --verbose --depclean dev-ruby/did_you_mean remove it? You need to either remove or update it to proceed.


That worked:
Code:
emerge --ask --verbose --depclean dev-ruby/did_you_mean =dev-lang/ruby-2.4.10


Thx!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum