public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Howto unmask use flag
@ 2017-12-28  2:10 Jörg Schaible
  2017-12-28  2:20 ` [gentoo-user] " Jörg Schaible
  0 siblings, 1 reply; 4+ messages in thread
From: Jörg Schaible @ 2017-12-28  2:10 UTC (permalink / raw
  To: gentoo-user

Hi,

how can I unmask a use flag masked in profiles/base/package.use.mask? If I set the flag for the package in /
etc/portage/package.use it is simply ignored.

Concrete example: My /etc/portage/package.use contains the line:

  dev-java/oracle-jdk-bin:9 doc gentoo-vm source

However the flag 'gentoo-vm' is always ignored because it is masked in profiles/base/package.use.mask with 
the line:

  dev-java/oracle-jdk-bin:9 gentoo-vm

What's the proper procedure to unmask the flag locally?

(Yes, I know it is experimental and yes I know what I am doing with it. I already use eselect for older EA builds 
of Java 9 with 1.9 slot and new EA builds of Java 10 - just not the "official" Java 9 from the tree.)

Cheers,
Jörg
  



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Re: Howto unmask use flag
  2017-12-28  2:10 [gentoo-user] Howto unmask use flag Jörg Schaible
@ 2017-12-28  2:20 ` Jörg Schaible
  2017-12-28  3:55   ` R0b0t1
  0 siblings, 1 reply; 4+ messages in thread
From: Jörg Schaible @ 2017-12-28  2:20 UTC (permalink / raw
  To: gentoo-user


Found it. I have to create my own package.use.mask file in /etc/portage/profile that reverts the setting.

Am Thu, 28 Dec 2017 02:10:36 +0000 schrieb Jörg Schaible:

> Hi,
> 
> how can I unmask a use flag masked in profiles/base/package.use.mask? If
> I set the flag for the package in / etc/portage/package.use it is simply
> ignored.
> 
> Concrete example: My /etc/portage/package.use contains the line:
> 
>   dev-java/oracle-jdk-bin:9 doc gentoo-vm source
> 
> However the flag 'gentoo-vm' is always ignored because it is masked in
> profiles/base/package.use.mask with the line:
> 
>   dev-java/oracle-jdk-bin:9 gentoo-vm
> 
> What's the proper procedure to unmask the flag locally?
> 
> (Yes, I know it is experimental and yes I know what I am doing with it.
> I already use eselect for older EA builds of Java 9 with 1.9 slot and
> new EA builds of Java 10 - just not the "official" Java 9 from the
> tree.)
> 
> Cheers,
> Jörg




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Re: Howto unmask use flag
  2017-12-28  2:20 ` [gentoo-user] " Jörg Schaible
@ 2017-12-28  3:55   ` R0b0t1
  2017-12-28  8:30     ` Neil Bothwick
  0 siblings, 1 reply; 4+ messages in thread
From: R0b0t1 @ 2017-12-28  3:55 UTC (permalink / raw
  To: gentoo-user

On Wed, Dec 27, 2017 at 8:20 PM, Jörg Schaible <joerg.schaible@gmx.de> wrote:
>
> Found it. I have to create my own package.use.mask file in /etc/portage/profile that reverts the setting.
>

I suspect /etc/portage/profile is not the right place, I vaguely
remember being able to override it, but can't remember specifics.

Depending on what precisely you want, consider looking at
https://github.com/Obsidian-StudiosInc/os-xtoo (check dev-java). I
typically recommend staying away from overlays, but inasmuch as I can
review this one, it seems good.

You can get OpenJDK 9 packages from Ubuntu. It looks like official
releases are not available yet?

Cheers,
     R0b0t1

> Am Thu, 28 Dec 2017 02:10:36 +0000 schrieb Jörg Schaible:
>
>> Hi,
>>
>> how can I unmask a use flag masked in profiles/base/package.use.mask? If
>> I set the flag for the package in / etc/portage/package.use it is simply
>> ignored.
>>
>> Concrete example: My /etc/portage/package.use contains the line:
>>
>>   dev-java/oracle-jdk-bin:9 doc gentoo-vm source
>>
>> However the flag 'gentoo-vm' is always ignored because it is masked in
>> profiles/base/package.use.mask with the line:
>>
>>   dev-java/oracle-jdk-bin:9 gentoo-vm
>>
>> What's the proper procedure to unmask the flag locally?
>>
>> (Yes, I know it is experimental and yes I know what I am doing with it.
>> I already use eselect for older EA builds of Java 9 with 1.9 slot and
>> new EA builds of Java 10 - just not the "official" Java 9 from the
>> tree.)
>>
>> Cheers,
>> Jörg
>
>
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Re: Howto unmask use flag
  2017-12-28  3:55   ` R0b0t1
@ 2017-12-28  8:30     ` Neil Bothwick
  0 siblings, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2017-12-28  8:30 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 406 bytes --]

On Wed, 27 Dec 2017 21:55:27 -0600, R0b0t1 wrote:

> > Found it. I have to create my own package.use.mask file
> > in /etc/portage/profile that reverts the setting. 
> 
> I suspect /etc/portage/profile is not the right place,

It is the right place according to man portage.


-- 
Neil Bothwick

God said, "div D = rho, div B = 0, curl E = - @B/@t, curl H = J + @D/@t,"
and there was light.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-12-28  8:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-28  2:10 [gentoo-user] Howto unmask use flag Jörg Schaible
2017-12-28  2:20 ` [gentoo-user] " Jörg Schaible
2017-12-28  3:55   ` R0b0t1
2017-12-28  8:30     ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox