Subject: Re: another parallel-make race
To: Christos Zoulas <christos@zoulas.com>
From: Chuck Silvers <chuq@chuq.com>
List: current-users
Date: 09/17/2005 17:39:23
On Sat, Sep 17, 2005 at 03:28:18PM -0400, Christos Zoulas wrote:
> On Sep 17, 12:12pm, chuq@chuq.com (Chuck Silvers) wrote:
> -- Subject: Re: another parallel-make race
> 
> | I'm not sure which change could have fixed the problem I described below,
> | but I tried again anyway.  the problem is still there.
> 
> The EISDIR patch. Can you give me an example so I can reproduce it?

on a 2-CPU machine, I do "build.sh -j 8 release".
you need to have an empty $TOOLDIR (or at least no include directory there).

I put some ktrace output of the problem occuring at
	ftp.netbsd.org:/pub/NetBSD/misc/chs/kdump.out.2.nbpax

the error that was printed was:

pax: Cannot create /build/tooldir/include/nbinclude/./sun3 (No such file or directory)
--- dependall-fdisk ---
cd /home/chs/netbsd/src/tools/fdisk/../../include &&  /build/tooldir/bin/nbpax -rw disktab.h /build/tooldir/include/nbinclude
--- dependall-installboot ---
pax: Cannot create /build/tooldir/include/nbinclude/./sun68k (No such file or directory)
*** [beforedepend] Error code 1
--- dependall-fdisk ---


-Chuck