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/



Hi,

Well, there have been alot of changes since you could just type "make
build". Although, ./build.sh build usually works for me. I am not sure how
to tell you to fix this problem. The official documentation is at:
http://www.netbsd.org/docs/current/#building

What I am thinking is that maybe you need to delete your tools and obj
directories. Then recreate them, making sure that you are a super user.
Follow the 10 number steps on that page. If this doesn't work, I would
consider downloading some new source.

Hope this helps.
-Al



On Sat, 26 Jan 2008, Mike Cheponis wrote:

> Date: Sat, 26 Jan 2008 16:16:32 -0800 (PST)
> From: Mike Cheponis <mac%Wireless.Com@localhost>
> To: DataZap <az%datazap.net@localhost>
> Cc: tech-toolchain%netbsd.org@localhost
> Subject: 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