Buildworld fails in 5.1

Gordon Tetlow gordont at gnf.org
Mon Jul 21 09:37:23 PDT 2003


On Mon, Jul 21, 2003 at 09:36:37AM -0700, Tim Kientzle wrote:
> Gordon Tetlow wrote:
> >It seems that the $(OUTPUTS) target (which has 3 components) causes
> >this particular error.
> >
> >+.ORDER: $(OUTPUTS)
> > $(OUTPUTS): $(CONF)
> >        MAKEOBJDIRPREFIX=${CRUNCHOBJS} crunchgen -q -m $(OUTMK) -c $(OUTC) 
> >        \
> >            $(CONF)
> 
> Hmmm...  Is that what .ORDER is for?  To work around a
> parallel make that gratuitously rebuilds things?

Right it serializes build dependencies. The problem with crunchgen is
that a single command makes all of the OUTPUTS, so normally make will
spawn off the same command 3 times in parallel (which seems to cause
problems). To get around it, make it so you each of the OUTPUTS is
built in order and what occurs is a single crunchgen invocation that
the sees that the other OUTPUT targets are up-to-date and then
contintues along.

> >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.
> 
> 
> A-ha!  I've known that dhclient was a problem, but the
> above gives me an idea.  I wonder if the following helps?

I'll give it a whirl.

-gordon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030721/355104d3/attachment.bin


More information about the freebsd-current mailing list