1 |
On Fri, 15 Apr 2016 15:06:18 +0200 |
2 |
Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
3 |
|
4 |
> On 15/04/2016 13:15, Philip Webb wrote: |
5 |
|
6 |
> > I'm persisting with '-*', but I've never understood profiles |
7 |
> > & I've never done 'emerge world' without '-p', |
8 |
> > so I've always had detailed control over what it getting installed. |
9 |
> > In my home-made list of installed pkgs I note with 'USE' those |
10 |
> > which have a custom flag in package.use & check when updating. |
11 |
> |
12 |
> well there is such a thing as too much control and forcing yourself to |
13 |
> fiddle with low-level things more than you need to. |
14 |
|
15 |
I liked "forcing" myself to fiddle with that stuff, for the most part. |
16 |
I learned more about what was going on, and sometimes even why. (And I |
17 |
continue to maintain that people who've never run with USE="-*" greatly |
18 |
overestimate the time and effort that must be put into fiddling with |
19 |
things.) |
20 |
|
21 |
> Profiles are supposed to provide a decent baseline setup for a given |
22 |
> scenario or usage case. Then you fine-tweak package.use to get exactly |
23 |
> what you want. |
24 |
|
25 |
One big takeaway from my migration away from USE="-*" was that profiles |
26 |
do a really good job of that. Almost all the decisions I'd made myself |
27 |
turned out to be the same decisions the profile.gods had made. (IOW, |
28 |
the sense that I had a much more customized bunch of USE flags was an |
29 |
illusion.) |
30 |
|
31 |
> Well that's the theory. In practice profiles get confusing because |
32 |
> they inherit from all many things. If there was such a thing as an |
33 |
> easy to use user-defined profile method, the perceived need for |
34 |
> USE="-*" might go away |
35 |
|
36 |
I'm pretty sure the opaque nature of the profile cascades was my |
37 |
biggest motivation for having USE="-* in the first place, but that was |
38 |
about 15 years ago and my memory is hazy on it. I do recall clearly |
39 |
that I loved the transparency and user-control inherent in the Gentoo |
40 |
way, and that being unable to understand what was happening in profiles |
41 |
and why seemed counter to that. |
42 |
|
43 |
It would be great if there were a tool to make it easy to see where in |
44 |
the cascade of inheritance which constitutes a profile any given thing |
45 |
is set. Even greater if there were comments in the profiles' files |
46 |
about why things are set the way they are. |
47 |
|
48 |
> > Occasionally, a new flag trips me up, but it's fairly easy to |
49 |
> > recover once the location of the problem has been determined. |
50 |
> > |
51 |
> > My own complaint re USE flags is the all-too-meagre output of |
52 |
> > 'euses' : |
53 |
> > |
54 |
> > root:502 ~> euses gtk3 |
55 |
> > app-editors/bluefish:gtk3 - Enable GTK3 interface (default) |
56 |
> > app-editors/emacs:gtk3 - Prefer version 3 of the GIMP Toolkit |
57 |
> > to version 2 (x11-libs/gtk+) app-editors/emacs-vcs:gtk3 - Prefer |
58 |
> > version 3 of the GIMP Toolkit to version 2 (x11-libs/gtk+) |
59 |
|
60 |
[snip] |
61 |
|
62 |
> > This urgently needs cleaning up, like much of Emerge's output. |
63 |
> |
64 |
> Indeed. Most flag definitions give you MORE information when removed. |
65 |
> Less junk implies more truth |
66 |
|
67 |
Here's an example of a description I find far more useful than most of |
68 |
them: |
69 |
|
70 |
$ euses debug | grep parted |
71 |
sys-block/parted:debug - Enable debugging as encouraged by upstream: |
72 |
[The default configuration] includes --enable-debug (by default), which |
73 |
contains many assertions. Obviously, these "waste" space, but in the |
74 |
past, they have caught potentially dangerous bugs before they would |
75 |
have done damage, so we think it's worth it. Also, it means we get more |
76 |
bug reports ;) |
77 |
|
78 |
Without that, I'd certainly decided to disable debug for parted. |