[perl #59680] Build error: tools/build/ops2pm.pl: Could not mkdir /home/moritz/src/parrot/lib/Parrot/OpLib: File exists!

Mark Glines via RT parrotbug-followup at parrotcode.org
Tue Nov 25 19:18:07 UTC 2008


On Sat Oct 18 12:13:51 2008, chromatic at wgz.org wrote:
> There's a race condition, if that directory doesn't exist and multiple 
> processes execute that code simultaneously.  Fortunately, 
> Parrot::Ops2pm::print_module() creates that directly when it writes 
> Parrot::OpLib::core -- the only file in that directory.
> 
> Fixed in r32016.

Hi,

I'm still seeing this race occur, about once every hundred builds. 
r33196 contains a simple workaround (if mkpath failed, but the directory
now exists, someone else created it, so silently continue).

Mark



More information about the parrot-dev mailing list