Buildworld /rescue failures in 5.1

Garance A Drosihn drosih at rpi.edu
Wed Jul 23 17:14:10 PDT 2003


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 at gilead.netel.rpi.edu
Senior Systems Programmer           or  gad at freebsd.org
Rensselaer Polytechnic Institute    or  drosih at rpi.edu


More information about the freebsd-current mailing list