stm-2.1.2.0 build failure on GHC < 6.10
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.10.4
$ cabal install stm-2.1.2.0
Resolving dependencies...
Configuring stm-2.1.2.0...
Preprocessing library stm-2.1.2.0...
Building stm-2.1.2.0...
[1 of 7] Compiling Control.Sequential.STM ( Control/Sequential/STM.hs, dist/build/Control/Sequential/STM.o )
[2 of 7] Compiling Control.Monad.STM ( Control/Monad/STM.hs, dist/build/Control/Monad/STM.o )
[3 of 7] Compiling Control.Concurrent.STM.TMVar ( Control/Concurrent/STM/TMVar.hs, dist/build/Control/Concurrent/STM/TMVar.o )
[4 of 7] Compiling Control.Concurrent.STM.TChan ( Control/Concurrent/STM/TChan.hs, dist/build/Control/Concurrent/STM/TChan.o )
[5 of 7] Compiling Control.Concurrent.STM.TVar ( Control/Concurrent/STM/TVar.hs, dist/build/Control/Concurrent/STM/TVar.o )
Control/Concurrent/STM/TVar.hs:22:8: Not in scope: `readTVarIO'
cabal: Error: some packages failed to install:
stm-2.1.2.0 failed during the building phase. The exception was:
ExitFailure 1
The same build failure occurs on GHC 6.8
stm-2.1.1.2 or earlier installs successfully with GHC < 6.12.
This build failure results from the addition of readTVarIO from GHC.Conc to the API, with no compatibility API or constraint on the version of base.
Is this the right place to report STM bugs?
Trac metadata
Trac field | Value |
---|---|
Version | |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries (other) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |