Issue #7217 has been reported by vo.x (Vit Ondruch).

----------------------------------------
Bug #7217: Race condition in build process?
https://bugs.ruby-lang.org/issues/7217

Author: vo.x (Vit Ondruch)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby-1.9.3-p286


=begin
Hi, I observer random build failures when building 'make -j16'. I am not sure if it might be either PowerPC issue or race condition in build process.

This is error I observe:

 cp: cannot create regular file '../../.ext/common/date': File exists
 gcc -shared -o ../../../.ext/powerpc-linux/-test-/string/string.so enc_associate.o modify.o init.o cstr.o set_len.o ellipsize.o -L. -L../../.. -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic  -m32  -lruby  -lpthread -lrt -ldl -lcrypt -lm   -lc
 make[2]: Entering directory `/builddir/build/BUILD/ruby-1.9.3-p286/ext/etc'
 make[2]: Entering directory `/builddir/build/BUILD/ruby-1.9.3-p286/ext/fcntl'
 make[2]: *** [../../.ext/common/date/format.rb] Error 1
 make[2]: *** Waiting for unfinished jobs.... 

And here https://gist.github.com/3957425 is full build log.

Thank you

=end



-- 
http://bugs.ruby-lang.org/