Subject: make: don't know how to make cleandir. (from make build)
To: None <current-users@netbsd.org>
From: Tod McQuillin <devin@spamcop.net>
List: current-users
Date: 06/29/2000 00:17:10
Hi,

This is my first time building NetBSD-current, so I started with the
arch/mac68k/snapshot/current-20000613 build.  Next I untarred the source
from NetBSD-current/tar_files/src and ran sup to bring it up to date.

The kernel built and booted fine; no problem.

Next, make obj in /usr/src, and then make build, but I'm getting the
following error:

unagi# make build
Build started at: Wed Jun 28 22:28:13 JST 2000
(cd /usr/src/etc && make DESTDIR=/ distrib-dirs)
install  -d -o root -g wheel -m 755 /
mtree -def mtree/NetBSD.dist -p // -u
missing: ./home (not created: File exists)
cd /; rm -f sys; ln -s usr/src/sys sys
(cd /usr/src/share/mk && make install)
install -r  -c   -o root  -g wheel  -m 444  bsd.README /usr/share/mk/bsd.README
	[ .. etc for the rest of the files in /usr/src/share/mk ... ]
install -r  -c   -o root  -g wheel  -m 444  sys.mk /usr/share/mk/sys.mk 
make   cleandir
make: don't know how to make cleandir. Stop
*** Error code 2

Stop.


Debugging reveals that make's pwd is /usr/obj when the cleandir target is
asked for, but /usr/obj is an empty directory.

Anyone have a clue what's going wrong?
-- 
Tod McQuillin