Re: Buildworld fails in 5.1

From: Gordon Tetlow <gordont_at_gnf.org>
Date: Mon, 21 Jul 2003 01:47:50 -0700
On Fri, Jul 18, 2003 at 11:39:53AM -0700, Tim Kientzle wrote:
> 
> I wrote the /rescue stuff and a lot of people have
> reported that it breaks parallel builds, but I haven't yet
> come up with anything.  (In part, because I haven't yet
> managed to reproduce it. <sigh>)
> 
> A couple of things look odd about this:
> 
> 1) You should not be building 'rescue.mk' twice.
>    That could be the problem right there, if the rescue.mk
>    makefile is getting rebuilt (overwritten) while another
>    build thread is using it.  The dependencies in
>    rescue/rescue/Makefile look right to me, but I
>    could be missing something.

It seems that the $(OUTPUTS) target (which has 3 components) causes
this particular error. It can be easily avoided with the following
patch (against an older version of src/rescue/rescue/Makefile,
should be fine):

(Whitespace is probably messed up)
==== //depot/user/gordon/dynamic/src/rescue/rescue/Makefile#7 - /home/gtetlow/p4
/dynamic/src/rescue/rescue/Makefile ====
_at__at_ -244,6 +244,7 _at__at_
 .endfor


+.ORDER: $(OUTPUTS)
 $(OUTPUTS): $(CONF)
        MAKEOBJDIRPREFIX=${CRUNCHOBJS} crunchgen -q -m $(OUTMK) -c $(OUTC) \
            $(CONF)


After doing that, I run into a problem with clparse.o from the dhclient
build. I think I might have a solution for that, but I'm too tired
right now to think straight. I'll look at it tomorrow.

-gordon

Received on Sun Jul 20 2003 - 23:47:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:16 UTC