Subject: toolchain/31550: install MAKEDEV failed
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <water@infor-trans.com>
List: netbsd-bugs
Date: 10/11/2005 10:35:00
>Number: 31550
>Category: toolchain
>Synopsis: install MAKEDEV failed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 11 10:35:00 +0000 2005
>Originator: Water He
>Release: 3.0-beta
>Organization:
ITI
>Environment:
NetBSD sunny 3.0_BETA NetBSD 3.0_BETA (WATER) #2: Sun Oct 9 20:09:39 CST 2005
water@sunny:/dat/world/obj/sys/arch/i386/compile/WATER i386
>Description:
cd /usr/src
./build.sh -O ../world/obj -T ../world/tools -U -u distribution
# install /usr/src/../world/obj/destdir.i386/etc/ttys
cd /usr/src/../world/obj/etc && STRIP=/usr/src/../world/tools/bin/i386--netbsdel
f-strip /usr/src/../world/tools/bin/nbinstall -U -M /usr/src/../world/obj/destdi
r.i386/METALOG -D /usr/src/../world/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/src/..
/world/obj/destdir.i386/etc
# install /usr/src/../world/obj/destdir.i386/dev/MAKEDEV
cd /usr/src/../world/obj/etc && STRIP=/usr/src/../world/tools/bin/i386--netbsdel
f-strip /usr/src/../world/tools/bin/nbinstall -U -M /usr/src/../world/obj/destdi
r.i386/METALOG -D /usr/src/../world/obj/destdir.i386 -h sha1 -N /usr/src/etc -c
-p -r -T etc_pkg -o root -g wheel -m 555 MAKEDEV /usr/src/../world/obj/destdir.
i386/dev
nbinstall: MAKEDEV: stat: No such file or directory
*** Failed target: install-etc-files
*** Failed command: cd /usr/src/../world/obj/etc && STRIP=/usr/src/../world/tool
s/bin/i386--netbsdelf-strip /usr/src/../world/tools/bin/nbinstall -U -M /usr/src
/../world/obj/destdir.i386/METALOG -D /usr/src/../world/obj/destdir.i386 -h sha1
-N /usr/src/etc -c -p -r -T etc_pkg -o root -g wheel -m 555 MAKEDEV /usr/src/..
/world/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/
../world/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 "${tar
get} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../world/tools/b
in/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 ***
>How-To-Repeat:
cd /usr/src
./build.sh -O ../world/obj -T ../world/tools -U -u distribution
>Fix:
I am not sure if below command is a fix.
# cp /usr/src/etc/MAKEDEV /usr/world/obj/etc