Mailinglist Archive: opensuse-buildservice (214 mails)

< Previous Next >
Re: [opensuse-buildservice] build dependency graphs?
  • From: Ludwig Nussel <ludwig.nussel@xxxxxxx>
  • Date: Thu, 23 Feb 2012 10:48:12 +0100
  • Message-id: <>
Ludwig Nussel wrote:
Uwe Geuder wrote:
Is there an easy way to visualize the build dependencies inside an
OBS project?

Something like debtree ( )

Shouldn't be too difficult to produce a dot file for graphviz from osc
buildinfo output, but if it already exists I'd better not reinvent the

mkdiststats¹ has some bits. AFAIK obs unfortunately still only returns
the transitive closure of all dependencies. Ie the build info says "x
depends on y and z" but that could also mean x actually only explictly
depends on y but y in turn depends on z.

Example of a possible analyis:
The number in the node is the theoretical time in hours it took in the
simulation until the package finished after a full rebuild got
triggered. The blue edges are the longest path. Ie that's what keeps the
package in "blocking" state the longest. The grey edges are the second
longest path and the number tells the time that could be saved if the
package didn't depend on package where the blue edge points to.
As you can see in the graph there is a huge cycle involving Mesa that
blocks several packages for about 10 hours.
There are still some 'wrong' edges. For example colord doesn't actually
depend on net-snmp. That's dependency of sane-backends only.


(o_ Ludwig Nussel
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB
16746 (AG Nürnberg)
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >