tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problem with make all in /usr/src/



On Fri, 25 Jan 2008, DataZap wrote:

Try ./build.sh build and then ./build.sh -u install=/

-Al

This is some joy:

==> Summary of results:
         build.sh command: ./build.sh build
         build.sh started: Fri Jan 25 22:56:14 PST 2008
         NetBSD version:   4.0
         MACHINE:          i386
         MACHINE_ARCH:     i386
         Build platform:   NetBSD 4.0 i386
         HOST_SH:          /bin/sh
         No nonexistent/bin/nbmake, needs building.
         Bootstrapping nbmake
         TOOLDIR path:     /usr/src/tooldir.NetBSD-4.0-i386
         DESTDIR path:     /usr/src/destdir.i386
         RELEASEDIR path:  /usr/src/releasedir
         Created /usr/src/tooldir.NetBSD-4.0-i386/bin/nbmake
         makewrapper:      /usr/src/tooldir.NetBSD-4.0-i386/bin/nbmake-i386
         Updated /usr/src/tooldir.NetBSD-4.0-i386/bin/nbmake-i386
         Successful make build
         build.sh ended:   Sat Jan 26 02:07:04 PST 2008
===> .

This would have failed, because it complained about no /usr/obj/ directory.  I 
made that directory, and 2nd time it worked.



But I'm still a moron:  when I did ./build.sh -u install=/  I get:

#    objdir  /usr/obj/tools
===> TOOLDIR path:     /usr/src/obj/tooldir.NetBSD-4.0-i386
===> DESTDIR path:     /usr/src/obj/destdir.i386
===> RELEASEDIR path:  /usr/src/obj/releasedir
===> Created /usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbmake
===> makewrapper:      /usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbmake-i386
===> Updated /usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbmake-i386
installsets ===> distrib/sets   (with: INSTALLDIR=/ INSTALLSETS=)
cd /usr/src/distrib/sets &&  DESTDIR=/usr/src/obj/destdir.i386  MACHINE=i386 
MACHINE_ARCH=i386  CKSUM=/usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbcksum  
DB=/usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbdb  HOST_SH=/bin/sh  
MAKE=/usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbmake  
MKTEMP=/usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbmktemp  
MTREE=/usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbmtree  
PAX=/usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbpax  
TSORT=/usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbtsort\ -q  /bin/sh ./maketars -d 
/usr/src/obj/destdir.i386   -N /usr/src/etc   -i /
./maketars: /usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbmktemp: not found
cp: /usr/src/obj/destdir.i386/etc/mtree/set.base: No such file or directory
cp: /usr/src/obj/destdir.i386/etc/mtree/set.comp: No such file or directory
cp: /usr/src/obj/destdir.i386/etc/mtree/set.games: No such file or directory
cp: /usr/src/obj/destdir.i386/etc/mtree/set.man: No such file or directory
cp: /usr/src/obj/destdir.i386/etc/mtree/set.misc: No such file or directory
cp: /usr/src/obj/destdir.i386/etc/mtree/set.text: No such file or directory
Copying set base
cd: can't cd to /usr/src/obj/destdir.i386
./maketars: cannot open /usr/src/obj/destdir.i386/etc/mtree/set.base: no such 
file
Copying set comp
cd: can't cd to /usr/src/obj/destdir.i386
./maketars: cannot open /usr/src/obj/destdir.i386/etc/mtree/set.comp: no such 
file
Copying set games
cd: can't cd to /usr/src/obj/destdir.i386
./maketars: cannot open /usr/src/obj/destdir.i386/etc/mtree/set.games: no such 
file
Copying set man
cd: can't cd to /usr/src/obj/destdir.i386
./maketars: cannot open /usr/src/obj/destdir.i386/etc/mtree/set.man: no such 
file
Copying set misc
cd: can't cd to /usr/src/obj/destdir.i386
./maketars: cannot open /usr/src/obj/destdir.i386/etc/mtree/set.misc: no such 
file
Copying set text
cd: can't cd to /usr/src/obj/destdir.i386
./maketars: cannot open /usr/src/obj/destdir.i386/etc/mtree/set.text: no such 
file
rm: No such file or directory

*** Failed target:  installsets
*** Failed command: cd /usr/src/distrib/sets && 
DESTDIR=/usr/src/obj/destdir.i386 MACHINE=i386 MACHINE_ARCH=i386 
CKSUM=/usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbcksum 
DB=/usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbdb HOST_SH=/bin/sh 
MAKE=/usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbmake 
MKTEMP=/usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbmktemp 
MTREE=/usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbmtree 
PAX=/usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbpax 
TSORT=/usr/src/obj/tooldir.NetBSD-4.0-i386/bin/nbtsort\ -q /bin/sh ./maketars -d 
/usr/src/obj/destdir.i386 -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/obj/tooldir.NetBSD-4.0-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 ***


Thanks again for any help!

-Mike



Home | Main Index | Thread Index | Old Index