From owner-freebsd-current@FreeBSD.ORG Wed Jul 23 17:05:46 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F02E537B401 for ; Wed, 23 Jul 2003 17:05:46 -0700 (PDT) Received: from smtp1.server.rpi.edu (smtp1.server.rpi.edu [128.113.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D6B543FB1 for ; Wed, 23 Jul 2003 17:05:46 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp1.server.rpi.edu (8.12.9/8.12.9) with ESMTP id h6O05h9t021258; Wed, 23 Jul 2003 20:05:44 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20030723234415.GE12996@roark.gnf.org> References: <20030716181354.GA44980@dan.emsphone.com> <20030717074756.B17029@gamplex.bde.org> <20030717123524.T24327@schnell.net> <20030718154832.K21942@gamplex.bde.org> <20030718095946.H29869@schnell.net> <3F183EF9.7020506@acm.org> <20030721084750.GH12996@roark.gnf.org> <3F1C1695.30409@acm.org> <20030723234415.GE12996@roark.gnf.org> Date: Wed, 23 Jul 2003 20:05:42 -0400 To: Gordon Tetlow From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) cc: current@freebsd.org cc: kientzle@acm.org Subject: Re: Buildworld /rescue failures in 5.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 00:05:47 -0000 At 4:44 PM -0700 7/23/03, Gordon Tetlow wrote: >On Wed, Jul 23, 2003, Garance A Drosihn wrote: > > > > The .depend file is apparently created by > > /usr/obj/usr/src/rescue/rescue/rescue.mk > > >> and that in turn says it is generated from rescue.conf >> by crunchgen 0.2. The rescue.mk file includes the rule: >> >> tar_make: >> (cd $(tar_SRCDIR) && \ >> $(MAKE) $(BUILDOPTS) $(tar_OPTS) depend &&\ >> $(MAKE) $(BUILDOPTS) $(tar_OPTS) $(tar_OBJS)) >> >> and my guess is that construct is not '-j' safe. >> >> I have no idea how to fix that, or even if I'm on the right >> track, but perhaps the above will be useful to someone who >> understands parallel makes more than I do... > >I don't see how this construct cannot be parallel make safe. >The && requires that the third line check the result of the >second before continuing. It doesn't make sense. Yeah, I don't know how these pieces all come together (or don't come together, as the case may be). Nevertheless, it is true that make is apparently trying a 'make addext.o' before that .depend file exists. Perhaps this is a bug, or maybe I'm just barking up the wrong tree... I'm going to try a few more tests, and see if I can make some sense out of this. Given that 'make buildworld' is going to effectively do: cd /usr/src/rescue make obj [...other stuff...] cd /usr/src/rescue make includes [...other stuff...] cd /usr/src/rescue make depend [...other stuff...] it would be nice if *that* 'make depend' could result in all of these .depend files being created. That is clearly not the case at the moment. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu