Re: Buildworld fails in 5.1

From: Tim Kientzle <kientzle_at_acm.org>
Date: Mon, 21 Jul 2003 09:36:37 -0700
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
_at__at_ -52,6 +52,8 _at__at_
  # 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
         _at_true
Received on Mon Jul 21 2003 - 07:33:31 UTC

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