DragonFly BSD
DragonFly bugs List (threaded) for 2005-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Is this a 'make' bug?


From: Max Okumoto <okumoto@xxxxxxxx>
Date: Mon, 09 May 2005 09:40:39 -0700

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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]