Subject: obj dir not created (subdir sendmail/cf/cf)
To: None <>
From: None <>
List: tech-toolchain
Date: 06/19/2005 18:50:01

I'm building netbsd-2-0 branch userland.

My current system (but toolchain is generated):
NetBSD 2.0.2 i386

I invoke the build with the following command :

	NOCLEANDIR=yes sh $(NETBSDSRCDIR)/ -M $(OBJDIR) -a $(TARGET_ARCH) -X $(X11SRCDIR) -x -U distribution;

Please note that my NETBSDSRCDIR is _read_only_.

There is a problem in the make-obj phase, apparently because a subdir
should be created, while the higher level dir does not exist, namely:


sendmail/cf not existing.

[This is just a guess from the log, I have not tracked the intrincacies
of the make business, so I might be wrong].

Here is the relevant part of the log:

----- LOG
obj ===> gnu/usr.sbin/sendmail/doc # dir
obj ===> gnu/usr.sbin/sendmail/doc/op # subdir
obj ===> gnu/usr.sbin/sendmail/cf/cf # no higher level dir created
nbmake: don't know how to make obj. Stop

nbmake: stopped in /usr/src/gnu/usr.sbin/sendmail/cf/cf

*** Failed target:  obj-cf/cf
*** Failed command: targ=obj;dir=cf/cf; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /obj/polynum.NETBSD-DISTRIB-generic_NetBSD-i386_NetBSD-i386/usr/src/tooldir.NetBSD-2.0.2-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> gnu/usr.sbin/sendmail/$dir"; cd "/usr/src/gnu/usr.sbin/sendmail/$dir"; /obj/polynum.NETBSD-DISTRIB-generic_NetBSD-i386_NetBSD-i386/usr/src/tooldir.NetBSD-2.0.2-i386/bin/nbmake "_THISDIR_=gnu/usr.sbin/sendmail/$dir/" $targ; ;; esac
*** Error code 2

nbmake: stopped in /usr/src/gnu/usr.sbin/sendmail
----- END LOG

Since the error might be caused by a blunder on my part, I'd like if
someone with more knowledge on the toolchain could make the diagnostic
(the source dir is readonly as previously said [so the error may remain
unseen in the obj is created in the srcdir where the subdir already
exists, that's why I give this info in case it may appear to be 

Thierry Laronde (Alceste) <tlaronde +AT+ polynum +dot+ com>  |
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C