Gentoo Archives: gentoo-dev

From: Alec Warner <antarus@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] rfc: noarch keyword
Date: Sat, 21 Mar 2020 18:22:56
Message-Id: CAAr7Pr8jzp3g3Dc2hHts1rv+bcUt5coFOKy2QYHQZLUwmBz=nQ@mail.gmail.com
In Reply to: Re: [gentoo-dev] rfc: noarch keyword by Alexander Tsoy
1 On Sat, Mar 21, 2020 at 1:03 AM Alexander Tsoy <alexander@××××.me> wrote:
2
3 > В Сб, 21/03/2020 в 00:53 -0700, Matt Turner пишет:
4 > > On Fri, Mar 20, 2020 at 9:55 PM Kent Fredric <kentnl@g.o>
5 > > wrote:
6 > > > If X is "noarch" and its dependency Y is "amd64", then a user on
7 > > > "sparc"
8 > > > will be able to install "X", but not its dependency "Y".
9 > >
10 > > Thank you. This is a good explanation of the problem.
11 > >
12 > > How do other distributions handle this? Arch, Fedora, and Debian have
13 > > "noarch" packages. Surely they've found a reasonable way to make this
14 > > work.
15 >
16 > Binary distros usually have separate repositories for each
17 > architecture.
18 >
19
20 Pretty much this. There is not 1 repository, there are N. This means that
21 if leaf package A "noarch" depends on package B (only stable on x86) then
22 in the x86 tree, A and B will be available. In the sparc tree, B is not
23 available and so A is uninstallable and also not available.
24
25 We had discussed doing this in the past but in practice we use a bunch of
26 files to compute these boundaries on the fly and this is not particularly
27 cheap in the current implementation.

Replies

Subject Author
Re: [gentoo-dev] rfc: noarch keyword William Hubbs <williamh@g.o>