1 |
(top posting because I can't be bothered to sort all the irrelevant |
2 |
stuff you posted) |
3 |
|
4 |
The person in question is using /usr/portage/profiles/uclibc/x86 |
5 |
|
6 |
If you look in /usr/portage/profiles/uclibc/x86/parent you'll see that |
7 |
t's parent profile is /usr/portage/profiles/uclibc/. If you look in |
8 |
/usr/portage/profiles/uclibc/parent you'll see that it's profile is |
9 |
/usr/portage/profiles/base. |
10 |
|
11 |
Now, look in /usr/portage/profiles/base/use.mask |
12 |
|
13 |
That's the reason the win32codecs useflag is masked on this profile, as |
14 |
I explained in an earlier email. |
15 |
|
16 |
Dave |
17 |
|
18 |
|
19 |
On 13:28 Wed 13 Jul , Holly Bostick wrote: |
20 |
> David Morgan schreef: |
21 |
> > On 12:39 Wed 13 Jul , Holly Bostick wrote: |
22 |
> >>Obviously -- or at least it seems obvious to me, but that doesn't say |
23 |
> >>much-- that if the package is hard-masked, the USE flag that is |
24 |
> >>associated with it will be disabled (because the package the USE flag |
25 |
> >>would call is unavailable). |
26 |
> > |
27 |
> > |
28 |
> > Maybe, but that's not the way portage works these things out |
29 |
> > |
30 |
> Well, it looks like you're at least partially right-- I went back to the |
31 |
> source: |
32 |
> |
33 |
> > # Copyright 2004 Gentoo Foundation. |
34 |
> > # Distributed under the terms of the GNU General Public License v2 |
35 |
> > # $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/use.mask,v 1.14 2005/05/20 11:52:10 lu_zero Exp $ |
36 |
> > |
37 |
> > # This file masks out USE flags that are simply NOT allowed in the default |
38 |
> > # profile for any architecture. This works, for example, if a non-default |
39 |
> > # profile (such as the selinux profiles) have a USE flag associated with |
40 |
> > # them. |
41 |
> > |
42 |
> > uclibc |
43 |
> > |
44 |
> > # aqua USE flag is only valid on Mac OS X |
45 |
> > aqua |
46 |
> > |
47 |
> > # amd64 only: |
48 |
> > emul-linux-x86 |
49 |
> > |
50 |
> > # sparc only: |
51 |
> > ultra1 |
52 |
> > |
53 |
> > # x86 only |
54 |
> > divx4linux |
55 |
> > win32codecs |
56 |
> > kqemu |
57 |
> |
58 |
> |
59 |
> > # Copyright 2004 Gentoo Foundation. |
60 |
> > # Distributed under the terms of the GNU General Public License, v2 |
61 |
> > # $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/x86/use.mask,v 1.8 2005/05/21 01:13:41 lu_zero Exp $ |
62 |
> > |
63 |
> > # This file masks out USE flags that are simply NOT allowed in the default |
64 |
> > # x86 profile. This works, for example, if another architecture's |
65 |
> > # profile have a USE flag associated with (such as altivec, mmx, etc). |
66 |
> > |
67 |
> > # Unmask x86 instruction sets |
68 |
> > -mmx |
69 |
> > -mmx2 |
70 |
> > -mmxext |
71 |
> > -sse |
72 |
> > -sse2 |
73 |
> > -3dnow |
74 |
> > -3dnowext |
75 |
> > -win32codecs |
76 |
> |
77 |
> Plus, these files are where the masks are, the use.mask for the uclibc |
78 |
> profile only contains |
79 |
> |
80 |
> > pam |
81 |
> > nls |
82 |
> > nptl |
83 |
> > nis |
84 |
> > # aqua USE flag is only valid on Mac OS X |
85 |
> > aqua |
86 |
> > |
87 |
> > # this seems to pull in pre compiled glibc libs. |
88 |
> > divx4linux |
89 |
> > |
90 |
> > emul-linux-x86 |
91 |
> > |
92 |
> > |
93 |
> > |
94 |
> |
95 |
> and nothing else (and the other folders in the profile folder don't |
96 |
> contain a use.mask). |
97 |
> |
98 |
> Oh, wait a minute, I think I found it: |
99 |
> |
100 |
> > # Copyright 1999-2004 Gentoo Foundation |
101 |
> > # Distributed under the terms of the GNU General Public License v2 |
102 |
> > # $Header: /var/cvsroot/gentoo-x86/profiles/selinux/use.mask,v 1.1 2005/05/08 23:37:08 pebenito Exp $ |
103 |
> > |
104 |
> > -selinux |
105 |
> > |
106 |
> > # disallow posix acl since this is SELinux |
107 |
> > acl |
108 |
> > |
109 |
> > # aqua USE flag is only valid on Mac OS X |
110 |
> > aqua |
111 |
> > |
112 |
> > # must use a specific SELinux profile that unmasks this |
113 |
> > uclibc |
114 |
> > |
115 |
> > |
116 |
> > |
117 |
> > # Copyright 1999-2004 Gentoo Foundation |
118 |
> > # Distributed under the terms of the GNU General Public License v2 |
119 |
> > # $Header: /var/cvsroot/gentoo-x86/profiles/selinux/2005.1/x86-uclibc/use.mask,v 1.3 2005/05/14 20:53:38 pebenito Exp $ |
120 |
> > |
121 |
> > -uclibc |
122 |
> > |
123 |
> > -win32codecs |
124 |
> > |
125 |
> > # PPC instructions |
126 |
> > altivec |
127 |
> > |
128 |
> > nls |
129 |
> > |
130 |
> |
131 |
> But from this, it looks like there is no way to unmask the USE flags in |
132 |
> question-- "simply NOT allowed" seems pretty definitive, although a |
133 |
> careful reading of man portage might reveal a loophole. But I doubt it.. |
134 |
> and in fact, it does not seem to have any such, from the files list in |
135 |
> man portage: |
136 |
> |
137 |
> |
138 |
> > SYNOPSIS |
139 |
> > /etc/ |
140 |
> > make.globals |
141 |
> > make.conf(5) |
142 |
> > |
143 |
> > /etc/make.profile/ |
144 |
> > deprecated |
145 |
> > make.defaults |
146 |
> > packages |
147 |
> > packages.build |
148 |
> > package.provided |
149 |
> > parent |
150 |
> > use.defaults |
151 |
> > use.mask |
152 |
> > virtuals |
153 |
> > |
154 |
> > /etc/portage/ |
155 |
> > bashrc |
156 |
> > package.mask |
157 |
> > package.unmask |
158 |
> > package.keywords |
159 |
> > package.use |
160 |
> > mirrors |
161 |
> > categories |
162 |
> > |
163 |
> > /etc/portage/profile/ |
164 |
> > site-specific overrides of /etc/make.profile/ |
165 |
> > |
166 |
> > /usr/portage/profiles/ |
167 |
> > arch.list |
168 |
> > categories |
169 |
> > info_pkgs |
170 |
> > info_vars |
171 |
> > package.mask |
172 |
> > profiles.desc |
173 |
> > thirdpartymirrors |
174 |
> > use.desc |
175 |
> > use.local.desc |
176 |
> > use.mask |
177 |
> > |
178 |
> > /var/lib/portage/ |
179 |
> > world |
180 |
> > |
181 |
> |
182 |
> Don't see anything like a use.unmask file. |
183 |
> |
184 |
> What I would now be interested in, if this concerned me, is why this |
185 |
> particular USE flag is "simply NOT allowed" under this extremely |
186 |
> specialized profile, but I have no idea where I would find that |
187 |
> information (except maybe b.g.o, or the gentoo docs related to either |
188 |
> uclibc, hardened/selinux, masked packages, or all of the above). |
189 |
> |
190 |
> Holly |
191 |
> |
192 |
> -- |
193 |
> gentoo-user@g.o mailing list |
194 |
> |
195 |
|
196 |
-- |
197 |
djm |
198 |
|
199 |
-- |
200 |
gentoo-user@g.o mailing list |