Subject: netbsd-4 build distribution failed
To: None <netbsd-bugs@netbsd.org>
From: LIU Xiang <allbsd@gmail.com>
List: netbsd-bugs
Date: 08/30/2006 07:24:12
Hi, 

   I have updated my netbsd sources tree to netbsd-4, and try to update my existing netbsd to netbsd-4 branch.
When I use build.sh to building distribution by "#./build.sh -O ../obj -T ../tools distribution" , I encounter 
the following error message:


#   install  /usr/src/../obj/destdir.i386/etc/master.passwd
cd /usr/src/etc && STRIP=/usr/src/../tools/bin/i386--netbsdelf-strip /usr/src/../tools/bin/nbinstall  -N /usr/src/etc -c  -r -T etc_pkg -o root -g wheel -m 600  master.passwd /usr/src/../obj/destdir.i386/etc
/usr/src/../tools/bin/nbpwd_mkdb -p -L -d /usr/src/../obj/destdir.i386/  /usr/src/../obj/destdir.i386/etc/master.passwd
#   install  /usr/src/../obj/destdir.i386/etc/ttys
cd /usr/src/../obj/etc && STRIP=/usr/src/../tools/bin/i386--netbsdelf-strip /usr/src/../tools/bin/nbinstall  -N /usr/src/etc -c  -r -T etc_pkg -o root -g wheel -m 644  /usr/src/etc/etc.i386/ttys /usr/src/../obj/destdir.i386/etc
#   install  /usr/src/../obj/destdir.i386/dev/MAKEDEV
cd /usr/src/../obj/etc && STRIP=/usr/src/../tools/bin/i386--netbsdelf-strip /usr/src/../tools/bin/nbinstall  -N /usr/src/etc -c  -r -T etc_pkg -o root -g wheel -m 555  MAKEDEV /usr/src/../obj/destdir.i386/dev
nbinstall: MAKEDEV: stat: No such file or directory

*** Failed target:  install-etc-files
*** Failed command: cd /usr/src/../obj/etc && STRIP=/usr/src/../tools/bin/i386--netbsdelf-strip /usr/src/../tools/bin/nbinstall -N /usr/src/etc -c -r -T etc_pkg -o root -g wheel -m 555 MAKEDEV /usr/src/../obj/destdir.i386/dev
*** Error code 1

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

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="etc/"; real="/usr/src/etc" ;; *) this="etc/${dir}/"; real="/usr/src/etc/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . install-etc-files
*** Error code 1

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

*** Failed target:  distribution
*** 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/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget etc distribution INSTALL_DONE=1
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***
Exit 1 


I run netbsd on Thinkpad T21, Can anyone help me to resolve this problem? 
Thanks.