Subject: can't ./build.sh obj: nbmake: Unknown modifier 'R'
To: None <current-users@netbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 01/11/2005 08:50:16
Something on my system went awry about the same time that anoncvs got
corrupted this weekend. If I try to "make obj" it stops in cvsbug with
the error:

obj ===> gnu/usr.bin/cvs/cvsbug
nbmake: Unknown modifier 'R'
nbmake: Unknown modifier ' '
nbmake: Unclosed variable specification for SCRIPTSNAME_cvsbug
nbmake: "/usr/src/share/mk/bsd.prog.mk" line 264: Need an operator
nbmake: Fatal errors encountered -- cannot continue

nbmake: stopped in /usr/src/gnu/usr.bin/cvs/cvsbug

*** Failed target:  obj-cvsbug
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="gnu/usr.bin/cvs/"; real="/usr/src/gnu/usr.bin/cvs" ;; *) this="gnu/usr.bin/cvs/${dir}/"; real="/usr/src/gnu/usr.bin/cvs/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj.i386/tooldir.NetBSD-2.99.13-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget cvsbug obj
*** Error code 1

Stop.
nbmake: stopped in /usr/src/gnu/usr.bin/cvs

*** Failed target:  obj-cvs
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="gnu/usr.bin/"; real="/usr/src/gnu/usr.bin" ;; *) this="gnu/usr.bin/${dir}/"; real="/usr/src/gnu/usr.bin/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj.i386/tooldir.NetBSD-2.99.13-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget cvs obj
*** Error code 1

Stop.
nbmake: stopped in /usr/src/gnu/usr.bin

*** Failed target:  obj-usr.bin
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="gnu/"; real="/usr/src/gnu" ;; *) this="gnu/${dir}/"; real="/usr/src/gnu/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj.i386/tooldir.NetBSD-2.99.13-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget usr.bin obj
*** Error code 1

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

*** Failed target:  obj-gnu
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj.i386/tooldir.NetBSD-2.99.13-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gnu obj
*** Error code 1

Stop.
nbmake: stopped in /usr/src

If someone has any idea, let me know. Otherwise, I'll send-pr.

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte