Is this a 'make' bug?

Max Okumoto okumoto at ucsd.edu
Mon May 9 09:40:39 PDT 2005


walt wrote:
On Mon, 9 May 2005, Joerg Sonnenberger wrote:


If you haven't done it already, do a full buildworld from current
source just to be sure. There was a typo in the ctype constants.


I only did a quickworld this morning, which may have been a mistake.  When
I try a buildworld now it halts because of the generated file
/usr/obj/usr/src/btools_i386/usr/src/bin/csh/tc.defs.c which contains multiple
lines like this:
#if defined(mips) || defined(__mips)) && (defined(MIPSEL) || defined(__MIPSEL))

You can see there are two extra ')' characters in that line.  This error
happens with the new 'make' from this morning and also with the one from 04May.
If the typo was in libc/gen/ctype.c does that mean my existing copy of libc may
be causing this problem?
If so, I may be in deep doodoo because every part of world I try to compile now
stops with errors about unmatched or missing '(' characters.  I don't see a way
to rebuild libc, do you?
Ack... since make is static you might be able to recover by
gutting /usr/src/usr.bin/make/Makefile and have it just copy
your working version of make.
PROG=   make
CC=    /bin/cp /your/working/copy/of/mak/make.safe ${.TARGET}; echo junk
. include <bsd.prog.mk>

			Max






More information about the Bugs mailing list