Gentoo Archives: gentoo-dev

From: Sam James <sam@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Cc: "Michał Górny" <mgorny@g.o>, base-system@g.o
Subject: Re: [gentoo-dev] [PATCH] profiles/base: add app-alternatives/{awk,bzip2,gzip,sh,tar} to @system
Date: Wed, 28 Dec 2022 19:06:26
Message-Id: 8293B2A2-6269-4F41-AA07-43A7B427ED21@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH] profiles/base: add app-alternatives/{awk,bzip2,gzip,sh,tar} to @system by Sam James
1 > On 28 Dec 2022, at 18:52, Sam James <sam@g.o> wrote:
2 >
3 >
4 >
5 >> On 28 Dec 2022, at 16:27, Sam James <sam@g.o> wrote:
6 >>
7 >>
8 >>
9 >>> On 28 Dec 2022, at 16:04, Sam James <sam@g.o> wrote:
10 >>>
11 >>> - Before this commit, nothing pulls in app-alternatives/sh, so we're relying on
12 >>> app-shells/bash handling /bin/sh as an orphaned symlink (which is one of the big
13 >>> things we're trying to move away from).
14 >>>
15 >>> - Add in the others (app-alternatives/{awk,bzip2,gzip,tar}) to allow setup
16 >>> via /etc/portage/package.use without adding these to @world manually,
17 >>> this also lays the ground work for at some point removing specific implementations
18 >>> in the future (after making sure ebuilds which need specific impls. depend on them).
19 >>>
20 >>> - Note that there's two exceptions:
21 >>> 1. app-alternaitves/yacc
22 >>>
23 >>> No need to explicitly add into @system, because we previously had virtual/yacc
24 >>> so it'll get pulled in by ebuild dependencies anyway.
25 >>>
26 >>> 2. app-alternatives/lex
27 >>>
28 >>> We never had virtual/lex before and packages very often explicitly
29 >>> depend on sys-devel/flex. But this isn't a big deal given it's very unlikely
30 >>> that a user wants to try modify lex yet and reflex is still very new as an
31 >>> option in Gentoo.
32 >>>
33 >>> That is, as time goes on and we test more to ensure it works with any lex,
34 >>> it'll get pulled in as various ebuilds get updated anyway.
35 >>>
36 >>> Bug: https://bugs.gentoo.org/886017
37 >>> Bug: https://bugs.gentoo.org/886247
38 >>> Signed-off-by: Sam James <sam@g.o>
39 >>> ---
40 >>> profiles/base/packages | 9 ++++++---
41 >>> 1 file changed, 6 insertions(+), 3 deletions(-)
42 >>>
43 >>
44 >> FWIW, I'd like to push this today to avoid users having to deal
45 >> with the migration "twice" if they have eselect-sh installed,
46 >> given app-alternatives/* got stabled yesterday/early today.
47 >
48 > After discussion in #gentoo-pms, I'm going to push this
49 > with only the +s (i.e. keep gzip + bzip2 in @system for now),
50 > as PMS at least for gzip is clear it wants GNU gzip available,
51 > and it says "bzip2" must be as well.
52 >
53 > I'd like to revisit this another time and see about changing that
54 > if appropriate, but that's tangential to the reason I'm trying to do
55 > this quickly (minimising impact for users).
56 >
57 > I'll open a bug so we don't forget to do that revisiting.
58 >
59
60 https://bugs.gentoo.org/888777

Attachments

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