From owner-freebsd-ports@FreeBSD.ORG Fri May 18 05:47:47 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4BEE016A404; Fri, 18 May 2007 05:47:47 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id C967813C459; Fri, 18 May 2007 05:47:46 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5CDFD.dip.t-dialin.net [84.165.205.253]) by redbull.bpaserver.net (Postfix) with ESMTP id 537AA2E1AA; Fri, 18 May 2007 07:47:39 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 2DBC95B48A3; Fri, 18 May 2007 07:47:23 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l4I5lKMc068350; Fri, 18 May 2007 07:47:20 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 18 May 2007 07:47:20 +0200 Message-ID: <20070518074720.ctp66d8so4g4gkgg@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 18 May 2007 07:47:20 +0200 From: Alexander Leidinger To: Stephen Montgomery-Smith References: <464597C6.3030406@gmx.de> <20070512174011.GA22526@xor.obsecurity.org> <4645FF71.60100@gmx.de> <20070512175824.GA23103@xor.obsecurity.org> <20070512133054.B5588@math.missouri.edu> <4646193E.5040503@gmx.de> <464665D5.1090509@math.missouri.edu> <464676CC.2000203@math.missouri.edu> <46469BF5.9030603@math.missouri.edu> <1179058696.13237.3.camel@ikaros.oook.cz> <20070513101332.L82202@math.missouri.edu> <46479215.1080401@math.missouri.edu> <4647C4FB.9050607@math.missouri.edu> <4647F182.6000402@gmx.de> <46487491.6020806@math.missouri.edu> <46488168.3030300@math.missouri.edu> <464B155A.1080105@math.missouri.edu> <464B7144.2000600@math.missouri.edu> <20070517185207.27c3faeb@deskjail> <464C924C.5010001@math.missouri.edu> <464CC1FE.5060706@math.missouri.edu> In-Reply-To: <464CC1FE.5060706@math.missouri.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: "\[LoN\]Kamikaze" , Pav Lucistnik , freebsd-ports@freebsd.org, Kris Kennaway Subject: Re: Time to abandon recursive pulling of dependencies? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2007 05:47:47 -0000 Quoting Stephen Montgomery-Smith (from =20 Thu, 17 May 2007 15:58:38 -0500): > Stephen Montgomery-Smith wrote: >> Alexander Leidinger wrote: >>> Quoting Stephen Montgomery-Smith (Wed, =20 >>> 16 May 2007 16:01:56 -0500): >>> >>> >>>> If I get some positive feedback on this one, I'll submit a PR. =20 >>>> You can try it out by typing "make actual-package-depends" as =20 >>>> opposed to "make package-depends." >>>> >>> >>> Did you my chance also had a look how to speed up ALL-DEPENDS-LIST? It >>> is used in clean-depends. And on my system it is slow (nearly 6 minutes >>> for gnome2) too. As portupgrade cleans before and after updating a >>> port, optimizing this may also be beneficial. >>> >>> Maybe first trying to construct all dependencies of the installed ports >>> like in actual-package-depends and then the remaining ones like it is >>> done currently... >>> >>> Bye, >>> Alexander. >>> >> >> I don't use "make clean" preferring a variant of "find /usr/ports =20 >> -name work -exec rm -rf {} \;". > > I just looked at it. I really don't think it is worth the big effort > that we put into registering ports, because a make clean only happens > once or twice, unlike registering of the port which happens for every > single dependency. "make install clean" is recommended to install a port. So it =20 contributes to the time the user sees. > I think it would be better to modify portupgrade to use find to delete > all the work in all the ports. It is not allowed to delete all ports. What if I do a make in a =20 orthogonal port? It has to d o a make all-depends-list and clean the =20 ports in there, but that's what make clean does. Bye, Alexander. --=20 It is when I struggle to be brief that I become obscure. =09=09-- Quintus Horatius Flaccus (Horace) http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137