On Thu, Jul 26, 2018 at 7:10 PM Nicolas Mailhot <nicolas.mailhot@laposte.net> wrote:
Le 2018-07-26 07:20, Jens-Ulrik Petersen a écrit :
> https://github.com/juhp/rpmbuild-order
> It works by reading the BRs in spec files of the packages you want to
> build, generating a graph of their interdependencies internally, from
> which it outputs the packages in a build dependency order. If you have
> a complete family of packages checked out, it can also output the
> dependencies or reverse dependency of any of the packages.

That's very nice.


To be complete it should also be boostrap-aware  : do intermediary
bootsrap builds whenever there is a cycle and one or more links in the
cycle have bootstraping instructions in their spec.

I see: hmm cyclic deps are tricky...
Currently it gives up if there is a cycle in the graph.
Maybe an example would help me, if you have one.