Subject: install/34307: 4.0-BETA builds world - fails to install
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jd@aurora.org>
List: netbsd-bugs
Date: 08/28/2006 14:35:01
>Number: 34307
>Category: install
>Synopsis: 4.0-BETA builds world - fails to install
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 28 14:35:01 +0000 2006
>Originator: JD Bronson
>Release: 4.0BETA
>Organization:
Aurora Health Care
>Environment:
NetBSD shadow.sixcompanies.com 4.0_BETA NetBSD 4.0_BETA (GENERIC.MPACPI) #0: Sun Aug 27 20:09:43 CDT 2006 jbronson@xxx.xxxxxx:/usr/obj/sys/arch/i386/compile/GENERIC.MPACPI i386
>Description:
Grabbed cvs -r netbsd-4 as of 8/28 at 0600 central time
Attempt to build world:
# cd /usr/src
# ./build.sh -D /usr/i386build distribution
...
...
Builds fine!
===> build.sh started: Mon Aug 28 06:25:36 CDT 2006
===> build.sh ended: Mon Aug 28 09:10:20 CDT 2006
===> Summary of results:
build.sh command: ./build.sh -D /usr/i386build distribution
build.sh started: Mon Aug 28 06:25:36 CDT 2006
No nonexistent/bin/nbmake, needs building.
Bootstrapping nbmake
MACHINE: i386
MACHINE_ARCH: i386
TOOLDIR path: /usr/src/tooldir.NetBSD-4.0_BETA-i386
DESTDIR path: /usr/i386build
RELEASEDIR path: /usr/src/releasedir
Created /usr/src/tooldir.NetBSD-4.0_BETA-i386/bin/nbmake
makewrapper: /usr/src/tooldir.NetBSD-4.0_BETA-i386/bin/nbmake-i386
Updated /usr/src/tooldir.NetBSD-4.0_BETA-i386/bin/nbmake-i386
Successful make distribution
build.sh started: Mon Aug 28 06:25:36 CDT 2006
build.sh ended: Mon Aug 28 09:10:20 CDT 2006
Then I try an install:
#
# ./build.sh -D /usr/i386build install=/
...
....
# objdir /usr/obj/tools
===> MACHINE: i386
===> MACHINE_ARCH: i386
===> TOOLDIR path: /usr/src/obj/tooldir.NetBSD-4.0_BETA-i386
===> DESTDIR path: /usr/i386build
===> RELEASEDIR path: /usr/src/obj/releasedir
===> Created /usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbmake
===> makewrapper: /usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbmake-i386
===> Updated /usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbmake-i386
installsets ===> distrib/sets (with: INSTALLDIR=/ INSTALLSETS=)
cd /usr/src/distrib/sets && DESTDIR=/usr/i386build MACHINE=i386 MACHINE_ARCH=i386 CKSUM=/usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbcksum DB=/usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbdb HOST_SH=sh MAKE=/usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbmake MKTEMP=/usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbmktemp MTREE=/usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbmtree PAX=/usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbpax TSORT=/usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbtsort\ -q sh ./maketars -d /usr/i386build -N /usr/src/etc -i /
./maketars: /usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbmktemp: not found
Copying set base
./maketars: /usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbpax: not found
Copying set comp
./maketars: /usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbpax: not found
Copying set games
./maketars: /usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbpax: not found
Copying set man
./maketars: /usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbpax: not found
Copying set misc
./maketars: /usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbpax: not found
Copying set text
./maketars: /usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbpax: not found
rm: No such file or directory
*** Failed target: installsets
*** Failed command: cd /usr/src/distrib/sets && DESTDIR=/usr/i386build MACHINE=i386 MACHINE_ARCH=i386 CKSUM=/usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbcksum DB=/usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbdb HOST_SH=sh MAKE=/usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbmake MKTEMP=/usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbmktemp MTREE=/usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbmtree PAX=/usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbpax TSORT=/usr/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbtsort\ -q sh ./maketars -d /usr/i386build -N /usr/src/etc -i /
*** Error code 255
Stop.
nbmake: stopped in /usr/src/distrib/sets
*** Failed target: installworld
*** 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/src/obj/tooldir.NetBSD-4.0_BETA-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget distrib/sets installsets INSTALLDIR=/ INSTALLSETS=
*** Error code 1
Stop.
nbmake: stopped in /usr/src
ERROR: Failed to make installworld to /
*** BUILD ABORTED ***
>How-To-Repeat:
try to build world
try to install the built world.
>Fix:
unknown.
Attempted to delete /usr/src
and refetch entire src tree.
Still fails to install but builds fine.