Subject: bin/14447: mtree must be built (as a tool) before it is used
To: None <gnats-bugs@gnats.netbsd.org>
From: Rhialto <rhialto@azenomei.knuffel.net>
List: netbsd-bugs
Date: 11/03/2001 16:57:28
>Number:         14447
>Category:       bin
>Synopsis:       build.sh -o option does not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 03 07:58:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Rhialto
>Release:        1.5 building -current
>Organization:
	
>Environment:
	
System: NetBSD xzan.falu.nl 1.5 NetBSD 1.5 (XZAN) #0: Sun Dec 10 23:40:04 CET 2000 root@xzan:/usr/src/sys/arch/vax/compile/XZAN vax


>Description:
	I am trying to build -current from 1.5 with build.sh -o.

	The start of my output from build.sh -o is:

# ./build.sh -u -D /home/rhialto/destdir.vax -O /home/rhialto/obj.vax -T /home/rhialto/tools -o
===> DESTDIR path: /home/rhialto/destdir.vax
===> TOOLDIR path: /home/rhialto/tools
Build started at: Sat Nov  3 16:46:25 CET 2001
/home/rhialto/tools/bin/nbmake  obj
obj ===> tools
obj ===> tools/binstall  
obj ===> tools/gencat
obj ===> tools/mkdep
obj ===> tools/mtree
obj ===> tools/rpcgen
...
obj ===> tools/mdsetimage
obj ===> lib
obj ===> lib/csu
obj ===> lib/csu/vax
obj ===> lib/csu/c++
obj ===> lib/libc

here I interrupted it.


>How-To-Repeat:
	Use build.sh from -current on 1.5.
	
>Fix:
	put "export" in front of MKOBJDIRS=no.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert - rhialto@     --Soep van de dag, wat zal dat zijn
\X/ xs4all.nl --wat kan dat wezen, beter maar het ergste vrezen -Boy Bensdorp

----- End forwarded message -----
>Release-Note:
>Audit-Trail:
>Unformatted: