#4164: stm-2.1.2.0 build failure on GHC < 6.10
---------------------------------+------------------------------------------
    Reporter:  j3h               |       Owner:                         
        Type:  bug               |      Status:  new                    
    Priority:  normal            |   Component:  libraries (other)      
     Version:                    |    Keywords:  stm GHC.Conc readTVarIO
          Os:  Unknown/Multiple  |    Testcase:                         
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown           
---------------------------------+------------------------------------------
 {{{
 $ 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?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4164>
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

Reply via email to