Gentoo Archives: gentoo-dev

From: Gordon Pettey <petteyg359@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: noarch keyword
Date: Thu, 19 Mar 2020 17:18:54
Message-Id: CAHY5Mefm8GidjW8JfYjmggAxzKiNOU3fH_k+an3L7SM+vxVM6g@mail.gmail.com
In Reply to: Re: [gentoo-dev] rfc: noarch keyword by Alec Warner
1 On Thu, Mar 19, 2020 at 9:47 AM Alec Warner <antarus@g.o> wrote:
2
3 > On Thu, Mar 19, 2020 at 6:52 AM Gerion Entrup <gerion.entrup@×××××.de>
4 > wrote:
5 >
6 >> Am Donnerstag, 19. März 2020, 02:59:56 CET schrieb Kent Fredric:
7 >> > On Wed, 18 Mar 2020 17:52:25 +0000
8 >> > James Le Cuirot <chewi@g.o> wrote:
9 >> >
10 >> > > Not quite. Tools like repoman will need to be updated to understand
11 >> > > that an ebuild with KEYWORDS="amd64" can depend on another ebuild with
12 >> > > only KEYWORDS="noarch". I do think the idea has merit though.
13 >> >
14 >> > But the inverse is _not_ true, an ebuild with KEYWORDS="noarch"
15 >> > *cannot* depend on another ebuild with only KEYWORDS="amd64".
16 >> Maybe I misunderstand something but shouldn't that be the normal case?
17 >> Every single Python package (candidates for noarch) for example depends
18 >> on the Python interpreter, which must have non noarch keywords.
19 >>
20 >>
21 >> > Otherwise it breaks the entire stabilization graph.
22 >> The condition would be: If the interpreter is stable for an arch, all
23 >> it's interpreted code is also stable for this arch.
24 >>
25 >
26 > Much of the concern is that this condition is not true for all interpreted
27 > code.
28 >
29 > -A
30 >
31 >
32 >>
33 >>
34 >> Best,
35 >> Gerion
36 >>
37 >
38 If noarch is an alias that includes all keywords, KEYWORDS="noarch -sparc"
39 works (in Portage, not sure what PMS says about keyword additivity) and
40 doesn't break your keyword dependency graph for a Python package that for
41 whatever reason doesn't function on sparc.
42
43 Semantically, noarch says it hasn't been tested on any arch, so Kent's
44 evidence follows. Once you get a negative test result from an arch, you add
45 -arch to that package. It's not called "allarches".

Replies

Subject Author
Re: [gentoo-dev] rfc: noarch keyword "Michał Górny" <mgorny@g.o>