tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Parallel build failure on OSX



On Wed, Jan 07, 2015 at 12:57:31PM +0100, Edgar Fu? wrote:
> Building NetBSD-7 with -j 4 on my Mac mini (Fusion Drive, OSX 10.10) fails:
> 
> --- obj-external ---
> #    objdir  /Users/ef/local/build/NetBSD-7/external/bsd/libarchive/lib/libarchive_fe/obj
> --- obj-lib ---
> #    objdir  /Users/ef/local/build/NetBSD-7/external/bsd/libarchive/lib/libarchive_fe/obj
> mkdir: /Users/ef/local/build/NetBSD-7/external/bsd/libarchive/lib/libarchive_fe/obj: File exists
> *** [obj] Error code 1
> 
> Omitting the -j 4 from the build.sh invocation helps.

Is that two commands creating the same directory at the same time?
In whick case it is a bug in the makefile.
OTOH mkdir failing EEXIST isn't useful - with nfs it happens if the
response is lost and the request retried.

	David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index