Subject: Re: Errors with pkgsrc locking mechanism
To: Lars Nordlund <>
From: Raymond Meyer <>
List: tech-pkg
Date: 07/30/2006 12:15:10
On Sun, 30 Jul 2006 12:34:44 +0200
Lars Nordlund <> wrote:

> I do not know what other people think about the pkgsrc locking
> mechanism, but IMHO it should be removed. Not only does it simply not
> work throughout pkgsrc because of the reasons stated above, I have also
> seen locks being grabbed when they should not. For example when the
> other make process has finished building and starts to install. Then the
> first make is released from the lock and starts to build.. With
> unspecified result of course... (from 2+ year old memory. Have not used
> it since then. Problem could have been corrected of course).
> Best regards,
> 	Lars Nordlund

I didn't know that pkgsrc locking was unsafe. What's the point of having
something if it only works properly 80% of the time, or so.