Subject: misc/28533: release fails on MAKEDEV
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 12/04/2004 06:00:01
>Number:         28533
>Category:       misc
>Synopsis: 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
Paper Voices, Inc.
System: NetBSD 2.99.10 NetBSD 2.99.10 (EROS) #622: Fri Nov 5 11:31:08 EST 2004 i386
Architecture: i386
Machine: i386

When running the following command:

jane# ./ -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

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

nbmake: stopped in /usr/cvs/src

ERROR: Failed to make release


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