Open chreekat opened 10 months ago
Oh. I had a typo in my entr
script. I actually did have two instances of cabal compiling in the same builddir at the same time. Perhaps this is a known issue.
Yes, that's known not to work although it's not well communicated in the documentation and we really should lock dist
directories while they're in use.
Describe the bug I was running cabal on the same project in parallel:
One instance was building with --builddir=dist-newstyle[edit: incorrect, see followup comment]I don't know how easy this will be to reproduce, but note that something similar happens often enough on GHC to cause pain. Lots of examples here: https://grafana.gitlab.haskell.org/d/167r9v6nk/ci-spurious-failures?orgId=2&var-types=ghc-pkg_died&var-jobs=All&var-runners=All&from=now-45d&to=now&refresh=15m
To Reproduce :shrug:
Expected behavior Don't make ghc-pkg angry
System information
cabal-install version 3.10.1.0 compiled using version 3.10.1.0 of the Cabal library
The Glorious Glasgow Haskell Compilation System, version 9.2.8