Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210667 - in circular dependency display also show/highlight the actual cycles
Summary: in circular dependency display also show/highlight the actual cycles
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-19 05:34 UTC by Marius Mauch (RETIRED)
Modified: 2008-02-20 22:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Mauch (RETIRED) gentoo-dev 2008-02-19 05:34:02 UTC
When emerge detects a circularity in the depgraph and shows the graph for analysis it would be a huge help if th actual cycles would be displayed separately (e.g. nodeA->nodeB->nodeC->nodeA lines below the graph), or affected nodes highlighted in the graph dispay, as usually it's quite a strain to manually detect them.
Comment 1 Zac Medico gentoo-dev 2008-02-20 21:14:24 UTC
In r9362 there's a regression fix that should remove PDEPEND noise from the circular deps display.

If the display still appears overwhelming with that patch applied then it's because there are multiple cycles and/or large cycles that traverse many packages. In the case of multiple cycles we can improve the display by separating out bunches of nodes that are independent from eachother. OTOH if we try to identify every single cycle individually then in many cases we'll end up actually generating a bunch of redundant output (noise).  So I think what we really need is to just separate the nodes into independent bunches when possible.
Comment 2 Zac Medico gentoo-dev 2008-02-20 22:00:21 UTC
However, separation into independent bunches doesn't really help when you have multiple cycles that overlap with each other to form more cycles (like what happens when lots of flags like samba + java + cups + odbc are all enabled globally).

Anyway, once a solution for bug 175808 has been implemented, all of the circular dependency issues should pretty much disappear. Then it will only be necessary to show cycles that can't be broken by toggling use flags, which should be a much less common problem.