From owner-freebsd-current Sun Oct 18 14:10:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA09649 for freebsd-current-outgoing; Sun, 18 Oct 1998 14:10:58 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA09643; Sun, 18 Oct 1998 14:10:57 -0700 (PDT) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id OAA18830; Sun, 18 Oct 1998 14:10:33 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp02.primenet.com, id smtpd018808; Sun Oct 18 14:10:27 1998 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id OAA11047; Sun, 18 Oct 1998 14:10:19 -0700 (MST) From: Terry Lambert Message-Id: <199810182110.OAA11047@usr07.primenet.com> Subject: Re: Never ending 'make clean' in kde port? To: rkw@Dataplex.NET (Richard Wackerbarth) Date: Sun, 18 Oct 1998 21:10:19 +0000 (GMT) Cc: dholland@cs.toronto.edu, asami@FreeBSD.ORG, kpielorz@tdx.co.uk, eivind@yes.no, current@FreeBSD.ORG In-Reply-To: from "Richard Wackerbarth" at Oct 16, 98 10:36:19 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > >Why? Probably because some of the operations on the dependency graph > > > >are slower than O(n). > > > > > > I think that his comparison was based, in part, on the idea that you > > > have to do many things repeatedly simply because you do not have the > > > proper dependencies available. > > > >This is sometimes true, but in my experience it really doesn't happen > >very often. > > > >*shrug* > > I disagree. Just look at the convoluted structure of "make world" > or, the "make clean" in ports. Or just try (cd /usr/src; make ; make) > > I see it far too often. :-( Which is throwing out the baby with the bathwater. The correct thing to do is to explicitly specify dependencies. For things like second order effects, it's important to build using the headers in the source tree, and not the installed headers, and to realize that this means that you are building for a system built from the tree, and not for the currently installed system, whatever that may unguessably be. The lack of explicit dependencies in the source tree is the true source of the observed chaos. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message