Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 307409

Summary: sys-apps/portage-2.2* deploop deptree dump hides some useflags
Product: Portage Development Reporter: Nathan Phillip Brink (binki) (RETIRED) <binki>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 307597    
Attachments: /tmp/emerge-deploop-nouseflags.txt
/tmp/emerge--info.txt
force verbose USE display

Description Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-03-02 02:08:41 UTC
I'll attach a log that shows the full output out of which I am grabbing excerpts for below:

I passed -vp1 to emerge:

[nomerge      ] net-print/cups-1.3.11-r1 [1.3.10-r2] USE="lib32%* -X* -dbus* -java* -php* -xinetd*"
[ebuild  N    ]  app-text/poppler-0.12.3-r3  USE="abiword cairo cjk jpeg jpeg2k lcms lib32 png utils xpdf-headers -debug -doc -exceptions -qt4"
[ebuild   R   ]   x11-libs/gtk+-2.16.6  USE="lib32%* -doc*"
[ebuild     U ]    net-print/cups-1.3.11-r1 [1.3.10-r2] USE="lib32%* -X* -dbus* -java* -php* -xinetd*"

See that the package which is being newly merged has all of its useflags shown. In the case of deploop solving, however, one would be benefited by seeing all of the useflags that are enabled even on packages that are being reinstalled. This is because deploop solving involves temporarily disabling useflags, etc.

In the above example, gtk+ has a cups useflag which is enabled and could be temporarily disabled by the user to break the deploop. Yet to find that information, I consulted eix ;-)
Comment 1 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-03-02 02:12:12 UTC
Created attachment 221725 [details]
/tmp/emerge-deploop-nouseflags.txt
Comment 2 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-03-02 02:13:16 UTC
oh, sorry, I forgot to mention that I'm using tommy[d]'s portage-multilib branch, version 2.2_rc63-r1.
Comment 3 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-03-02 02:14:10 UTC
Created attachment 221727 [details]
/tmp/emerge--info.txt
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-03-02 02:24:06 UTC

*** This bug has been marked as a duplicate of bug 175808 ***
Comment 5 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-03-02 05:15:47 UTC
bug 175808 doesn't seem to address the issue this bug is filed against. I thought I made it clear that I'm requesting that portage be more verbose to better enable users to break out of deploops. I'd imagine that a fix to this bug would be trivial compared to the other bug.

Or maybe I'm missing some flag/argument I may pass to portage that makes it more verbose somehow?
Comment 6 Zac Medico gentoo-dev 2010-03-08 08:56:53 UTC
Created attachment 222639 [details, diff]
force verbose USE display

Save as /tmp/force_verbose.patch and apply as follows:

  patch /usr/lib/portage/pym/_emerge/depgraph.py /tmp/force_verbose.patch
Comment 7 Zac Medico gentoo-dev 2010-03-08 10:34:22 UTC
This is fixed in 2.1.8.2 and 2.2_rc66.