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

Attachments

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

Replies