Gentoo Archives: gentoo-dev

From: Jeroen Roovers <jer@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [Bug 488318] media-video/mpv[luajit] - Keyword request on alpha, arm, ppc, ppc64, sparc
Date: Mon, 21 Oct 2013 13:50:45
Message-Id: 20131021155034.629be51a@marga.jer-c2.orkz.net
In Reply to: Re: [gentoo-dev] Re: [Bug 488318] media-video/mpv[luajit] - Keyword request on alpha, arm, ppc, ppc64, sparc by Tom Wijsman
1 On Sun, 20 Oct 2013 14:30:56 +0200
2 Tom Wijsman <TomWij@g.o> wrote:
3
4 > Yes, I am sorry for that; it didn't came to mind to unkeyword HPPA,
5 > because I planned to unkeyword the USE flags instead and have planned
6 > to have a bug filed, I'll pay more attention to not -f again in a
7 > hurry.
8
9 There is no "instead". The default policy (did you read the devmanual
10 yet?) is to DROP KEYWORDS (and let arch teams re-add them) -unless- that
11 is really cumbersome (when you need to drop more and more keywords as
12 a result).
13
14 Since you don't seem to get why this is. Let me give you an example.
15
16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
17 Minor Arch User: I want cat-more/pkg with USE=foo but I can't enable it.
18 Why is USE=interesting masked?
19 Minor Arch Dev: I don't know. Let me look it up.
20 Minor Arch Dev: Ah, it's in
21 profiles/default/linux/somearch/package.use.mask:
22 # Some Package Maintainer <some@×××××××.maintainer> (1 Jan 1970)
23 # dev-libs/interesting not keyworded so disabling, kthxbye
24 cat-more/pkg interesting
25 Minor Arch Dev: Apparently it was put there a long time ago. It has no
26 bug reference and I can't find a ChangeLog entry. Oh wait, it's
27 mentioned in profiles/ChangeLog-1971 but with the same uninformative
28 text.
29 Minor Arch User: So what do I need to do?
30 Minor Arch Dev: Er, you write an entry
31 in /etc/portage/profile/package.keywords for the dev-libs/interesting
32 package (make sure to put the ~arch or '**', yeah?), and another entry
33 in /etc/portage/profile/package.use.mask with the same entry as
34 package.use.mask (but with the sign of the USE flag inverted, right?).
35 Then when you have successfully re-emerged cat-more/pkg with
36 USE=interesting, send me a new bug report so we can start removing the
37 bitrot from the arch profile and keywording stuff properly.
38
39 (Several portage configuration explanations and bug hunts later.)
40
41 (Minor Arch User exits stage left having gained happy happy support for
42 "interesting" in his pkg.)
43 Minor Arch Dev: O, if only the keyword had been dropped at the time,
44 and two more keywords had been re-added to cat-more/pkg and
45 dev-libs/interesting at the time, none of this would have been needed.
46 Mercy!
47 (Minor Arch Dev drinks the poison and drops to the floor)
48 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
49
50
51 jer

Replies