Subject: Re: build.sh tools stops at # compile compat/pw_scan.lo
To: Ryan Moe <ryan@say-10.net>
From: Jyce <jyce@free.fr>
List: netbsd-help
Date: 06/16/2004 21:54:04
I got the definition in /usr/include/pwd.h

> hi,
>
> running 'build.sh tools' on a newly checked out -current src quits
> with  the error quoted below. machine is a mp/i386, i've tried with
> 2.0E,  2.0C and 1.6.2 kernel -- doesn't change anything.
>
> anyone?
>
> -----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<---- 
> -8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<---- 
> -8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<---- 
> -8<-----8<
>
> #   compile  compat/pw_scan.lo
> cc -O  -I. -I./include -I/usr/src/tools/compat
Souldn't we add -I/usr/include or am I totally wrong ??

> -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/tooldir.NetBSD-2.0E-i386/bin/nbmake realall
> *** Error code 1
>
> Stop.
> nbmake: stopped in /usr/src/tools/compat
>
> *** Failed target:  dependall-compat
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
> shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
> this=""; real="/usr/src/tools" ;; *) this="${dir}/";
> real="/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo
> "${target}  ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
> /usr/src/tooldir.NetBSD-2.0E-i386/bin/nbmake _THISDIR_="${this}" "$@"
> ${target}; }; _makedirtarget compat dependall
> *** Error code 1
>
> Stop.
> nbmake: stopped in /usr/src/tools
>
> ERROR: Failed to make tools
> *** BUILD ABORTED ***
> dreyfus: {4}
>
>
>
>
I'm seeing the exact same thing.  I've been checking out sources
repeatedly the last 2 days and nothing seems to change.  Anybody know
what I can do about this?  I'd really like to upgrade my laptop to -current.

Thank you,
Ryan Moe

Thx,
-- 
"Si la politique pouvait changer notre vie,
cela ferait longtemps qu'elle serait interdite."
- Federation Anarchiste de France