[Omake] Locking and NFS
Phil Endecott
spam_from_omake at chezphil.org
Mon Dec 18 05:12:49 PST 2006
Dear OMake experts,
I like the look of OMake and look forward to being able to try it out.
Unfortunately I have not got very far yet due to this:
$ omake hello
Fatal error: exception Failure("Failed to lock the file .omakedb.lock:
No locks available")
This is an NFS filesystem and it does not support locking.
I have read bug 555 (http://bugzilla.metaprl.org/show_bug.cgi?id=555)
and it points out that the "--dotomake dir" option can be used to move
the cache files to somewhere other than $HOME/.omake, i.e. a filesystem
that does have locking. But the error that I'm getting is not with
$HOME/.omake, it's with ./.omakedb.lock. Is there a way to put this
file somewhere different?
Can you help me understand what purpose these locks serve? There is no
chance of me running two simultaneous builds in the same directory. It
is possible but unlikely that I might want to build two different
projects in different directories simultaneously (hence the locks in
$HOME/.omake I suppose).
Note that it takes several seconds for the above error to appear - I
think there is some sort of timeout occuring. So just downgrading this
error to a warning is not really a good enough solution.
Many thanks for any suggestions.
Phil.
More information about the Omake
mailing list