Re: [gentoo-user] Re: Howto unmask use flag

2017-12-28 Thread Neil Bothwick
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.


pgpuhB2tjND3x.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Howto unmask use flag

2017-12-27 Thread R0b0t1
On Wed, Dec 27, 2017 at 8:20 PM, Jörg Schaible  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 + 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
>
>
>



[gentoo-user] Re: Howto unmask use flag

2017-12-27 Thread Jörg Schaible

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 + 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