On Mon, 2015-03-16 at 11:12 -0700, Zac Medico wrote:
> On 03/16/2015 09:31 AM, Joakim Tjernlund wrote:
> > On Sun, 2015-03-15 at 16:37 +0000, Joakim Tjernlund wrote:
> > > On Sat, 2015-03-14 at 14:02 -0700, Zac Medico wrote:
> > > > 
> > > > You can set default USE flags in the profile, and then the users can 
> > > > override those settings locally 
> > > > (both 
> > > > positively and negatively). You should not be using use.mask at all 
> > > > here. The profile can set USE="-
> > > > flag" 
> > > > in make.defaults, or in packages.use, and the user can override that 
> > > > without having to mess with 
> > > > use.mask.
> > > 
> > > That is how I started, I added -thin etc. to profile's package.use and it 
> > > didn't work so I moved over
> > > to package.mask.
> > > Now when I try with -thin again in profile's package.use it actually 
> > > works!
> > > I have no idea what got wrong the first time.
> > > Anyhow, thank you for your patience. I will continue moving over all 
> > > Transmode stuff to our new profile 
> > > the 
> > > next few days :)
> > 
> > hmm, spoke too fast. Negative USE flags in profiles package.use works on 
> > other
> > computers but mine :-(
> > 
> > I have in profiles package.use:
> >  app-emulation/qemu usb usbredir vde qemu_user_targets_x86_64 xattr virtfs 
> > static-user -alsa -pulseaudio -
> > bluetooth -opengl
> > but on my computer the -USE flags(-alsa -pulseaudio -bluetooth -opengl) 
> > have no effect.
> > I have been looking high and low what could case this but no luck, any 
> > pointers ? 
> 
> Maybe you have overridden the default USE_ORDER setting? You can use
> this command to check it:
> 
>    portageq envvar USE_ORDER
> 

That was not it, however:
It seems like USE in /etc/portage/make.conf overrides any negative
USE flags in profiles/package.use ?
Example
 /etc/portage/make.conf: USE=alsa
 .../profiles/package.use: app-emulation/qemu -alsa
Here USE=alsa overides app-emulation/qemu -alsa ?

Seems asymmetric that you can only add but not subtract USE flags
in profiles/package.use. 

 Jocke

Reply via email to