Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2003 09:36:37 -0700
From:      Tim Kientzle <kientzle@acm.org>
To:        Gordon Tetlow <gordont@gnf.org>
Cc:        current@freebsd.org
Subject:   Re: Buildworld fails in 5.1
Message-ID:  <3F1C1695.30409@acm.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

> 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?

Tim


Index: sbin/dhclient//Makefile
===================================================================
RCS file: /usr/cvs/FreeBSD-CVS/src/sbin/dhclient/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- sbin/dhclient/Makefile     29 Jun 2003 18:46:17 -0000      1.20
+++ sbin/dhclient/Makefile     21 Jul 2003 16:34:22 -0000
@@ -52,6 +52,8 @@
  # though, so we must run ``make all'' instead when we are asked to
  # generate an individual object file.

+.ORDER: $(OBJS)
+
  # Note: Must have some commands here to override the default build action
  ${OBJS}: all
         @true




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