Thread blocked in an STM transaction #1328
Comments
could you try to run |
Does a normal stack project work? E.g.execute Last but not least, welcome to haskell! |
I just ran into this on Arch Linux 5.1.16:
|
This seems to be a problem with |
|
This seems like a problem with stack, maybe somebody reported this upstream already. Can you try to manually invoke |
Thanks for your quick responses. Where can I find |
@mb720 the path where |
Or clone this repo and execute the command in the top level of this repo |
Thanks @jneira. I cloned the repo and ran
which resulted in
On the other hand, judging from the output of
it built and configured all kinds of packages (e.g., network-uri-2.6.1.0, async-2.2.1). The last messages are
indicating that the build succeeded. :-) Stack version:
|
So, this is a problem upstream, that stack fails to install ghc-8.2.2 on arch linux. |
For the record, if you install ghc from the static binaries distributed by the Haskell team alongside all the other ghc dependencies, you should be able to compile ghc. Use this new ghc to compile ghc once more, then use the new ghc to compile the rest of the toolchain. This took me on a Ryzen 2600 a bit more than an hour in total (ghc, ghc again, cabal, then use cabal to install stack). Stack will properly download its own GHC as it should. |
Running |
It seems that the package for stack on the pacman repository is outdated |
What does outdated mean? Do we have to bump our required version for stack? Why does it fail though? What can we do, that this does not happen again? |
I guess we have to bump the version to |
Hi, I'm an Arch user (relevant neofetch + glibc? https://owo.whats-th.is/5zu65ff.png) and I've installed cabal using the bootstrap script. I then used cabal to install stack, and stack is now trying to install HIE. However, when it gets around to unpacking ghc-tinfo6-8.6.4 (and once even got that and went on to installing but failed with the same error), it errs with
thread blocked indefinitely in an STM transaction
and error code 1. This is done withstack install.hs
. It always manages to download ghc-tinfo6, but it never manages to actually use it.I'm new to Haskell as a whole and for sure don't know much about the ecosystem, so I might be missing something but I'm fairly sure I've been doing it correctly so far.
The text was updated successfully, but these errors were encountered: