Subject: problem with netbsd-3 installsets
To: None <netbsd-users@netbsd.org>
From: George Georgalis <george@galis.org>
List: netbsd-users
Date: 09/13/2006 12:53:19
I just tried 

 cd /usr/src && ./build.sh -U install=/

with netbsd-3 and got the following errors eg

Copying set base
cd: can't cd to /usr/src/destdir.amd64
./maketars: cannot open /usr/src/destdir.amd64/etc/mtree/set.base: no such file

below are the full errors and below that are the files my cvs mirror was behind on.
Best I can tell, configure.in was the only possible problem spot,   
http://cvsweb.netbsd.org/bsdweb.cgi/src/gnu/dist/binutils/configure.in
but the diff doesn't seem relevant.

// George


===> Updated /usr/src/tooldir.NetBSD-3.1_RC2-x86_64/bin/nbmake-amd64
installsets ===> distrib/sets   (with: INSTALLDIR=/ INSTALLSETS=)
cd /usr/src/distrib/sets &&  DESTDIR=/usr/src/destdir.amd64  MACHINE=amd64 MACHINE_ARCH=x86_64  CKSUM=/usr/src/tooldir.NetBSD-3.1_RC2-x86_64/bin/nbcksum MAKE=/usr/src/tooldir.NetBSD-3.1_RC2-x86_64/bin/nbmake MTREE=/usr/src/tooldir.NetBSD-3.1_RC2-x86_64/bin/nbmtree  MKTEMP=/usr/src/tooldir.NetBSD-3.1_RC2-x86_64/bin/nbmktemp PAX=/usr/src/tooldir.NetBSD-3.1_RC2-x86_64/bin/nbpax HOST_SH=sh  sh ./maketars -d /usr/src/destdir.amd64  -M /usr/src/destdir.amd64/METALOG -N /usr/src/etc   -i / 
./maketars: cannot create /usr/src/destdir.amd64/etc/mtree/set.base: directory nonexistent
./maketars: cannot create /usr/src/destdir.amd64/etc/mtree/set.comp: directory nonexistent
./maketars: cannot create /usr/src/destdir.amd64/etc/mtree/set.games: directory nonexistent
./maketars: cannot create /usr/src/destdir.amd64/etc/mtree/set.man: directory nonexistent
./maketars: cannot create /usr/src/destdir.amd64/etc/mtree/set.misc: directory nonexistent
./maketars: cannot create /usr/src/destdir.amd64/etc/mtree/set.text: directory nonexistent
Copying set base
cd: can't cd to /usr/src/destdir.amd64
./maketars: cannot open /usr/src/destdir.amd64/etc/mtree/set.base: no such file
Copying set comp
cd: can't cd to /usr/src/destdir.amd64
./maketars: cannot open /usr/src/destdir.amd64/etc/mtree/set.comp: no such file
Copying set games
cd: can't cd to /usr/src/destdir.amd64
./maketars: cannot open /usr/src/destdir.amd64/etc/mtree/set.games: no such file
Copying set man
cd: can't cd to /usr/src/destdir.amd64
./maketars: cannot open /usr/src/destdir.amd64/etc/mtree/set.man: no such file
Copying set misc
cd: can't cd to /usr/src/destdir.amd64
./maketars: cannot open /usr/src/destdir.amd64/etc/mtree/set.misc: no such file
Copying set text
cd: can't cd to /usr/src/destdir.amd64
./maketars: cannot open /usr/src/destdir.amd64/etc/mtree/set.text: no such file

*** Failed target:  installsets
*** Failed command: cd /usr/src/distrib/sets && DESTDIR=/usr/src/destdir.amd64 MACHINE=amd64 MACHINE_ARCH=x86_64 CKSUM=/usr/src/tooldir.NetBSD-3.1_RC2-x86_64/bin/nbcksum MAKE=/usr/src/tooldir.NetBSD-3.1_RC2-x86_64/bin/nbmake MTREE=/usr/src/tooldir.NetBSD-3.1_RC2-x86_64/bin/nbmtree MKTEMP=/usr/src/tooldir.NetBSD-3.1_RC2-x86_64/bin/nbmktemp PAX=/usr/src/tooldir.NetBSD-3.1_RC2-x86_64/bin/nbpax HOST_SH=sh sh ./maketars -d /usr/src/destdir.amd64 -M /usr/src/destdir.amd64/METALOG -N /usr/src/etc -i / 
*** Error code 12

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/tooldir.NetBSD-3.1_RC2-x86_64/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 ***


the following have changed since this attempt...

 Edit src/gnu/dist/binutils/configure.in,v
 Edit src/sys/arch/macppc/dev/adb.c,v
 Edit src/sys/arch/macppc/include/types.h,v
 Edit src/sys/arch/macppc/macppc/clock.c,v
 Edit src/sys/arch/ofppc/conf/majors.ofppc,v
 Edit src/sys/arch/ofppc/include/types.h,v
 Edit src/sys/arch/ofppc/ofppc/clock.c,v
 Edit src/sys/arch/shark/conf/files.shark,v
 Edit src/sys/arch/shark/include/types.h,v
 Edit src/sys/arch/shark/isa/clock.c,v
 Edit src/sys/arch/shark/ofw/oftodclock.c,v -> Attic
 Edit src/sys/arch/shark/stand/ofwboot/ofdev.c,v
 Edit src/sys/dev/ofw/ofrtc.c,v
 Edit src/sys/secmodel/bsd44/secmodel_bsd44_securelevel.c,v



-- 
George Georgalis, systems architect, administrator <IXOYE><