1 |
Ok my conclusion is then that gdm-3.4.1.ebuild should be patched for [systemd?-], considering it seems otherwise fully compatible with current stable pambase. Opinions? |
2 |
|
3 |
-- |
4 |
Sent from my Nokia N9On 31.12.12 17:34 Michał Górny wrote: |
5 |
On Mon, 31 Dec 2012 17:22:16 +0200 |
6 |
Leho Kraav <leho@×××××.com> wrote: |
7 |
|
8 |
> Just bumped into something I haven't encountered before. Running amd64. |
9 |
> |
10 |
> Already had sys-auth/pambase-20101024-r2 (stable) installed. Then |
11 |
> installed gnome-base/gdm-3.4.1-r3 binpkg, binhost had newer pambase, |
12 |
> which is why this didn't surface before. |
13 |
> |
14 |
> Everything is fine for runtime, but emerge --depclean pukes with |
15 |
> "sys-auth/pambase[consolekit] is not installed". Looking at this from |
16 |
> all angles, this condition *is* most certainly fulfilled. |
17 |
> |
18 |
> Trying to re-emerge gdm from source revealed that only |
19 |
> >=pambase-20120417 seems to fulfill its requirements. Initially I |
20 |
> couldn't figure out why. |
21 |
> |
22 |
> Poking around in gdm-3.4.1-r3.ebuild L56 reveals [1]: |
23 |
> |
24 |
> sys-auth/pambase[consolekit?,systemd?] |
25 |
> |
26 |
> This lead me to check the pambase-2010 ebuild and sure enough there is |
27 |
> no IUSE="systemd" flag. |
28 |
> Adding "systemd" to /var/db/pkg/sys-auth/pambase-20101024-r2/IUSE made |
29 |
> emerge --depclean work just fine. |
30 |
> |
31 |
> Now, my question is: why does portage-2.1.11.31 not calculate a missing |
32 |
> IUSE=systemd in ebuild for being the same as just USE="-systemd"? It |
33 |
> feels like pambase-20101024-r2.ebuild [2] should fulfill gdm-3.4.1 |
34 |
> requirements just fine, but it doesn't, at least not for this portage |
35 |
> version. |
36 |
> |
37 |
> Am I missing anything known and obvious? |
38 |
|
39 |
http://dev.gentoo.org/~ulm/pms/5/pms.html#x1-870008.2.6.4 |
40 |
|
41 |
«Unless a 4-style default is specified, it is an error for a use |
42 |
dependency to be applied to an ebuild which does not have the flag in |
43 |
question in IUSE_REFERENCEABLE.» |
44 |
|
45 |
which in understandable language means that without USE defaults, even |
46 |
[-foo] matches only packages which have 'foo' in IUSE. |
47 |
|
48 |
-- |
49 |
Best regards, |
50 |
Michał Górny |