Subject: netbsd-4 distribution compile failed
To: None <current-users@netbsd.org>
From: LIU Xiang <allbsd@gmail.com>
List: current-users
Date: 08/30/2006 19:07:42
Hi,

   I encounter the following error message after I use "#./build.sh -O /usr/obj -T /usr/tools -u tools distribution" to 
upgrade my netbsd-3 stable to netbsd-4 current on my thinkpad T21. 

install ===> sys/lkm/vfs/udf
makedb ===> share/man
do-obsolete ===> .
install-obsolete-lists ===> etc
install-etc-release ===> etc
Build started at:  Wed Aug 30 13:37:28 CST 2006
Build finished at: Wed Aug 30 17:28:56 CST 2006
distribution ===> etc   (with: INSTALL_DONE=1)
install-etc-files ===> etc
nbinstall: MAKEDEV: stat: No such file or directory

*** Failed target:  install-etc-files
*** Failed command: cd /usr/src/usr/obj/etc && STRIP=/usr/src/usr/tools/bin/i386--netbsdelf-strip /usr/src/usr/tools/bin/nbinstall -N /usr/src/etc -c -p -r -T etc_pkg -o root -g wheel -m 555 MAKEDEV /usr/src/usr/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/usr/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/usr/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 ***


  Can anyone help me to resolve this problem? thanks.