Subject: bin/14446: install must be built (as a tool) before it is used
To: None <>
From: Rhialto <>
List: netbsd-bugs
Date: 11/03/2001 16:53:10
>Number:         14446
>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:54:01 PST 2001
>Originator:     Rhialto
>Release:        1.5 building -current
System: NetBSD 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

	I am trying to build -current from 1.5. I'm not sure if install 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 nbmake do-distrib-dirs is
	(after fixing mtree as in PR 14445):

missing: ./var/chroot/named/var (created)
missing: ./var/chroot/named/var/run (created)
missing: ./var/chroot/named/var/tmp (created)
rm -f //sys
install  -l s -o root -g wheel -m 755  usr/src/sys //sys
install: usr/src/sys: No such file or directory
*** Error code 1

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

nbmake: stopped in /home/rhialto/src

	(reading this I now realise my DESTDIR is missing here but that's
	not relevant to the issue)

	This bug of install is actually mentioned in UPDATING.

	Use from -current on 1.5.
	Bootstrap install, by removing call to setprogname(), and try again.

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