Subject: toolchain/25944: Toolchain build failure when building netbsd-2-0 tools on a netbsd 1.6.2 system
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jon@joshua.haninge.kth.se>
List: netbsd-bugs
Date: 06/16/2004 11:02:56
>Number:         25944
>Category:       toolchain
>Synopsis:       Toolchain build failure when building netbsd-2-0 tools on a netbsd 1.6.2 system
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 16 11:03:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jon Olsson
>Release:        1.6.2
>Organization:
>Environment:
NetBSD xxx.xxx.com 1.6.2 NetBSD 1.6.2 (GENERIC) #6: Mon Feb 23 10:39:35 CET 2004     root@xxx.xxx.com:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
Freshly checked out netbsd-2-0 branch src module,
running:

# ./build.sh tools

Fails with:

#   compile  compat/pw_scan.lo
cc -O  -I. -I./include -I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE -D__DBINTERFACE_PRIVATE -c -o pw_scan.lo.o    /usr/src/tools/compat/../../lib/libc/gen/pw_scan.c
/usr/src/tools/compat/../../lib/libc/gen/pw_scan.c: In function `__nbcompat_pw_scan':
/usr/src/tools/compat/../../lib/libc/gen/pw_scan.c:96: `_PASSWORD_NOWARN' undeclared (first use in this function)
/usr/src/tools/compat/../../lib/libc/gen/pw_scan.c:96: (Each undeclared identifier is reported only once
/usr/src/tools/compat/../../lib/libc/gen/pw_scan.c:96: for each function it appears in.)
/usr/src/tools/compat/../../lib/libc/gen/pw_scan.c:107: `_PASSWORD_NOUID' undeclared (first use in this function)
/usr/src/tools/compat/../../lib/libc/gen/pw_scan.c:119: `_PASSWORD_NOGID' undeclared (first use in this function)
/usr/src/tools/compat/../../lib/libc/gen/pw_scan.c:121: `_PASSWORD_OLDFMT' undeclared (first use in this function)
/usr/src/tools/compat/../../lib/libc/gen/pw_scan.c:125: `_PASSWORD_NOCHG' undeclared (first use in this function)
/usr/src/tools/compat/../../lib/libc/gen/pw_scan.c:125: `_PASSWORD_NOEXP' undeclared (first use in this function)

*** Failed target:  pw_scan.lo
*** Failed command: cc -O -I. -I./include -I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE -D__DBINTERFACE_PRIVATE -c -o pw_scan.lo.o /usr/src/tools/compat/../../lib/libc/gen/pw_scan.c
*** Error code 1

Stop.   
nbmake: stopped in /usr/src/tools/compat

*** Failed target:  dependall
*** Failed command: cd /usr/src/tools/compat; /usr/src/obj/tooldir.NetBSD-1.6.2-i386/bin/nbmake realall   
*** Error code 1

Stop.   
nbmake: stopped in /usr/src/tools/compat

*** Failed target:  dependall-compat
*** Failed command: targ=dependall;dir=compat; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /usr/src/obj/tooldir.NetBSD-1.6.2-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd "/usr/src/tools/$dir"; /usr/src/obj/tooldir.NetBSD-1.6.2-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
*** Error code 1

Stop.   
nbmake: stopped in /usr/src/tools

ERROR: Failed to make tools
*** BUILD ABORTED ***

>How-To-Repeat:
Try building the toolchain for netbsd-2-0 on a NetBSD 1.6.2 system.
>Fix:
N/A
>Release-Note:
>Audit-Trail:
>Unformatted: