Subject: build.sh of -current fails in mklocale [was Re: CVS commit: basesrc]
To: None <tshiozak@netbsd.org, current-users@netbsd.org>
From: Nick Hudson <skrll@netbsd.org>
List: source-changes
Date: 03/18/2002 14:40:14
--------------Boundary-00=_2FB6FC4NSZ1J1L5SA52P
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

[moved to current-users]

On Sunday 17 March 2002 10:14 pm, Takuya SHIOZAKI wrote:
> Module Name:	basesrc
> Committed By:	tshiozak
> Date:		Sun Mar 17 22:14:39 UTC 2002
[...]
> cvs rdiff -r1.6 -r1.7 basesrc/lib/libc/locale/runetype.h

This change has exposed mbstate_t and as a result build.sh builds from non-NetBSD -current machine will fail. I'm not sure what the correct fix should be.

Nick





--------------Boundary-00=_2FB6FC4NSZ1J1L5SA52P
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="make.log"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="make.log"

$ ./build.sh -U -D ~/work/dest
===> Bootstrapping nbmake
[...]
cc -O -I/home/nick/work/netbsd-current/tools/compat/obj -I/home/nick/work/netbsd-current/tools/compat/obj/include  -I/home/nick/work/netbsd-current/tools/mklocale/../compat -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64  -I. -I/home/nick/work/netbsd-current/tools/mklocale/../../usr.bin/mklocale -I/home/nick/work/netbsd-current/tools/mklocale/../../usr.bin/mklocale/../../lib/libc/locale -c -o yacc.lo yacc.c
In file included from /home/nick/work/netbsd-current/tools/mklocale/../../usr.bin/mklocale/../../lib/libc/locale/rune.h:46,
                 from /home/nick/work/netbsd-current/tools/mklocale/../../usr.bin/mklocale/yacc.y:59:
/home/nick/work/netbsd-current/tools/mklocale/../../usr.bin/mklocale/../../lib/libc/locale/runetype.h:198: syntax error before `mbstate_t'
*** Error code 1

Stop.
nbmake: stopped in /home/nick/work/netbsd-current/tools/mklocale
*** Error code 1

Stop.
nbmake: stopped in /home/nick/work/netbsd-current/tools/mklocale
*** Error code 1

Stop.
nbmake: stopped in /home/nick/work/netbsd-current/tools
*** Error code 1

Stop.
nbmake: stopped in /home/nick/work/netbsd-current
*** Error code 1

Stop.
nbmake: stopped in /home/nick/work/netbsd-current

--------------Boundary-00=_2FB6FC4NSZ1J1L5SA52P--