Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unmasking RUBY_TARGETS=ruby23 [SOLVED]
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
EugeneTheJeep
Tux's lil' helper
Tux's lil' helper


Joined: 17 May 2017
Posts: 101

PostPosted: Wed Jul 26, 2017 2:55 pm    Post subject: Unmasking RUBY_TARGETS=ruby23 [SOLVED] Reply with quote

Hi,

I'm trying to emerge dev-ruby/rubyzip with RUBYTARGETS="ruby21 ruby22 ruby23" but it seems that the ruby23 flag is masked (as far as I know that's what a flag in parenthesis means).

In /etc/portage/make.conf I have
Code:

RUBY_TARGETS="ruby21 ruby22 ruby23"


I have my ruby profile set to ruby23:
Code:

$ eselect ruby list
Available Ruby profiles:
  [1]   ruby21 (with Rubygems)
  [2]   ruby22 (with Rubygems)
  [3]   ruby23 (with Rubygems) *


Following advice in this thread: https://forums.gentoo.org/viewtopic-p-6669489.html
I tried unmasking the use flag in /etc/portage/profile/package.use.mask:
Code:

dev-ruby/rubyzip -ruby23


But when emerging I still get:
Code:

$ emerge -pav dev-ruby/rubyzip

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

Calculating dependencies... done!
[ebuild  N     ] dev-ruby/rubyzip-1.2.1:1::gentoo  USE="{-test}" RUBY_TARGETS="ruby21 ruby22 (-ruby23) (-ruby24)" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


I'm still pretty new to Gentoo so I'm not sure if I'm missing something here. Any help figuring out how to unmask this flag is greatly appreciated!


Last edited by EugeneTheJeep on Wed Jul 26, 2017 10:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 997

PostPosted: Wed Jul 26, 2017 7:11 pm    Post subject: Reply with quote

What does
Code:
emerge --info

show for RUBY_TARGETS?

Something in your profile? There is this
Code:
# Hans de Graaff <graaff@gentoo.org> (25 Dec 2016)
# Currently in testing and not ready to go stable yet.
ruby_targets_ruby23
ruby_targets_ruby24

in /usr/portage/profiles/base/use.stable.mask
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22212
Location: here

PostPosted: Wed Jul 26, 2017 7:46 pm    Post subject: Reply with quote

Correct way to unmask use flag is
Code:
# echo "dev-ruby/rubyzip -ruby_targets_ruby23" >> /etc/portage/profile/package.use.mask

because ruby23 is part of use expand of RUBY_TARGETS
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
EugeneTheJeep
Tux's lil' helper
Tux's lil' helper


Joined: 17 May 2017
Posts: 101

PostPosted: Wed Jul 26, 2017 10:03 pm    Post subject: Reply with quote

fedeliallalinea,

That did it. I didn't realize that prefix was required to differentiate it from a plain USE flag. Makes sense now. Thanks!
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 997

PostPosted: Thu Jul 27, 2017 2:29 am    Post subject: Reply with quote

How did it get masked in the first place?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22212
Location: here

PostPosted: Thu Jul 27, 2017 5:50 am    Post subject: Reply with quote

limn wrote:
How did it get masked in the first place?

By profile, as you mentioned before
/usr/portage/profiles/base/use.stable.mask:
# Hans de Graaff <graaff@gentoo.org> (25 Dec 2016)
# Currently in testing and not ready to go stable yet.
ruby_targets_ruby23
ruby_targets_ruby24

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 997

PostPosted: Thu Jul 27, 2017 10:59 am    Post subject: Reply with quote

I meant how is use.stable.mask being pulled in, if in fact that is what is happening.
I do not see this on masking my boxes, and if I do that is what I would look into.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14075

PostPosted: Fri Jul 28, 2017 1:35 am    Post subject: Reply with quote

use.stable.mask affects stable packages. If you run an unstable system, it won't affect you.
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