Subject: Failed to build distribution (no /etc/ttys)
To: None <current-users@netbsd.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: current-users
Date: 10/07/2004 13:31:51
NetBSD-current completely updated from CVS ~one hour ago.
---cut---
Build parameters:
Build script /usr/src/build.sh
Top dir /usr/build
Machine i386
Tools dir /usr/build/tools/i386
Obj dir /usr/build/obj/i386
Dest dir /usr/build/dest/i386
Release dir /usr/build/release
===> build.sh command: /usr/src/build.sh -mi386 -O/usr/build/obj/i386
-T/usr/build/tools/i386 -D/usr/build/dest/i386 -R/usr/build/release -u
distribution
===> build.sh started: Thu Oct 7 13:09:23 NOVST 2004
===> MACHINE: i386
===> MACHINE_ARCH: i386
===> TOOLDIR path: /usr/build/tools/i386
===> DESTDIR path: /usr/build/dest/i386
===> RELEASEDIR path: /usr/build/release
===> makewrapper: /usr/build/tools/i386/bin/nbmake-i386
===> Updated /usr/build/tools/i386/bin/nbmake-i386
build ===> . (with: NOPOSTINSTALL=1)
Build started at: Thu Oct 7 13:09:24 NOVST 2004
check-tools ===> .
obj ===> .
obj ===> tools
[snip]
# create etc/etc-release
# install etc/release
cd /usr/build/obj/i386/etc &&
STRIP=/usr/build/tools/i386/bin/i386--netbsdelf-strip /usr/build/tools/i386/bin/nbinstall
-N /usr/src/etc -c -p -r -T etc_pkg -o root -g wheel -m 444
etc-release /usr/build/dest/i386/etc/release
Build started at: Thu Oct 7 13:09:24 NOVST 2004
Build finished at: Thu Oct 7 13:26:02 NOVST 2004
distribution ===> etc (with: INSTALL_DONE=1)
STRIP=/usr/build/tools/i386/bin/i386--netbsdelf-strip /usr/build/tools/i386/bin/nbinstall
-N /usr/src/etc -d -o root -g wheel -m 755 -T base_pkg /usr/build/dest/i386
/usr/build/tools/i386/bin/nbmtree -def /usr/src/etc/mtree/NetBSD.dist
-N /usr/src/etc -p /usr/build/dest/i386/ -U
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 > /usr/src/etc/MAKEDEV
# install /usr/build/dest/i386/etc/master.passwd
cd /usr/src/etc &&
STRIP=/usr/build/tools/i386/bin/i386--netbsdelf-strip /usr/build/tools/i386/bin/nbinstall
-N /usr/src/etc -c -p -r -T etc_pkg -o root -g wheel -m 600
master.passwd /usr/build/dest/i386/etc
/usr/build/tools/i386/bin/nbpwd_mkdb -p -L
-d /usr/build/dest/i386/ /usr/build/dest/i386/etc/master.passwd
# install /usr/build/dest/i386/etc/ttys
cd /usr/build/obj/i386/etc &&
STRIP=/usr/build/tools/i386/bin/i386--netbsdelf-strip /usr/build/tools/i386/bin/nbinstall
-N /usr/src/etc -c -p -r -T etc_pkg -o root -g wheel -m 644
ttys /usr/build/dest/i386/etc
nbinstall: ttys: stat: No such file or directory
*** Failed target: install-etc-files
*** Failed command: cd /usr/build/obj/i386/etc &&
STRIP=/usr/build/tools/i386/bin/i386--netbsdelf-strip /usr/build/tools/i386/bin/nbinstall
-N /usr/src/etc -c -p -r -T etc_pkg -o root -g wheel -m 644
ttys /usr/build/dest/i386/etc
*** 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/build/tools/i386/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/build/tools/i386/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 ***
---cut---
And there's actually no /usr/build/dest/i386/etc/ttys file. Any ideas ?
// wbr