Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 2003 20:14:06 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Gordon Tetlow <gordont@gnf.org>
Cc:        kientzle@acm.org
Subject:   Re: Buildworld /rescue failures in 5.1
Message-ID:  <p0521068abb44d439ecfa@[128.113.24.47]>
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> <p05210687bb44ba2cd1d7@[128.113.24.47]> <p05210688bb44c9d17c89@[128.113.24.47]> <20030723234415.GE12996@roark.gnf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 4:44 PM -0700 7/23/03, Gordon Tetlow wrote:
>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.

Oops, my last reply got away from me before I was done...

Anyway, I added some 'echo's to /usr/share/mk/bsd.dep.mk:

beforedepend:
	echo "`date` Starting make depend in `pwd`" >> /tmp/buildrescue-log

and
afterdepend:
	echo "`date` Finished make depend in `pwd`" >> /tmp/buildrescue-log

The make again failed with:
make: don't know how to make 
/usr/obj/usr/src/rescue/rescue//usr/src/gnu/usr.bin/tar/addext.o. Stop

And the last lines in the log were:

Wed Jul 23 20:08:06 EDT 2003 Starting make depend
	in /usr/obj/usr/src/rescue/rescue/usr/src/gnu/usr.bin/gzip
Wed Jul 23 20:08:07 EDT 2003 Finished make depend
	in /usr/obj/usr/src/rescue/rescue/usr/src/gnu/usr.bin/gzip
Wed Jul 23 20:08:09 EDT 2003 Starting make depend
	in /usr/obj/usr/src/rescue/rescue/usr/src/gnu/usr.bin/tar

So indeed, that 'make depend' had not finished before the 'make'
for the object had started.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p0521068abb44d439ecfa>