Subject: make release of NetBSD 4.0_BETA fails
To: None <current-users@netbsd.org>
From: Dave Tyson <Dave.Tyson@liverpool.ac.uk>
List: current-users
Date: 08/31/2006 16:42:47
Just cvs updated NetBSD 4.0_BETA to todays sources and run
./build.sh -U -T /usr/tools -O /usr/obj tools
./build.sh -U -T /usr/tools -O /usr/obj kernel=GENERIC
./build.sh -u -U -x -T /usr/tools -O /usr/obj release
The make release bombed out near the end with "nbinstall: MAKEDEV: stat: No
such file or directory".
Prior to the build both /usr/obj & /usr/tools were empty. I have seen this in
the past and had to trash /usr/src and cvs co from scratch to get around it -
which is a pain and wasteful on resource. Anyone got a clue as to why it is
failing and a simple solution - the release phase takes quite a few hours on
a pentium 4 2.6Ghz!
Dave
...lots snipped...
....
Build started at: Thu Aug 31 13:03:30 BST 2006
Build finished at: Thu Aug 31 15:22:17 BST 2006
distribution ===> etc (with: INSTALL_DONE=1)
STRIP=/usr/tools/bin/i386--netbsdelf-strip /usr/tools/bin/nbinstall -U
-M /usr/obj/destdir.i386/METALOG -D /usr/obj/d
estdir.i386 -h sha1 -N /usr/src/etc -d -o root -g wheel -m 755 -T
base_pkg /usr/obj/destdir.i386
/usr/tools/bin/nbmtree -def /usr/src/etc/mtree/NetBSD.dist -N /usr/src/etc
-p /usr/obj/destdir.i386/ -U -W
/usr/tools/bin/nbmtree -def /usr/src/etc/mtree/NetBSD.dist -N /usr/src/etc
-p /usr/obj/destdir.i386/ -C -k all | aw
k '/ optional/ {next} // {print}' | /usr/tools/bin/nbcat -l
>> /usr/obj/destdir.i386/METALOG
install-etc-files ===> etc
# create etc//usr/src/etc/MAKEDEV
MACHINE=i386 MACHINE_ARCH=i386 NETBSDSRCDIR=/usr/src awk
-f /usr/src/etc/MAKEDEV.awk /usr/src/etc/MAKEDEV.tmpl > /u
sr/src/etc/MAKEDEV
# install /usr/obj/destdir.i386/etc/master.passwd
cd /usr/src/etc &&
STRIP=/usr/tools/bin/i386--netbsdelf-strip /usr/tools/bin/nbinstall -U
-M /usr/obj/destdir.i386/ME
TALOG -D /usr/obj/destdir.i386 -h sha1 -N /usr/src/etc -c -p -r -T etc_pkg -o
root -g wheel -m 600 master.passwd /us
r/obj/destdir.i386/etc
/usr/tools/bin/nbpwd_mkdb -p -L
-d /usr/obj/destdir.i386/ /usr/obj/destdir.i386/etc/master.passwd
( for metaent in passwd pwd.db spwd.db; do echo "./etc/${metaent} type=file
mode=0644 uname=root gname=wheel tags=e
tc_pkg"; done; ) | /usr/tools/bin/nbcat -l >> /usr/obj/destdir.i386/METALOG
# install /usr/obj/destdir.i386/etc/ttys
cd /usr/obj/etc &&
STRIP=/usr/tools/bin/i386--netbsdelf-strip /usr/tools/bin/nbinstall -U
-M /usr/obj/destdir.i386/ME
TALOG -D /usr/obj/destdir.i386 -h sha1 -N /usr/src/etc -c -p -r -T etc_pkg -o
root -g wheel -m 644 /usr/src/etc/etc.
i386/ttys /usr/obj/destdir.i386/etc
# install /usr/obj/destdir.i386/dev/MAKEDEV
cd /usr/obj/etc &&
STRIP=/usr/tools/bin/i386--netbsdelf-strip /usr/tools/bin/nbinstall -U
-M /usr/obj/destdir.i386/ME
TALOG -D /usr/obj/destdir.i386 -h sha1 -N /usr/src/etc -c -p -r -T etc_pkg -o
root -g wheel -m 555 MAKEDEV /usr/obj/
destdir.i386/dev
nbinstall: MAKEDEV: stat: No such file or directory
*** Failed target: install-etc-files
*** Failed command: cd /usr/obj/etc &&
STRIP=/usr/tools/bin/i386--netbsdelf-strip /usr/tools/bin/nbinstall -U
-M /usr
/obj/destdir.i386/METALOG -D /usr/obj/destdir.i386 -h sha1 -N /usr/src/etc -c
-p -r -T etc_pkg -o root -g wheel -m 55
5 MAKEDEV /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/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/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target} ; }; _makedirtarget etc distribution INSTALL_DONE=1
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Failed target: release
*** 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/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target} ; }; _makedirtarget . distribution
*** Error code 1
Stop.
nbmake: stopped in /usr/src
ERROR: Failed to make release
*** BUILD ABORTED ***
--
=====================================================================
Computing Services Dept Phone/Fax: 0151-794-3731/3759
The University of Liverpool Email: dtyson@liv.ac.uk
Chadwick Tower, Peach Street WWW: http://www.liv.ac.uk/~dtyson
Liverpool L69 7ZF Open Source O/S: www.netbsd.org
=====================================================================