Resolving dependencies... Downloading haskell-src-exts-0.3.9... Configuring haskell-src-exts-0.3.9... Building haskell-src-exts-0.3.9... Preprocessing library haskell-src-exts-0.3.9... dist/build/Language/Haskell/Exts/Parser.hs:1:12: Warning: -fglasgow-exts is deprecated: Use individual extensions instead Language/Haskell/Exts/Syntax.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead [1 of 8] Compiling Language.Haskell.Exts.Syntax ( Language/Haskell/Exts/Syntax.hs, dist/build/Language/Haskell/Exts/Syntax.o ) [2 of 8] Compiling Language.Haskell.Exts.Build ( Language/Haskell/Exts/Build.hs, dist/build/Language/Haskell/Exts/Build.o ) [3 of 8] Compiling Language.Haskell.Exts.Pretty ( Language/Haskell/Exts/Pretty.hs, dist/build/Language/Haskell/Exts/Pretty.o ) [4 of 8] Compiling Language.Haskell.Exts.ParseMonad ( Language/Haskell/Exts/ParseMonad.hs, dist/build/Language/Haskell/Exts/ParseMonad.o ) Language/Haskell/Exts/ParseMonad.hs:103:10: Warning: ‘P’ is an instance of Monad but not Applicative - this will become an error in GHC 7.10, under the Applicative-Monad Proposal. Language/Haskell/Exts/ParseMonad.hs:177:10: Warning: ‘Lex’ is an instance of Monad but not Applicative - this will become an error in GHC 7.10, under the Applicative-Monad Proposal. [5 of 8] Compiling Language.Haskell.Exts.Lexer ( Language/Haskell/Exts/Lexer.hs, dist/build/Language/Haskell/Exts/Lexer.o ) [6 of 8] Compiling Language.Haskell.Exts.ParseUtils ( Language/Haskell/Exts/ParseUtils.hs, dist/build/Language/Haskell/Exts/ParseUtils.o ) [7 of 8] Compiling Language.Haskell.Exts.Parser ( dist/build/Language/Haskell/Exts/Parser.hs, dist/build/Language/Haskell/Exts/Parser.o ) templates/GenericTemplate.hs:102:22: Couldn't match expected type ‘Bool’ with actual type ‘Int#’ In the expression: (n <# (0# :: Int#)) In a stmt of a pattern guard for a case alternative: (n <# (0# :: Int#)) In a case alternative: n | (n <# (0# :: Int#)) -> (happyReduceArr ! rule) i tk st where rule = (I# ((negateInt# ((n +# (1# :: Int#)))))) templates/GenericTemplate.hs:113:23: Couldn't match expected type ‘Bool’ with actual type ‘Int#’ In the expression: (off_i >=# (0# :: Int#)) In the expression: if (off_i >=# (0# :: Int#)) then (indexShortOffAddr happyCheck off_i ==# i) else False In an equation for ‘check’: check = if (off_i >=# (0# :: Int#)) then (indexShortOffAddr happyCheck off_i ==# i) else False templates/GenericTemplate.hs:115:30: Couldn't match expected type ‘Int#’ with actual type ‘Bool’ In the expression: False In the expression: if (off_i >=# (0# :: Int#)) then (indexShortOffAddr happyCheck off_i ==# i) else False templates/GenericTemplate.hs:116:19: Couldn't match expected type ‘Bool’ with actual type ‘Int#’ In the expression: check In a stmt of a pattern guard for an equation for ‘action’: check templates/GenericTemplate.hs:219:14: Pattern bindings containing unlifted types should use an outermost bang pattern: sts1@((HappyCons (st1@(action)) (_))) = happyDrop k (HappyCons (st) (sts)) In an equation for ‘happyMonadReduce’: happyMonadReduce k nt fn j tk st sts stk = happyThen1 (fn stk tk) (\ r -> happyGoto nt j tk st1 sts1 (r `HappyStk` drop_stk)) where sts1@((HappyCons (st1@(action)) (_))) = happyDrop k (HappyCons (st) (sts)) drop_stk = happyDropStk k stk templates/GenericTemplate.hs:226:14: Pattern bindings containing unlifted types should use an outermost bang pattern: sts1@((HappyCons (st1@(action)) (_))) = happyDrop k (HappyCons (st) (sts)) In an equation for ‘happyMonad2Reduce’: happyMonad2Reduce k nt fn j tk st sts stk = happyThen1 (fn stk tk) (\ r -> happyNewToken new_state sts1 (r `HappyStk` drop_stk)) where sts1@((HappyCons (st1@(action)) (_))) = happyDrop k (HappyCons (st) (sts)) drop_stk = happyDropStk k stk off = indexShortOffAddr happyGotoOffsets st1 off_i = (off +# nt) .... Failed to install haskell-src-exts-0.3.9 cabal: Error: some packages failed to install: haskell-src-exts-0.3.9 failed during the building phase. The exception was: ExitFailure 1