[cmake-developers] New command 'file(LOCK_DIRECTORY ...)'
Brad King
brad.king at kitware.com
Tue Dec 2 11:36:36 EST 2014
On 12/02/2014 10:03 AM, Brad King wrote:
> Testing went pretty well, but the RunCMake.file test fails on HP-UX
> in the LOCK-error-timeout case:
>
> http://open.cdash.org/testDetails.php?test=297595272&build=3594885
>
> The relevant expect/actual lines are:
>
>> expect-err> Timeout reached\.
>> actual-err> Permission denied.
>
> Any idea why that might happen?
This may fix it:
cmFileLockUnix: Treat EACCES like EAGAIN
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=35bcecc0
According to 'man fcntl' locking an already-locked file may fail
with either EACCES or EAGAIN. We were only checking the latter.
Thanks,
-Brad
More information about the cmake-developers
mailing list