From owner-freebsd-arch@FreeBSD.ORG Sat Mar 3 14:17:50 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0670106564A for ; Sat, 3 Mar 2012 14:17:50 +0000 (UTC) (envelope-from johnandsara2@cox.net) Received: from eastrmfepo101.cox.net (eastrmfepo101.cox.net [68.230.241.213]) by mx1.freebsd.org (Postfix) with ESMTP id 8A6D98FC08 for ; Sat, 3 Mar 2012 14:17:49 +0000 (UTC) Received: from eastrmimpo110.cox.net ([68.230.241.223]) by eastrmfepo101.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20120303141738.KEKX18243.eastrmfepo101.cox.net@eastrmimpo110.cox.net>; Sat, 3 Mar 2012 09:17:38 -0500 Received: from [192.168.3.22] ([70.177.172.35]) by eastrmimpo110.cox.net with bizsmtp id h2Hd1i00W0mAvba022HeRe; Sat, 03 Mar 2012 09:17:38 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020203.4F522802.0081,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=4+d3365FwXO39Q6CIaohezzFfUymJ8jBUV6iqnnMg0E= c=1 sm=1 a=f5xKl4ys9bwA:10 a=AeehsHawFTcA:10 a=G8Uczd0VNMoA:10 a=Wajolswj7cQA:10 a=8nJEP1OIZ-IA:10 a=alU6Bxxa4qBWIf+k8j/ISQ==:17 a=kviXuzpPAAAA:8 a=mMHHQ8NI51iLL4NWVPUA:9 a=wPNLvfGTeEIA:10 a=4vB-4DCPJfMA:10 a=alU6Bxxa4qBWIf+k8j/ISQ==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Message-ID: <4F5227FE.3080708@cox.net> Date: Sat, 03 Mar 2012 09:17:34 -0500 From: "John D. Hendrickson and Sara Darnell" User-Agent: Thunderbird 2.0.0.24 (X11/20100228) MIME-Version: 1.0 To: Ed Schouten References: <4E18ABB1.4010304@cox.net> <20110709194639.GA4914@elie> <4E18EE60.7010402@cox.net> <20110710151354.GA25475@r500-debian> <4F50FD4D.9000106@cox.net> <20120302183138.GC32748@hoeg.nl> In-Reply-To: <20120302183138.GC32748@hoeg.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arch@freebsd.org Subject: Re: dep-trace v. tsort (mac ports depends support) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: johnandsara2@cox.net List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 14:17:51 -0000 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 , 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. >