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

Will Coleda will at coleda.com
Tue Nov 25 19:22:27 UTC 2008


On Tue, Nov 25, 2008 at 2:18 PM, Mark Glines via RT
<parrotbug-followup at parrotcode.org> wrote:
> 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

Can we avoid this issue by just shipping an empty svn directory?

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list