Gentoo Archives: gentoo-dev

From: Friedrich Oslage <bluebird@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] best way to use profiles and package.use.mask?
Date: Tue, 12 Aug 2008 18:40:58
Message-Id: 1218566453.11153.19.camel@lya.porno-bullen.de
In Reply to: [gentoo-dev] best way to use profiles and package.use.mask? by Steve Dibb
1 Maybe we should ask Recruiters what most people answered to that
2 eom-quiz question :)
3
4 I personally think no, individual ebuild devs shouldn't touch
5 arch-profiles. They should simply drop the (broken) keywords and file a
6 keywordreq bug for those arches. Then the arch-teams can test and
7 eventually decide whether to keyword the package or mask the use-flag.
8
9 This way it will be documented in the package's ChangeLog which is
10 usually the first one I check and we won't pollute the profiles's
11 ChangeLog with lots of "added, removed, added, removed" entries.
12
13 Cheers,
14 Friedrich
15
16 Am Dienstag, den 12.08.2008, 12:00 -0600 schrieb Steve Dibb:
17 > Okay, this is something that I've wondered about for a while, but need
18 > to ask -- what is the best way (do we even have a policy) for using
19 > package.use.mask in profiles?
20 >
21 > A couple of specific questions:
22 >
23 > If I need to mask a use flag because of use flag dependencies that won't
24 > work on a particular arch, do I need to contact the arch teams to modify
25 > their package.use.mask profile? If the answer is yes, I can see that as
26 > a huge blocker since I'd have to wait on the arches to do something
27 > before I can even put an ebuild in the tree. I realize this is a
28 > per-arch question depending on how each one might respond, but a common
29 > consensus would be good.
30 >
31 > Are there ever any cases where we could just simply put the use flag as
32 > restricted in the global package.use.mask and then unrestrict them in
33 > the profiles ones if, for example, it only worked on one or a few
34 > arches? Or is the best policy always to mask it on each profile?
35 >
36 > As for a specific example, mplayer's dxr2/dxr3 use flag now pulls in a
37 > dependency (media-video/em8300-libraries) which is only keyworded for
38 > x86, ppc, and amd64. That means I'd have to mask the use flag in alpha,
39 > hppa, ia64, ppc64 and sparc (according to repoman). I could skirt the
40 > issue completely and just run an if statement checking if they are using
41 > any of those three arches, but I'd prefer to do it the right way. And
42 > not piss off any arch teams in the process.
43 >
44 > So I guess my question is, can individual ebuild devs freely edit
45 > package.use.mask files in profiles?
46 >
47 > Steve
48 >
49 >

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] best way to use profiles and package.use.mask? "Petteri Räty" <betelgeuse@g.o>