Gentoo Archives: gentoo-dev

From: "Diego Elio Pettenò" <flameeyes@×××××××××.eu>
To: "gentoo-dev@l.g.o" <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] emerge --depclean vs missing IUSE in older ebuild.. what exactly is right?
Date: Mon, 31 Dec 2012 15:26:49
Message-Id: CAHcsgXTRR3HxBxq-dVEdDMBsvYk_1on-JFJwAqpJcRoVQMuGUg@mail.gmail.com
In Reply to: [gentoo-dev] emerge --depclean vs missing IUSE in older ebuild.. what exactly is right? by Leho Kraav
1 It doesn't — I guess gdm should have used [consolekit?,systemd(-)?].
2
3
4 Diego Elio Pettenò — Flameeyes
5 flameeyes@×××××××××.eu — http://blog.flameeyes.eu/
6
7
8 On Mon, Dec 31, 2012 at 4:22 PM, Leho Kraav <leho@×××××.com> wrote:
9
10 > Hi all
11 >
12 >
13 > Just bumped into something I haven't encountered before. Running amd64.
14 >
15 > Already had sys-auth/pambase-20101024-r2 (stable) installed. Then
16 > installed gnome-base/gdm-3.4.1-r3 binpkg, binhost had newer pambase, which
17 > is why this didn't surface before.
18 >
19 > Everything is fine for runtime, but emerge --depclean pukes with
20 > "sys-auth/pambase[consolekit] is not installed". Looking at this from all
21 > angles, this condition *is* most certainly fulfilled.
22 >
23 > Trying to re-emerge gdm from source revealed that only >=pambase-20120417
24 > seems to fulfill its requirements. Initially I couldn't figure out why.
25 >
26 > Poking around in gdm-3.4.1-r3.ebuild L56 reveals [1]:
27 >
28 > sys-auth/pambase[consolekit?,**systemd?]
29 >
30 > This lead me to check the pambase-2010 ebuild and sure enough there is no
31 > IUSE="systemd" flag.
32 > Adding "systemd" to /var/db/pkg/sys-auth/pambase-**20101024-r2/IUSE made
33 > emerge --depclean work just fine.
34 >
35 > Now, my question is: why does portage-2.1.11.31 not calculate a missing
36 > IUSE=systemd in ebuild for being the same as just USE="-systemd"? It feels
37 > like pambase-20101024-r2.ebuild [2] should fulfill gdm-3.4.1 requirements
38 > just fine, but it doesn't, at least not for this portage version.
39 >
40 > Am I missing anything known and obvious?
41 >
42 > [1]: http://sources.gentoo.org/cgi-**bin/viewvc.cgi/gentoo-x86/**
43 > gnome-base/gdm/gdm-3.4.1-r3.**ebuild?view=markup<http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/gnome-base/gdm/gdm-3.4.1-r3.ebuild?view=markup>
44 > [2]: http://sources.gentoo.org/cgi-**bin/viewvc.cgi/gentoo-x86/sys-**
45 > auth/pambase/pambase-20101024-**r2.ebuild?view=markup<http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-auth/pambase/pambase-20101024-r2.ebuild?view=markup>
46 >
47 >