Subject: "./build.sh tools" fails in usr.bin/mail
To: current-users <current-users@netbsd.org>
From: Adam K Kirchhoff <adamk@voicenet.com>
List: current-users
Date: 03/10/2003 08:08:56
Good morning all,

	I installed the last snapshot on my home machine over the weekend
and decided to bring it as up-to-date as possible...  I sup'ed the latest
source for -current and, following the instructions, went to build the
toolchain first.  Unfortunately, it dies shortly into the build with the
message I have at the bottom of this e-mail.  UPDATING doesn't mention
anything about new issues with man, and though there were a few mentions
of problems with manpages recently in current-users, nothing like the
problem I'm having.

	I sup'ed again this morning and gave it another shot (after doing
a "make cleandir" and cleaning out /usr/obj and my DESTDIR) but it still
errored out at the same point.

	Any ideas?

cc -O -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include
-I/usr/src/tools/makewhatis/../compat -DHAVE_CONFIG_H
-D_FILE_OFFSET_BITS=64  -I/usr/src/usr.bin -c -o manconf.lo.o
/usr/src/usr.bin/man/manconf.c
In file included from /usr/src/usr.bin/man/manconf.c:37:
/usr/src/usr.bin/man/config.h:40: parse error before `TAILQ_ENTRY'
/usr/src/usr.bin/man/config.h:40: warning: no semicolon at end of struct
or union
/usr/src/usr.bin/man/config.h:42: parse error before `list'
/usr/src/usr.bin/man/config.h:42: warning: data definition has no type or
storage class
/usr/src/usr.bin/man/config.h:44: parse error before `len'
/usr/src/usr.bin/man/config.h:44: warning: data definition has no type or
storage class
/usr/src/usr.bin/man/config.h:45: warning: data definition has no type or
storage class
/usr/src/usr.bin/man/config.h:47: parse error before `TAILQ_ENTRY'
/usr/src/usr.bin/man/config.h:47: warning: no semicolon at end of struct
or union
/usr/src/usr.bin/man/config.h:50: parse error before `len'
/usr/src/usr.bin/man/config.h:50: warning: data definition has no type or
storage class
/usr/src/usr.bin/man/config.h:51: warning: data definition has no type or
storage class
/usr/src/usr.bin/man/config.h:53: warning: parameter names (without types)
in function declaration
/usr/src/usr.bin/man/config.h:53: warning: data definition has no type or
storage class
/usr/src/usr.bin/man/config.h:56: parse error before `*'
/usr/src/usr.bin/man/config.h:57: parse error before `__P'
/usr/src/usr.bin/man/config.h:58: parse error before `__P'
/usr/src/usr.bin/man/config.h:63: parse error before `__P'
In file included from /usr/src/usr.bin/man/manconf.c:61:
/usr/src/usr.bin/man/manconf.h:45: `TAG' redeclared as different kind of
symbol
/usr/src/usr.bin/man/config.h:45: previous declaration of `TAG'
/usr/src/usr.bin/man/manconf.h:51: `ENTRY' redeclared as different kind of
symbol
/usr/src/usr.bin/man/config.h:51: previous declaration of `ENTRY'