Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2002 10:28:05 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Gregory Bond <gnb@itga.com.au>
Cc:        peter.lai@uconn.edu, freebsd-stable@FreeBSD.ORG
Subject:   Re: make buildworld breaks
Message-ID:  <20020722072804.GB5490@sunbay.com>
In-Reply-To: <200207220154.LAA06760@lightning.itga.com.au>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Mon, Jul 22, 2002 at 11:54:28AM +1000, Gregory Bond wrote:
> > ===> lib/csu/i386-elf
> > "/usr/src/share/mk/bsd.lib.mk", line 19: Malformed conditional (defined(SHLIB
> > _NAME) && ${SHLIB_NAME:M*.so.*})
> > "/usr/src/share/mk/bsd.lib.mk", line 19: Missing dependency operator
> > "/usr/src/share/mk/bsd.lib.mk", line 28: if-less endif
> > "/usr/src/share/mk/bsd.lib.mk", line 28: Need an operator
> > make: fatal errors encountered -- cannot continue
> 
> Found this on the weekend, but only doing the installworld via NFS.  
> Buildworld + installworld on the server went OK.  I think this is because 
> the NFS install was on a Feb 20-ish version of 4.5, whereas the server was 
> from 4.6-Prerelease sometime.
> 
> A workaround for me was to install make by hand before doing the installworld 
> on the client.
> 
Older version of make(1) have a bug and do not stop evaluating the expression
if its result is already determined, hence this construct fails:

.if defined(notdef) && ${notdef:U}

I have added this test to the upgrade_checks target of src/Makefile, so it will
upgrade the vulnerable make(1) automatically.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9O7QEUkv4P6juNwoRAjtkAJ4oAp9mnYYgeaZuoCpqH8vUT81pgQCcCzH/
0/cLSYRNtL52XfcyiPj6icc=
=RYZW
-----END PGP SIGNATURE-----
help

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