Gentoo Archives: gentoo-user

From: Daniel Pielmeier <billie@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] portage getting mixed up with USE?
Date: Wed, 22 Jun 2011 12:24:06
Message-Id: BANLkTi=7r6XUMK9TrW+xq85HvwgnZXaFLA@mail.gmail.com
In Reply to: Re: [gentoo-user] portage getting mixed up with USE? by Alan McKinnon
1 2011/6/22 Alan McKinnon <alan.mckinnon@×××××.com>:
2 >
3 > Ah, hang on a sec. It's not quite what I thought.
4 >
5 > The original emerge command done again, plus just fltk on it's own:
6 >
7 >
8 > # USE="dillo" emerge -pv claws-mail
9 > ...
10 > Calculating dependencies... done!
11 > [ebuild  N     ] net-libs/libetpan-1.0  USE="berkdb gnutls sasl ssl -
12 > debug -ipv6 -liblockfile" 0 kB
13 > [ebuild  N     ] x11-libs/fltk-2.0_pre6970-r1  USE="jpeg opengl png
14 > xft xinerama zlib -cairo -debug -doc" 0 kB
15 > [ebuild  N     ] www-client/dillo-2.2  USE="gif jpeg png ssl -doc -
16 > ipv6" 0 kB
17 > [ebuild   R    ] mail-client/claws-mail-3.7.9-r1  USE="crypt dbus
18 > dillo* gnutls imap ldap session spell ssl startup-notification -
19 > bogofilter -doc -ipv6 -nntp -pda -smime -spamassassin -xface" 0 kB
20 >
21 >
22 > # emerge -pv fltk
23 > ...
24 > Calculating dependencies... done!
25 > [ebuild  N     ] x11-libs/fltk-2.0_pre6970-r1  USE="cairo jpeg opengl
26 > png xft xinerama zlib -debug -doc" 0 kB
27 >
28 >
29 >
30 > The first and second are very different.
31 >
32 >> I was under the impression portage only did this if the USE flags
33 >> for a package needed to be changed from the current settings.
34 >
35 > Now it appears that emerge output (at least in the case of an
36 > unsatisfied emerge) is "what portage *needs* to do" instead of "what
37 > it *will* do"
38
39 This is what I mentioned before.
40
41 > Portage has always displayed the latter right? That makes sense - you
42 > can see what the emerge command would do as entered and compare it to
43 > the error to see what the problem is. In this case it's a tweak to
44 > package.use which I'm perfectly happy to do.
45 >
46 > I think it's bug time, portage is displaying the wrong output for
47 > failures.
48
49 You can try if you get the desired output if FEATURES="-autounmask".
50 If you enable autounmask portage automatically enableds the required
51 changes and tells you the changes required to your configuration.
52
53 --
54 Regards,
55 Daniel

Replies

Subject Author
Re: [gentoo-user] portage getting mixed up with USE? Alan McKinnon <alan.mckinnon@×××××.com>