Gentoo Archives: gentoo-dev

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>, Nikos Chantziaras <realnc@×××××.com>
Subject: Re: [gentoo-dev] Re: multilib amd64 news item for review
Date: Sun, 29 Mar 2015 18:00:42
Message-Id: 20150329210028.8d7825026df46eb96656df88@gentoo.org
In Reply to: Re: [gentoo-dev] Re: multilib amd64 news item for review by "Michał Górny"
1 On Sun, 29 Mar 2015 19:43:51 +0200 Michał Górny wrote:
2 > Dnia 2015-03-29, o godz. 20:35:27
3 > Andrew Savchenko <bircoph@g.o> napisał(a):
4 >
5 > > On Sun, 29 Mar 2015 19:28:22 +0200 Michał Górny wrote:
6 > > > > If this is not the case, and "*/* abi_x86_32" in package.use really does
7 > > > > something different, then this is implemented in a way too confusing for
8 > > > > people and should be considered a bug :-/
9 > > >
10 > > > Yes, USE support in make.conf is a big pile of random misbehaviors
11 > > > and bugs that need to be killed with fire.
12 > >
13 > > The proposal above is an absolute madness, especially for global
14 > > USE flags.
15 > >
16 > > Why users should deal with dozens (if not hundreds useless */*)?
17 >
18 > To get sane, consistent and predictable config for a start. But you
19 > know that you can specify multiple flags on one line, right?
20
21 I'm well aware of that..
22
23 > In fact, '*/* ' is shorter than 'USE=""'!
24
25 Only for short sets. For a long list of USE flags right now I have:
26 USE="
27 flag1
28 -flag2
29 flag3
30 ...
31 flag433
32 "
33
34 This is an easily maintainable list, which is alphabetically sorted
35 (it is trivial to do in vim).
36
37 Why 433 flags? Because for flags common to more than a single
38 package I don't want to duplicate them. For unique flags I have 225
39 entries (with comments) in package.use.
40
41 With your proposal I have three alternatives:
42
43 1.
44 */* long list of 433 flags
45
46 Hard to read, hard to maintain, no benefits.
47
48 2.
49 */* flag1
50 */* -flag2
51 */* flag3
52 ...
53 */* flag433
54
55 A lot of useless stuff, no benefits.
56
57 3.
58 */* \
59 flag1 \
60 -flag2 \
61 flag3 \
62 ... \
63 flag433
64
65 A lot of useless stuff, no benefits, easy to make mistake (e.g.
66 forgot "\" after a new flag and have a lot of stuff broken).
67
68 Best regards,
69 Andrew Savchenko

Replies

Subject Author
[gentoo-dev] Re: multilib amd64 news item for review Nikos Chantziaras <realnc@×××××.com>