make update problem?

Daniel Bye freebsd-questions at slightlystrange.org
Thu Feb 3 03:23:20 PST 2005


On Wed, Feb 02, 2005 at 04:41:23PM -0500, Glenn E. Sieb wrote:
> I'm trying to update a box from 5.1-RELEASE-p17 to 
> 5.3-RELEASE-current-p-level.
> 
> In preparation, I checked out 5.3-RELEASE from cvsup the other day:

[---snip---]

> "Makefile.inc1", line 830: warning: String comparison operator should be 
> either == or !=
> "Makefile.inc1", line 830: Malformed conditional ((!defined(NO_RESCUE) 
> ||  defined(RELEASEDIR)) &&  (${TARGET_ARCH} != ${MACHINE_ARCH} || 
> ${BOOTSTRAPPING} < 501101))
> "Makefile.inc1", line 830: Missing dependency operator
> "Makefile.inc1", line 832: if-less endif
> "Makefile.inc1", line 832: Need an operator
> make: fatal errors encountered -- cannot continue
> *** Error code 1
> 
> Stop in /usr/src.

Does it work correctly if you invoke cvsup directly, rather than by
means of `make update'?  

 # cvsup /path/to/system/supfile

This will update the source without actually depending on it, as is
the case with `make update' - in this case, a syntax error in
Makefile.inc1 causes make to chunder.  The direct invocation will not look
at Makefile.inc1, so cvsup can update it to the latest version.  It will
then be quite happy when you `make clean'.

HTH

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- 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-questions/attachments/20050203/3a84b59d/attachment.bin


More information about the freebsd-questions mailing list