Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Dirt: To shove under the rug or not shove under the rug? (aka another round of USE_EXPAND)
Date: Tue, 27 Sep 2005 15:53:24
Message-Id: pan.2005.09.27.15.40.38.795043@cox.net
In Reply to: Re: [gentoo-dev] Dirt: To shove under the rug or not shove under the rug? (aka another round of USE_EXPAND) by "Diego 'Flameeyes' Pettenò"
1 Diego 'Flameeyes' Pettenò posted
2 <200509271242.05438@××××××××××××××××××××××××××××××.org>, excerpted below,
3 on Tue, 27 Sep 2005 12:41:50 +0200:
4
5 > Saying for example that kdelibs uses kernel_linux can make people think that
6 > kdelibs works ONLY for Linux kernel, while that's not true at all.
7
8 I see your point on most of your post, but this simply doesn't ring true.
9
10 What is one of the PRIMARY things that is drilled into the user's heads in
11 all the documentation, forums, lists, etc, concerning USE flags? Is it
12 not that they configure for OPTIONAL factors, that non-optional
13 dependencies are merged unconditionally, so that USE flags have no effect
14 on them?
15
16 I agree that USERLAND and the like shouldn't be changed by an ordinary
17 user under ordinary circumstances. use.force and the like could be very
18 useful in this sort of situation, particularly since who knows /what/ sort
19 of vars a user may have set up in his environment, quite apart from
20 portage use, and these could do /very/ /bad/ things to emerges (which is,
21 I believe, one of Jason's points, we need to either make users aware of
22 these or isolate portage from normal vars that might have unintended
23 consequences, failure to do so is a QA issue).
24
25 However, were an ebuild to spit out kernel_linux among the USE flags and
26 the like, anybody that takes it as you suggest they might, that it works
27 ONLY for the Linux kernel, can be said to know little enough about
28 portage and how it works, specifically about how it treats optional vs
29 non-optional dependencies, that they are a danger to themselves and the
30 system they are attempting to maintain! Anybody NOT understanding that
31 USE flags (and USE_EXPAND if we start displaying that as well) govern
32 optional, NOT hard dependencies, while trying to work with portage, is
33 ALREADY a danger to his system, to the point he shouldn't be making
34 decisions about merges and the like in the /first/ place, because he
35 doesn't understand enough about the process to do it in a logically
36 coherent manner, and should REALLY spend a bit more time with the docs (or
37 away from the booze or whatever may be clouding his judgement), before he
38 starts emerging stuff.
39
40 So... for these sorts of things, I'd say treat them like build and
41 boostrap, display them, but document the consequences of messing with them
42 equally well.
43
44 --
45 Duncan - List replies preferred. No HTML msgs.
46 "Every nonfree program has a lord, a master --
47 and if you use the program, he is your master." Richard Stallman in
48 http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html
49
50
51 --
52 gentoo-dev@g.o mailing list