Gentoo Archives: gentoo-dev

From: MSavoritias <marinus.savoritias@×××××××.dev>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] profiles/default/linux: Add USE="bzip2 lzma zstd" to defaults
Date: Thu, 08 Jul 2021 21:34:04
Message-Id: AC2DD447-72E4-42EA-91DC-F6CBCB24F609@oezhayl.dev
In Reply to: Re: [gentoo-dev] [PATCH] profiles/default/linux: Add USE="bzip2 lzma zstd" to defaults by Matt Turner
1 On July 8, 2021 8:50:39 PM UTC, Matt Turner <mattst88@g.o> wrote:
2 >On Thu, Jul 8, 2021 at 1:41 PM Peter Stuge <peter@×××××.se> wrote:
3 >>
4 >> Matt Turner wrote:
5 >> > If you can find a case where you wouldn't want to enable one of
6 >these
7 >> > USE flags, please let me know and I'll reconsider my position.
8 >>
9 >> My catalyst spec files all have use: -* foo bar x y z
10 >> specifically because the defaults are never what I want for any given
11 >> system. I build desktops, servers, containers, VM appliance images
12 >and
13 >> embedded system, and I know what I want in each one. Especially the
14 >> latter frequently have only very few USE flags set and I want zero
15 >> extra dependencies.
16 >
17 >I think you're making a great argument that you'd be completely
18 >unaffected by any of the suggestions in this thread.
19 >
20 >> I completely agree that the default USEs should rather be reduced,
21 >> not increased. Isn't this what profile inheritance is for? It would
22 >> be great if I didn't essentially have to create my own profile when I
23 >> want a very minimal system.
24 >>
25 >>
26 >> Matt Turner wrote:
27 >> > I'd claim most of these packages' bzip2/lzma/zstd USE flags should
28 >> > be removed in favor of statically enabling them
29 >>
30 >> That is the direct opposite of Gentoo's single most core value:
31 >choice
32 >
33 >Choice makes sense when there's a legitimate trade-off to be made.
34 >Choice isn't dogma.
35
36 Well the legitimate trade-off is complexity as stated previously. Gentoo is not supposed to be batteries included. It is supposed to be building blocks for each persons own thing.
37
38 Instead of adding the use flag what would ne more in Gentoo spirit would be to add to handbook a guide for common use flags.
39
40 Plus just because people disagree here with the proposal doesnt mean its dogma. It may be just disagreement.
41
42 >
43 >> Just don't do it. Kthx.
44 >
45 >This kind of thing is nothing but irritating. Please don't do this.
46
47 Agreed.
48
49 I think it would be better to look into reexamining the default use flags and how we handle them. It may be more time consuming but it seems like the correct way forward instead of just adding one flag.
50
51 Since it is indeed a historical tech debt that we have here.
52
53 MSavoritias

Replies