Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Unmasking RUBY_TARGETS=ruby23 [SOLVED]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
EugeneTheJeep
Tux's lil' helper
Tux's lil' helper
Posts: 101
Joined: Wed May 17, 2017 12:41 pm

Unmasking RUBY_TARGETS=ruby23 [SOLVED]

  • Quote

Post by EugeneTheJeep » Wed Jul 26, 2017 2:55 pm

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: Select all

RUBY_TARGETS="ruby21 ruby22 ruby23"
I have my ruby profile set to ruby23:

Code: Select all

$ eselect ruby list
Available Ruby profiles:
  [1]   ruby21 (with Rubygems)
  [2]   ruby22 (with Rubygems)
  [3]   ruby23 (with Rubygems) *
Following advice in this thread: viewtopic-p-6669489.html
I tried unmasking the use flag in /etc/portage/profile/package.use.mask:

Code: Select all

dev-ruby/rubyzip -ruby23
But when emerging I still get:

Code: Select all

$ 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.
Top
limn
l33t
l33t
Posts: 997
Joined: Fri May 13, 2005 8:08 pm

  • Quote

Post by limn » Wed Jul 26, 2017 7:11 pm

What does

Code: Select all

emerge --info
show for RUBY_TARGETS?

Something in your profile? There is this

Code: Select all

# 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
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Jul 26, 2017 7:46 pm

Correct way to unmask use flag is

Code: Select all

# 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.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
EugeneTheJeep
Tux's lil' helper
Tux's lil' helper
Posts: 101
Joined: Wed May 17, 2017 12:41 pm

  • Quote

Post by EugeneTheJeep » Wed Jul 26, 2017 10:03 pm

fedeliallalinea,

That did it. I didn't realize that prefix was required to differentiate it from a plain USE flag. Makes sense now. Thanks!
Top
limn
l33t
l33t
Posts: 997
Joined: Fri May 13, 2005 8:08 pm

  • Quote

Post by limn » Thu Jul 27, 2017 2:29 am

How did it get masked in the first place?
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Jul 27, 2017 5:50 am

limn wrote:How did it get masked in the first place?
By profile, as you mentioned before

Code: Select all

# 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.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
limn
l33t
l33t
Posts: 997
Joined: Fri May 13, 2005 8:08 pm

  • Quote

Post by limn » Thu Jul 27, 2017 10:59 am

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.
Top
Hu
Administrator
Administrator
Posts: 24401
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Jul 28, 2017 1:35 am

use.stable.mask affects stable packages. If you run an unstable system, it won't affect you.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic