Subject: misc/28533: build.sh release fails on MAKEDEV
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <dive@endersgame.net>
List: netbsd-bugs
Date: 12/04/2004 06:00:01
>Number:         28533
>Category:       misc
>Synopsis:       build.sh dies when trying to install MAKEDEV
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 04 06:00:01 +0000 2004
>Originator:     dive
>Release:        NetBSD 2.99.10
>Organization:
Paper Voices, Inc.
>Environment:
System: NetBSD eros.endersgame.net 2.99.10 NetBSD 2.99.10 (EROS) #622: Fri Nov 5 11:31:08 EST 2004 dive@jane.endersgame.net:/usr/src/sys/arch/i386/compile/EROS i386
Architecture: i386
Machine: i386
>Description:

When running the following build.sh command:

jane# ./build.sh -D /nb/destdir -j 4 -m i386 -O /nb/objdir -R /nb/releasedir -r -T /nb/tools -X /usr/xsrc -x release

it builds, then finally fails with:

#   install  /nb/destdir/dev/MAKEDEV
cd /nb/objdir/etc && STRIP=/nb/tools/bin/i386--netbsdelf-strip /nb/tools/bin/nbinstall  -N /usr/cvs/src/etc -c  -r -T etc_pkg -o root -g w
heel -m 555  MAKEDEV /nb/destdir/dev
nbinstall: MAKEDEV: stat: No such file or directory
*** [install-etc-files] Error code 1
1 error

nbmake: stopped in /usr/cvs/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/cvs/src/etc" ;; *) this="etc/${dir}/"; real="/usr/cvs/src/etc/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${
show%/}${1:+ (with: $@)}"; cd "${real}" && /nb/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . install-etc-files
*** Error code 2

Stop.
nbmake: stopped in /usr/cvs/src/etc
*** [release] Error code 1
1 error

nbmake: stopped in /usr/cvs/src

ERROR: Failed to make release
*** BUILD ABORTED ***
jane#

>How-To-Repeat:

With fresh -current source and fresh xsrc:
./build.sh -D /nb/destdir -j 4 -m i386 -O /nb/objdir -R /nb/releasedir -r -T /nb/tools -X /usr/xsrc -x release

>Fix:
Unknown.