From: David Morgan <david.morgan@wadham.oxford.ac.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Does (-win32codecs) mean Slots?
Date: Wed, 13 Jul 2005 12:39:37 +0100 [thread overview]
Message-ID: <20050713113937.GA12265@valinor.dynalias.net> (raw)
In-Reply-To: <42D4FACE.2070509@planet.nl>
(top posting because I can't be bothered to sort all the irrelevant
stuff you posted)
The person in question is using /usr/portage/profiles/uclibc/x86
If you look in /usr/portage/profiles/uclibc/x86/parent you'll see that
t's parent profile is /usr/portage/profiles/uclibc/. If you look in
/usr/portage/profiles/uclibc/parent you'll see that it's profile is
/usr/portage/profiles/base.
Now, look in /usr/portage/profiles/base/use.mask
That's the reason the win32codecs useflag is masked on this profile, as
I explained in an earlier email.
Dave
On 13:28 Wed 13 Jul , Holly Bostick wrote:
> David Morgan schreef:
> > On 12:39 Wed 13 Jul , Holly Bostick wrote:
> >>Obviously -- or at least it seems obvious to me, but that doesn't say
> >>much-- that if the package is hard-masked, the USE flag that is
> >>associated with it will be disabled (because the package the USE flag
> >>would call is unavailable).
> >
> >
> > Maybe, but that's not the way portage works these things out
> >
> Well, it looks like you're at least partially right-- I went back to the
> source:
>
> > # Copyright 2004 Gentoo Foundation.
> > # Distributed under the terms of the GNU General Public License v2
> > # $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/use.mask,v 1.14 2005/05/20 11:52:10 lu_zero Exp $
> >
> > # This file masks out USE flags that are simply NOT allowed in the default
> > # profile for any architecture. This works, for example, if a non-default
> > # profile (such as the selinux profiles) have a USE flag associated with
> > # them.
> >
> > uclibc
> >
> > # aqua USE flag is only valid on Mac OS X
> > aqua
> >
> > # amd64 only:
> > emul-linux-x86
> >
> > # sparc only:
> > ultra1
> >
> > # x86 only
> > divx4linux
> > win32codecs
> > kqemu
>
>
> > # Copyright 2004 Gentoo Foundation.
> > # Distributed under the terms of the GNU General Public License, v2
> > # $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/x86/use.mask,v 1.8 2005/05/21 01:13:41 lu_zero Exp $
> >
> > # This file masks out USE flags that are simply NOT allowed in the default
> > # x86 profile. This works, for example, if another architecture's
> > # profile have a USE flag associated with (such as altivec, mmx, etc).
> >
> > # Unmask x86 instruction sets
> > -mmx
> > -mmx2
> > -mmxext
> > -sse
> > -sse2
> > -3dnow
> > -3dnowext
> > -win32codecs
>
> Plus, these files are where the masks are, the use.mask for the uclibc
> profile only contains
>
> > pam
> > nls
> > nptl
> > nis
> > # aqua USE flag is only valid on Mac OS X
> > aqua
> >
> > # this seems to pull in pre compiled glibc libs.
> > divx4linux
> >
> > emul-linux-x86
> >
> >
> >
>
> and nothing else (and the other folders in the profile folder don't
> contain a use.mask).
>
> Oh, wait a minute, I think I found it:
>
> > # Copyright 1999-2004 Gentoo Foundation
> > # Distributed under the terms of the GNU General Public License v2
> > # $Header: /var/cvsroot/gentoo-x86/profiles/selinux/use.mask,v 1.1 2005/05/08 23:37:08 pebenito Exp $
> >
> > -selinux
> >
> > # disallow posix acl since this is SELinux
> > acl
> >
> > # aqua USE flag is only valid on Mac OS X
> > aqua
> >
> > # must use a specific SELinux profile that unmasks this
> > uclibc
> >
> >
> >
> > # Copyright 1999-2004 Gentoo Foundation
> > # Distributed under the terms of the GNU General Public License v2
> > # $Header: /var/cvsroot/gentoo-x86/profiles/selinux/2005.1/x86-uclibc/use.mask,v 1.3 2005/05/14 20:53:38 pebenito Exp $
> >
> > -uclibc
> >
> > -win32codecs
> >
> > # PPC instructions
> > altivec
> >
> > nls
> >
>
> But from this, it looks like there is no way to unmask the USE flags in
> question-- "simply NOT allowed" seems pretty definitive, although a
> careful reading of man portage might reveal a loophole. But I doubt it..
> and in fact, it does not seem to have any such, from the files list in
> man portage:
>
>
> > SYNOPSIS
> > /etc/
> > make.globals
> > make.conf(5)
> >
> > /etc/make.profile/
> > deprecated
> > make.defaults
> > packages
> > packages.build
> > package.provided
> > parent
> > use.defaults
> > use.mask
> > virtuals
> >
> > /etc/portage/
> > bashrc
> > package.mask
> > package.unmask
> > package.keywords
> > package.use
> > mirrors
> > categories
> >
> > /etc/portage/profile/
> > site-specific overrides of /etc/make.profile/
> >
> > /usr/portage/profiles/
> > arch.list
> > categories
> > info_pkgs
> > info_vars
> > package.mask
> > profiles.desc
> > thirdpartymirrors
> > use.desc
> > use.local.desc
> > use.mask
> >
> > /var/lib/portage/
> > world
> >
>
> Don't see anything like a use.unmask file.
>
> What I would now be interested in, if this concerned me, is why this
> particular USE flag is "simply NOT allowed" under this extremely
> specialized profile, but I have no idea where I would find that
> information (except maybe b.g.o, or the gentoo docs related to either
> uclibc, hardened/selinux, masked packages, or all of the above).
>
> Holly
>
> --
> gentoo-user@gentoo.org mailing list
>
--
djm
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-07-13 11:49 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-12 9:12 [gentoo-user] Does (-win32codecs) mean Slots? Ow Mun Heng
2005-07-12 9:29 ` Renat Golubchyk
2005-07-12 10:12 ` Ow Mun Heng
2005-07-12 10:47 ` David Morgan
2005-07-13 2:50 ` Ow Mun Heng
2005-07-13 9:46 ` David Morgan
2005-07-13 10:06 ` Holly Bostick
2005-07-13 10:15 ` David Morgan
2005-07-13 10:39 ` Holly Bostick
2005-07-13 10:47 ` David Morgan
2005-07-13 11:28 ` Holly Bostick
2005-07-13 11:39 ` David Morgan [this message]
2005-07-13 12:49 ` Holly Bostick
2005-07-13 13:13 ` David Morgan
2005-07-13 14:21 ` Ow Mun Heng
2005-07-13 14:26 ` David Morgan
2005-07-13 15:37 ` [gentoo-user] " Remy Blank
2005-07-13 14:32 ` [gentoo-user] " Dave Nebinger
2005-07-18 14:42 ` Neil Bothwick
2005-07-18 15:01 ` David Morgan
2005-07-12 15:12 ` Zac Medico
2005-07-13 2:48 ` daniel
2005-07-13 2:53 ` Ow Mun Heng
2005-07-14 21:49 ` Edward Catmur
2005-07-13 5:06 ` Patrick Audley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050713113937.GA12265@valinor.dynalias.net \
--to=david.morgan@wadham.oxford.ac.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox