1 |
On Sat, 16 May 2015 07:16:58 -0400, Rich Freeman wrote: |
2 |
|
3 |
> > Unless your screen is IMAX-sized, two screens of text is a lot more |
4 |
> > lightfooted than add extra libraries to nearly 200 packages - and most |
5 |
> > of that text is comments anyway. |
6 |
> > |
7 |
> |
8 |
> Well, it can be a lot more than two screens of text. I have 1300 |
9 |
> lines of package.use, almost all of it for abi_x86_32. I suspect that |
10 |
> this the result of stuff like steam, wine, android-sdk-update-manager, |
11 |
> and eternal-lands - all packages that involve graphics libraries and |
12 |
> toolkits with huge dependency trees. |
13 |
|
14 |
Does that include the several lines of comments, often repeated, that |
15 |
portage includes in the auto-unmask output? I just checked two systems |
16 |
for abi_x86_32 and got around 130 lines in one and 220 in the other. |
17 |
|
18 |
The smaller number is for a laptop with a lighter install, although there |
19 |
isn't a massive difference between the total number of packages installed |
20 |
on each. Enabling the flag globally would probably affect the lighter, |
21 |
and slower, system more. |
22 |
|
23 |
> 1. Portage's error messages when it is unable to produce a resolution |
24 |
> are really confusing - somewhere in that wall of text are some clues |
25 |
> that might eventually lead you to the likely 1-3 use flag or keyword |
26 |
> tweaks that will fix the whole mess, but good luck finding it. Your |
27 |
> example isn't even a terribly bad one - when you get those errors with |
28 |
> something like qt it goes on forever. |
29 |
> |
30 |
> 2. Portage requires non-package-default use flags to always be |
31 |
> specified explicitly either globally or per-package. I don't have to |
32 |
> put qt in my world file to install kde, because portage knows it is |
33 |
> needed and just installs it, and removes it when it is no longer |
34 |
> needed. However, if something needs the qt use flag, portage can't |
35 |
> treat it the same way. |
36 |
> |
37 |
> Now, there are certainly reasons why both of these issues exist. |
38 |
> Solving them may not be trivial, and in the case of #2 perhaps there |
39 |
> may be unintended consequences like unnecessary package rebuilds to |
40 |
> progressively add/remove flags. And, of course, somebody has to do the |
41 |
> work and since I'm not busy writing patches to portage right now I'm |
42 |
> not going to complain too much about it. |
43 |
> |
44 |
> However, I really think that these are the real issue here. That, and |
45 |
> automatically solving depgraph issues isn't trivial. |
46 |
|
47 |
No argument there. Portage's output can be unhelpful, obtuse, even |
48 |
misleading at times, but as I'm not in a position to do something about |
49 |
it, neither am I in a position to complain about it. |
50 |
|
51 |
|
52 |
-- |
53 |
Neil Bothwick |
54 |
|
55 |
[---- Printed on recycled electrons ----] |