dep-trace v. tsort (mac ports depends support)
John D. Hendrickson and Sara Darnell
johnandsara2 at cox.net
Sat Mar 3 14:17:51 UTC 2012
Hi and thanks for looking !
Yes and no (no), I thought of that.
Who knows to order depends so tsort can order them in non-topological order as output? Who has time
to SVG plot program compile order (or pkg) depends like airports and airplanes and draw arrows
between them?
Another issue of pre-positioning each sublists in port files : you are SOL if there is any loss of
order before tsort gets them.
Another issue (one port not knowing the full sublist of the other) (there are probably more I'll
stop there).
Have Fun!
-- John
Ed Schouten wrote:
> Hi John,
>
> * John D. Hendrickson and Sara Darnell <johnandsara2 at cox.net>, 20120302 18:03:
>> BSD and Apple needs tsort(1) for portage still I believe.
>>
>> Topological sorting isn't quite right packaging.
>>
>> [...]
>>
>> (ie, for portage: you need to dl source, order of compile may be
>> required, sometimes gets missing message or "loop in depends" message
>> when attempting to compile and install pkg)
>
> But wait. Isn't this because of mis-use of tsort(1) by portage?
>
> tsort(1) can give you any ordering you like, as long as you make sure
> your input graph is correct.
>
More information about the freebsd-arch
mailing list