Resolving dependencies... Configuring cpphs-1.17.1... Building cpphs-1.17.1... Preprocessing library cpphs-1.17.1... [ 1 of 12] Compiling Language.Preprocessor.Cpphs.HashDefine ( Language/Preprocessor/Cpphs/HashDefine.hs, dist/build/Language/Preprocessor/Cpphs/HashDefine.o ) [ 2 of 12] Compiling Text.ParserCombinators.HuttonMeijer ( Text/ParserCombinators/HuttonMeijer.hs, dist/build/Text/ParserCombinators/HuttonMeijer.o ) [ 3 of 12] Compiling Language.Preprocessor.Cpphs.SymTab ( Language/Preprocessor/Cpphs/SymTab.hs, dist/build/Language/Preprocessor/Cpphs/SymTab.o ) [ 4 of 12] Compiling Language.Preprocessor.Unlit ( Language/Preprocessor/Unlit.hs, dist/build/Language/Preprocessor/Unlit.o ) [ 5 of 12] Compiling Language.Preprocessor.Cpphs.Options ( Language/Preprocessor/Cpphs/Options.hs, dist/build/Language/Preprocessor/Cpphs/Options.o ) [ 6 of 12] Compiling Language.Preprocessor.Cpphs.Position ( Language/Preprocessor/Cpphs/Position.hs, dist/build/Language/Preprocessor/Cpphs/Position.o ) [ 7 of 12] Compiling Language.Preprocessor.Cpphs.ReadFirst ( Language/Preprocessor/Cpphs/ReadFirst.hs, dist/build/Language/Preprocessor/Cpphs/ReadFirst.o ) [ 8 of 12] Compiling Language.Preprocessor.Cpphs.Tokenise ( Language/Preprocessor/Cpphs/Tokenise.hs, dist/build/Language/Preprocessor/Cpphs/Tokenise.o ) [ 9 of 12] Compiling Language.Preprocessor.Cpphs.MacroPass ( Language/Preprocessor/Cpphs/MacroPass.hs, dist/build/Language/Preprocessor/Cpphs/MacroPass.o ) [10 of 12] Compiling Language.Preprocessor.Cpphs.CppIfdef ( Language/Preprocessor/Cpphs/CppIfdef.hs, dist/build/Language/Preprocessor/Cpphs/CppIfdef.o ) [11 of 12] Compiling Language.Preprocessor.Cpphs.RunCpphs ( Language/Preprocessor/Cpphs/RunCpphs.hs, dist/build/Language/Preprocessor/Cpphs/RunCpphs.o ) [12 of 12] Compiling Language.Preprocessor.Cpphs ( Language/Preprocessor/Cpphs.hs, dist/build/Language/Preprocessor/Cpphs.o ) In-place registering cpphs-1.17.1... Preprocessing executable 'cpphs' for cpphs-1.17.1... [ 1 of 13] Compiling Text.ParserCombinators.HuttonMeijer ( Text/ParserCombinators/HuttonMeijer.hs, dist/build/cpphs/cpphs-tmp/Text/ParserCombinators/HuttonMeijer.o ) [ 2 of 13] Compiling Language.Preprocessor.Cpphs.SymTab ( Language/Preprocessor/Cpphs/SymTab.hs, dist/build/cpphs/cpphs-tmp/Language/Preprocessor/Cpphs/SymTab.o ) [ 3 of 13] Compiling Language.Preprocessor.Cpphs.Position ( Language/Preprocessor/Cpphs/Position.hs, dist/build/cpphs/cpphs-tmp/Language/Preprocessor/Cpphs/Position.o ) [ 4 of 13] Compiling Language.Preprocessor.Cpphs.ReadFirst ( Language/Preprocessor/Cpphs/ReadFirst.hs, dist/build/cpphs/cpphs-tmp/Language/Preprocessor/Cpphs/ReadFirst.o ) [ 5 of 13] Compiling Language.Preprocessor.Cpphs.Options ( Language/Preprocessor/Cpphs/Options.hs, dist/build/cpphs/cpphs-tmp/Language/Preprocessor/Cpphs/Options.o ) [ 6 of 13] Compiling Language.Preprocessor.Cpphs.HashDefine ( Language/Preprocessor/Cpphs/HashDefine.hs, dist/build/cpphs/cpphs-tmp/Language/Preprocessor/Cpphs/HashDefine.o ) [ 7 of 13] Compiling Language.Preprocessor.Cpphs.Tokenise ( Language/Preprocessor/Cpphs/Tokenise.hs, dist/build/cpphs/cpphs-tmp/Language/Preprocessor/Cpphs/Tokenise.o ) [ 8 of 13] Compiling Language.Preprocessor.Cpphs.MacroPass ( Language/Preprocessor/Cpphs/MacroPass.hs, dist/build/cpphs/cpphs-tmp/Language/Preprocessor/Cpphs/MacroPass.o ) [ 9 of 13] Compiling Language.Preprocessor.Cpphs.CppIfdef ( Language/Preprocessor/Cpphs/CppIfdef.hs, dist/build/cpphs/cpphs-tmp/Language/Preprocessor/Cpphs/CppIfdef.o ) [10 of 13] Compiling Language.Preprocessor.Unlit ( Language/Preprocessor/Unlit.hs, dist/build/cpphs/cpphs-tmp/Language/Preprocessor/Unlit.o ) [11 of 13] Compiling Language.Preprocessor.Cpphs.RunCpphs ( Language/Preprocessor/Cpphs/RunCpphs.hs, dist/build/cpphs/cpphs-tmp/Language/Preprocessor/Cpphs/RunCpphs.o ) [12 of 13] Compiling Language.Preprocessor.Cpphs ( Language/Preprocessor/Cpphs.hs, dist/build/cpphs/cpphs-tmp/Language/Preprocessor/Cpphs.o ) [13 of 13] Compiling Main ( cpphs.hs, dist/build/cpphs/cpphs-tmp/Main.o ) Linking dist/build/cpphs/cpphs ... Running Haddock for cpphs-1.17.1... Running hscolour for cpphs-1.17.1... Preprocessing library cpphs-1.17.1... Preprocessing executable 'cpphs' for cpphs-1.17.1... Preprocessing library cpphs-1.17.1... Haddock coverage: 83% ( 5 / 6) in 'Language.Preprocessor.Cpphs.HashDefine' 6% ( 2 / 36) in 'Text.ParserCombinators.HuttonMeijer' 33% ( 3 / 9) in 'Language.Preprocessor.Cpphs.SymTab' 100% ( 2 / 2) in 'Language.Preprocessor.Unlit' 100% ( 7 / 7) in 'Language.Preprocessor.Cpphs.Options' 100% ( 14 / 14) in 'Language.Preprocessor.Cpphs.Position' 100% ( 2 / 2) in 'Language.Preprocessor.Cpphs.ReadFirst' 86% ( 6 / 7) in 'Language.Preprocessor.Cpphs.Tokenise' 100% ( 5 / 5) in 'Language.Preprocessor.Cpphs.MacroPass' 100% ( 2 / 2) in 'Language.Preprocessor.Cpphs.CppIfdef' 0% ( 0 / 3) in 'Language.Preprocessor.Cpphs.RunCpphs' 92% ( 22 / 24) in 'Language.Preprocessor.Cpphs' Documentation created: dist/doc/html/cpphs/index.html Preprocessing executable 'cpphs' for cpphs-1.17.1... Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/cpphs-1.17.1 Installing executable(s) in /srv/hackage/var/build/tmp-install/bin Warning: The directory /srv/hackage/var/build/tmp-install/bin is not in the system search path. Registering cpphs-1.17.1... Installed cpphs-1.17.1 Configuring utf8-string-0.3.7... Building utf8-string-0.3.7... Preprocessing library utf8-string-0.3.7... [1 of 7] Compiling Codec.Binary.UTF8.String ( Codec/Binary/UTF8/String.hs, dist/build/Codec/Binary/UTF8/String.o ) [2 of 7] Compiling Codec.Binary.UTF8.Generic ( Codec/Binary/UTF8/Generic.hs, dist/build/Codec/Binary/UTF8/Generic.o ) [3 of 7] Compiling Data.String.UTF8 ( Data/String/UTF8.hs, dist/build/Data/String/UTF8.o ) [4 of 7] Compiling System.IO.UTF8 ( System/IO/UTF8.hs, dist/build/System/IO/UTF8.o ) [5 of 7] Compiling System.Environment.UTF8 ( System/Environment/UTF8.hs, dist/build/System/Environment/UTF8.o ) [6 of 7] Compiling Data.ByteString.UTF8 ( Data/ByteString/UTF8.hs, dist/build/Data/ByteString/UTF8.o ) [7 of 7] Compiling Data.ByteString.Lazy.UTF8 ( Data/ByteString/Lazy/UTF8.hs, dist/build/Data/ByteString/Lazy/UTF8.o ) In-place registering utf8-string-0.3.7... Running Haddock for utf8-string-0.3.7... Running hscolour for utf8-string-0.3.7... Preprocessing library utf8-string-0.3.7... Preprocessing library utf8-string-0.3.7... Haddock coverage: 100% ( 8 / 8) in 'Codec.Binary.UTF8.String' 94% ( 16 / 17) in 'Codec.Binary.UTF8.Generic' 89% ( 24 / 27) in 'Data.String.UTF8' 82% ( 14 / 17) in 'System.IO.UTF8' 14% ( 1 / 7) in 'System.Environment.UTF8' 100% ( 17 / 17) in 'Data.ByteString.UTF8' 100% ( 17 / 17) in 'Data.ByteString.Lazy.UTF8' Documentation created: dist/doc/html/utf8-string/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/utf8-string-0.3.7 Registering utf8-string-0.3.7... Installed utf8-string-0.3.7 Configuring haskell-src-exts-0.4.8... Building haskell-src-exts-0.4.8... Preprocessing library haskell-src-exts-0.4.8... 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 ) [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 ) dist/build/Language/Haskell/Exts/Parser.hs:6324:9: Warning: Pattern match(es) are overlapped In a case alternative: _ -> ... templates/GenericTemplate.hs:219:14: Warning: 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: Warning: 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) .... [8 of 8] Compiling Language.Haskell.Exts ( Language/Haskell/Exts.hs, dist/build/Language/Haskell/Exts.o ) In-place registering haskell-src-exts-0.4.8... Running Haddock for haskell-src-exts-0.4.8... Running hscolour for haskell-src-exts-0.4.8... Preprocessing library haskell-src-exts-0.4.8... Preprocessing library haskell-src-exts-0.4.8... dist/build/tmp-30661/dist/build/Language/Haskell/Exts/Parser.hs:1:12: Warning: -fglasgow-exts is deprecated: Use individual extensions instead dist/build/tmp-30661/Language/Haskell/Exts/Syntax.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead templates/GenericTemplate.hs:219:14: Warning: 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: Warning: 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) .... Haddock coverage: 51% ( 56 /109) in 'Language.Haskell.Exts.Syntax' 12% ( 6 / 49) in 'Language.Haskell.Exts.Build' 93% ( 14 / 15) in 'Language.Haskell.Exts.Pretty' 33% ( 11 / 33) in 'Language.Haskell.Exts.ParseMonad' 33% ( 1 / 3) in 'Language.Haskell.Exts.Lexer' 3% ( 1 / 36) in 'Language.Haskell.Exts.ParseUtils' 100% ( 6 / 6) in 'Language.Haskell.Exts.Parser' 50% ( 4 / 8) in 'Language.Haskell.Exts' Documentation created: dist/doc/html/haskell-src-exts/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/haskell-src-exts-0.4.8 Registering haskell-src-exts-0.4.8... Installed haskell-src-exts-0.4.8 Downloading hsx-0.4.6... Configuring hsx-0.4.6... Building hsx-0.4.6... Preprocessing library hsx-0.4.6... [1 of 2] Compiling HSX.Transform ( src/HSX/Transform.hs, dist/build/HSX/Transform.o ) src/HSX/Transform.hs:75:12: Constructor `Module' should have 7 arguments, but has been given 5 In the pattern: Module s m mes is decls In an equation for `transform': transform (Module s m mes is decls) = let (decls', (harp, hsx)) = runHsxM $ mapM transformDecl decls imps1 = ... .... in Module s m mes (imps1 $ imps2 is) decls' src/HSX/Transform.hs:99:5: Constructor `PatBind' should have 5 arguments, but has been given 4 In the pattern: PatBind srcloc pat rhs decls In a case alternative: PatBind srcloc pat rhs decls -> do { let ([pat'], rnpss) = ...; ([pat''], attrGuards, guards, decls'') <- transformPatterns srcloc [pat']; rhs' <- mkRhs srcloc (attrGuards ++ guards) (concat rnpss) rhs; .... } In the expression: case d of { PatBind srcloc pat rhs decls -> do { let ...; ([pat''], attrGuards, guards, decls'') <- transformPatterns srcloc [...]; .... } FunBind ms -> fmap FunBind $ mapM transformMatch ms InstDecl s c n ts idecls -> fmap (InstDecl s c n ts) $ mapM transformInstDecl idecls ClassDecl s c n ns ds cdecls -> fmap (ClassDecl s c n ns ds) $ mapM transformClassDecl cdecls _ -> return d } src/HSX/Transform.hs:148:17: Constructor `Match' should have 6 arguments, but has been given 5 In the pattern: Match srcloc name pats rhs decls In an equation for `transformMatch': transformMatch (Match srcloc name pats rhs decls) = do { let (pats', rnpss) = ...; (pats'', attrGuards, guards, decls'') <- transformPatterns srcloc pats'; rhs' <- mkRhs srcloc (attrGuards ++ guards) (concat rnpss) rhs; .... } src/HSX/Transform.hs:374:17: Constructor `PatBind' should have 5 arguments, but has been given 4 In the pattern: PatBind srcloc pat rhs decls In a case alternative: PatBind srcloc pat rhs decls -> do { ([pat'], ags, gs, ws, k', l') <- runTrFromTo k l (trPatterns srcloc [pat]); decls' <- case decls of { BDecls decls -> fmap BDecls $ transformLetDecls decls IPBinds decls -> fmap IPBinds $ mapM transformIPBind decls }; let gs' = ... ....; .... } In the expression: case d of { PatBind srcloc pat rhs decls -> do { ([pat'], ags, gs, ws, k', l') <- runTrFromTo k l (trPatterns srcloc [...]); decls' <- case decls of { BDecls decls -> ... IPBinds decls -> ... }; .... } d -> do { d' <- transformDecl d; ds' <- transformLDs k l ds; .... } } src/HSX/Transform.hs:656:13: Constructor `PatBind' should have 5 arguments, but has been given 4 In the pattern: PatBind srcloc pat rhs decls In a case alternative: PatBind srcloc pat rhs decls -> do { (p, ms) <- renameRP pat; let sms = ...; return $ (PatBind srcloc p rhs decls, sms) } In the expression: case d of { PatBind srcloc pat rhs decls -> do { (p, ms) <- renameRP pat; let ...; .... } _ -> return (d, []) } Failed to install hsx-0.4.6 cabal: Error: some packages failed to install: hsx-0.4.6 failed during the building phase. The exception was: ExitFailure 1