Subject: bin/14445: 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:28:54
>Number:         14445
>Category:       bin
>Synopsis:       mtree must be built (as a tool) before it is used
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 03 07:30:01 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. I'm not sure if mtree is
	part of the TOOLDIR scheme, but if it is, it is used before it
	is built. In the other case, it ought to be part of the scheme.

	The tail of my output from build.sh is:

obj ===> regress/usr.bin/sort
/home/rhialto/src/regress/usr.bin/sort -> /home/rhialto/obj.vax/regress/usr.bin/sort
/home/rhialto/tools/bin/nbmake  do-distrib-dirs
cd /home/rhialto/src/etc && /home/rhialto/tools/bin/nbmake DESTDIR=/home/rhialto/destdir.vax distrib-dirs
install  -d -o root -g wheel -m 755 /home/rhialto/destdir.vax
mtree -def mtree/NetBSD.dist -p /home/rhialto/destdir.vax/ -U
mtree: slash character in file name
mtree: failed at line 7 of the specification
*** Error code 1

Stop.
nbmake: stopped in /home/rhialto/src/etc
*** Error code 1

Stop.
nbmake: stopped in /home/rhialto/src
*** Error code 1

Stop.
nbmake: stopped in /home/rhialto/src
bash-2.04#

>How-To-Repeat:
	Use build.sh from -current on 1.5.
	
>Fix:
	Bootstrap mtree, by removing call to setprogname(), and try again.

-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
>Release-Note:
>Audit-Trail:
>Unformatted: