#4164: stm-2.1.2.0 build failure on GHC < 6.10
--------------------------------+-------------------------------------------
Reporter: j3h | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries (other) | Version:
Resolution: | Keywords: stm GHC.Conc readTVarIO
Difficulty: | Os: Unknown/Multiple
Testcase: | Architecture: Unknown/Multiple
Failure: None/Unknown |
--------------------------------+-------------------------------------------
Changes (by guaq):
* cc: atte.hin...@… (added)
* status: closed => new
* resolution: fixed =>
Comment:
{{{
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.12.1
$ cabal install stm
Resolving dependencies...
Configuring stm-2.1.2.1...
Preprocessing library stm-2.1.2.1...
Building stm-2.1.2.1...
[1 of 7] Compiling Control.Sequential.STM ( Control/Sequential/STM.hs,
dist/build/Control/Sequential/STM.o )
[2 of 7] Compiling Control.Concurrent.STM.TChan (
Control/Concurrent/STM/TChan.hs, dist/build/Control/Concurrent/STM/TChan.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.TVar (
Control/Concurrent/STM/TVar.hs, dist/build/Control/Concurrent/STM/TVar.o )
Control/Concurrent/STM/TVar.hs:22:8:
Ambiguous occurrence `readTVarIO'
It could refer to either `Control.Concurrent.STM.TVar.readTVarIO',
defined at Control/Concurrent/STM/TVar.hs:35:0
or `GHC.Conc.readTVarIO', imported from GHC.Conc
at Control/Concurrent/STM/TVar.hs:29:0-14
cabal: Error: some packages failed to install:
stm-2.1.2.1 failed during the building phase. The exception was:
ExitFailure 1
}}}
Is this really fixed?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4164#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs