-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hTryLock: lock already exists: /home/simon/.cabal/packages/hackage.haskell.org/hackage-security-lock #6222
Comments
How often does this happen? |
This was the first time for me. |
I think that the package downloading code has some parallelism in it, maybe there's a deadlock in it somewhere. |
Indeed I am also seeing this in the new head.hackage CI infrastructure. It happens most builds (perhaps exacerbated by the fact that we build multiple projects concurrently). |
I've also seen this happen on GHC CI. |
May or may not be fixed when haskell/hackage-security#228 is resolved. |
@phadej I doubt haskell/hackage-security#228 will affect this. Afterall, the locking implementation from |
Alright, with the help of @gbaz and @dcoutts I've fixed the likely cause of this in haskell/hackage-security#230. |
I believe this should be fixed with the next |
Which will also require a new cabal release... ;-) |
Also seing this intermittently when running |
That page is unviewable (at least using mobile browser), it displays fancy 404
…Sent from my iPhone
On 6. Jan 2020, at 15.42, Hans Höglund ***@***.***> wrote:
Also seing this intermittently, e.g. in https://app.circleci.com/jobs/github/hanshoglund/music-suite/94
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thanks, seems I have a CircleCI issue. Anyway error message is the same as above. |
should be fixed in 3.0.1.0 / 3.2.0.0 (see |
Great work finding the cause! 👏 Is there an ETA for a 3.0.1.0 release? |
Re-running the same command then succeeded.
This seems related to #4960, but in my case there was no second
cabal
process downloading packages, only a long-runningcabal repl
.(This is the current
cabal-install-head
from hvr's repo.)The text was updated successfully, but these errors were encountered: