Gentoo Archives: gentoo-dev

From: Peter Stuge <peter@×××××.se>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] profiles/default/linux: Add USE="bzip2 lzma zstd" to defaults
Date: Mon, 12 Jul 2021 15:30:56
Message-Id: 20210712153047.511.qmail@stuge.se
In Reply to: Re: [gentoo-dev] [PATCH] profiles/default/linux: Add USE="bzip2 lzma zstd" to defaults by Matt Turner
1 Matt Turner wrote:
2 > > > If you can find a case where you wouldn't want to enable one of these
3 > > > USE flags, please let me know and I'll reconsider my position.
4 > >
5 > > My catalyst spec files all have use: -* foo bar x y z
6 > > specifically because the defaults are never what I want for any given
7 > > system. I build desktops, servers, containers, VM appliance images and
8 > > embedded system, and I know what I want in each one. Especially the
9 > > latter frequently have only very few USE flags set and I want zero
10 > > extra dependencies.
11 >
12 > I think you're making a great argument that you'd be completely
13 > unaffected by any of the suggestions in this thread.
14
15 I don't consider needing "use: -*" at all a desirable situation. This
16 catalyst warning might support that:
17
18 Warning!!!
19 The use of -* in $stage/use will cause portage to ignore
20 package.use in the profile and portage_confdir. You've been warned!
21
22
23 I see it as a shortcoming of the standard profiles that I have to
24 essentially create my own in order to get what I want, as opposed
25 to being able to build upon something truly minimal.
26
27
28 > > > I'd claim most of these packages' bzip2/lzma/zstd USE flags should
29 > > > be removed in favor of statically enabling them
30 > >
31 > > That is the direct opposite of Gentoo's single most core value: choice
32 >
33 > Choice makes sense when there's a legitimate trade-off to be made.
34
35 I explained that and why I frequently do not want those USE flags set,
36 demonstrating that I want choice here.
37
38 You can of course dismiss any concern which disagrees with your opinion as
39 illegitimate. Please do not bother asking questions if that's your style.
40
41
42 > Choice isn't dogma.
43
44 Is there a difference between dogma and value? I understand choice to be
45 a core value in Gentoo. Maybe that's wrong (now)? Core values are more
46 important than pretty much anything else.
47
48 Choice isn't always possible. That's not this case. If choice is indeed
49 a core value then where choice is pretty easy (this case) in my mind
50 there needs to be an overwhelmingly strong argument to conciously and
51 intentionally disable choice.
52
53
54 > > Just don't do it. Kthx.
55 >
56 > This kind of thing is nothing but irritating. Please don't do this.
57
58 I'm sorry if it wasn't clear that "Just don't do it. Kthx." meant
59 exactly what you wrote:
60
61 This kind of thing (increase default USE-flags) is nothing but irritating.
62 Please don't do this.
63
64
65 Kind regards
66
67 //Peter

Replies