From owner-freebsd-current@FreeBSD.ORG Wed Jul 23 16:41:23 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 4E9DD37B401 for ; Wed, 23 Jul 2003 16:41:23 -0700 (PDT) Received: from smtp1.server.rpi.edu (smtp1.server.rpi.edu [128.113.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C8B243F93 for ; Wed, 23 Jul 2003 16:41:22 -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 h6NNfJ9t018904; Wed, 23 Jul 2003 19:41:19 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: References: <20030715100839.F41961@inton.Ninja-assassin.com> <20030716133802.K18278@schnell.net> <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> Date: Wed, 23 Jul 2003 19:41:18 -0400 To: kientzle@acm.org, 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 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: Wed, 23 Jul 2003 23:41:23 -0000 At 6:41 PM -0400 7/23/03, Garance A Drosihn wrote: >Where that error is: > >make: don't know how to make >/usr/obj/usr/src/rescue/rescue//usr/src/sbin/dhclient/client/clparse.o. >Stop >*** Error code 2 >1 error >*** Error code 2 >1 error Well, that isn't always the error message, but it's always something similar to that. Now that it takes me only a few minutes to test things, I think I'm making some kind of headway. I redid the making of rescue with '-j2', and got the error make: don't know how to make /usr/obj/usr/src/rescue/rescue//usr/src/gnu/usr.bin/tar/addext.o. Stop I then compared the files in the directory /usr/obj/usr/src/.../usr.bin/tar between the attempt which worked, and the attempt which failed. The attempt which worked had a '.depend' file which did not exist in the attempt which failed. Ie, make trying to build addext.o before the .depend file has shown up for anything in 'tar'. In the attempt which works, that .depend file includes: addext.o: /usr/src/contrib/tar/lib/addext.c \ /usr/src/gnu/usr.bin/tar/config.h /usr/include/paths.h \ /usr/include/sys/cdefs.h /usr/include/limits.h \ /usr/include/sys/limits.h /usr/include/machine/_limits.h \ /usr/include/sys/syslimits.h /usr/include/sys/types.h \ /usr/include/machine/endian.h /usr/include/sys/_types.h \ /usr/include/machine/_types.h /usr/include/sys/select.h \ /usr/include/sys/_sigset.h /usr/include/sys/_timeval.h \ /usr/include/sys/timespec.h /usr/include/string.h \ /usr/include/strings.h /usr/include/unistd.h /usr/include/sys/unistd.h \ /usr/include/errno.h /usr/src/contrib/tar/lib/backupfile.h \ /usr/src/contrib/tar/lib/dirname.h So it is easy to image that this .depend file is crucial to successfully making addext.o. 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... -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu