Resolving dependencies... Configuring readline-1.0.3.0... checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for GNUreadline.framework... checking for readline... no checking for tputs in -lncurses... yes checking for readline in -lreadline... yes checking for rl_readline_version... yes checking for rl_begin_undo_group... yes checking for rl_erase_empty_line... yes checking for rl_free_undo_list... yes checking for rl_completion_word_break_hook in -lreadline... yes configure: creating ./config.status config.status: creating config.mk config.status: creating readline.buildinfo config.status: creating include/HsReadlineConfig.h config.status: include/HsReadlineConfig.h is unchanged Building readline-1.0.3.0... Preprocessing library readline-1.0.3.0... [1 of 2] Compiling System.Console.SimpleLineEditor ( System/Console/SimpleLineEditor.hs, dist/build/System/Console/SimpleLineEditor.o ) System/Console/SimpleLineEditor.hs:33:1: Warning: Module ‘System.Cmd’ is deprecated: Use "System.Process" instead [2 of 2] Compiling System.Console.Readline ( dist/build/System/Console/Readline.hs, dist/build/System/Console/Readline.o ) In-place registering readline-1.0.3.0... Running Haddock for readline-1.0.3.0... Running hscolour for readline-1.0.3.0... Preprocessing library readline-1.0.3.0... Preprocessing library readline-1.0.3.0... System/Console/SimpleLineEditor.hs:33:1: Warning: Module ‘System.Cmd’ is deprecated: Use "System.Process" instead Haddock coverage: 80% ( 4 / 5) in 'System.Console.SimpleLineEditor' 2% ( 3 /133) in 'System.Console.Readline' Documentation created: dist/doc/html/readline/index.html, dist/doc/html/readline/readline.txt Creating package registration file: /tmp/pkgConf-readline-1.0.3535.0 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/readline-1.0.3.0 Registering readline-1.0.3.0... Installed readline-1.0.3.0 Configuring transformers-0.4.3.0... Building transformers-0.4.3.0... Preprocessing library transformers-0.4.3.0... [ 1 of 28] Compiling Data.Functor.Identity ( oldsrc/Data/Functor/Identity.hs, dist/build/Data/Functor/Identity.o ) [ 2 of 28] Compiling Control.Monad.Trans.Class ( Control/Monad/Trans/Class.hs, dist/build/Control/Monad/Trans/Class.o ) [ 3 of 28] Compiling Control.Monad.Signatures ( Control/Monad/Signatures.hs, dist/build/Control/Monad/Signatures.o ) [ 4 of 28] Compiling Control.Monad.IO.Class ( Control/Monad/IO/Class.hs, dist/build/Control/Monad/IO/Class.o ) [ 5 of 28] Compiling Control.Monad.Trans.Cont ( Control/Monad/Trans/Cont.hs, dist/build/Control/Monad/Trans/Cont.o ) [ 6 of 28] Compiling Control.Monad.Trans.Reader ( Control/Monad/Trans/Reader.hs, dist/build/Control/Monad/Trans/Reader.o ) [ 7 of 28] Compiling Control.Monad.Trans.RWS.Lazy ( Control/Monad/Trans/RWS/Lazy.hs, dist/build/Control/Monad/Trans/RWS/Lazy.o ) [ 8 of 28] Compiling Control.Monad.Trans.RWS ( Control/Monad/Trans/RWS.hs, dist/build/Control/Monad/Trans/RWS.o ) [ 9 of 28] Compiling Control.Monad.Trans.RWS.Strict ( Control/Monad/Trans/RWS/Strict.hs, dist/build/Control/Monad/Trans/RWS/Strict.o ) [10 of 28] Compiling Control.Monad.Trans.State.Lazy ( Control/Monad/Trans/State/Lazy.hs, dist/build/Control/Monad/Trans/State/Lazy.o ) [11 of 28] Compiling Control.Monad.Trans.State ( Control/Monad/Trans/State.hs, dist/build/Control/Monad/Trans/State.o ) [12 of 28] Compiling Control.Monad.Trans.State.Strict ( Control/Monad/Trans/State/Strict.hs, dist/build/Control/Monad/Trans/State/Strict.o ) [13 of 28] Compiling Data.Functor.Classes ( Data/Functor/Classes.hs, dist/build/Data/Functor/Classes.o ) [14 of 28] Compiling Data.Functor.Constant ( Data/Functor/Constant.hs, dist/build/Data/Functor/Constant.o ) [15 of 28] Compiling Control.Applicative.Lift ( Control/Applicative/Lift.hs, dist/build/Control/Applicative/Lift.o ) [16 of 28] Compiling Control.Monad.Trans.Except ( Control/Monad/Trans/Except.hs, dist/build/Control/Monad/Trans/Except.o ) [17 of 28] Compiling Control.Monad.Trans.Error ( Control/Monad/Trans/Error.hs, dist/build/Control/Monad/Trans/Error.o ) [18 of 28] Compiling Control.Monad.Trans.Identity ( Control/Monad/Trans/Identity.hs, dist/build/Control/Monad/Trans/Identity.o ) [19 of 28] Compiling Control.Monad.Trans.List ( Control/Monad/Trans/List.hs, dist/build/Control/Monad/Trans/List.o ) [20 of 28] Compiling Control.Monad.Trans.Maybe ( Control/Monad/Trans/Maybe.hs, dist/build/Control/Monad/Trans/Maybe.o ) [21 of 28] Compiling Control.Monad.Trans.Writer.Lazy ( Control/Monad/Trans/Writer/Lazy.hs, dist/build/Control/Monad/Trans/Writer/Lazy.o ) [22 of 28] Compiling Control.Monad.Trans.Writer ( Control/Monad/Trans/Writer.hs, dist/build/Control/Monad/Trans/Writer.o ) [23 of 28] Compiling Control.Monad.Trans.Writer.Strict ( Control/Monad/Trans/Writer/Strict.hs, dist/build/Control/Monad/Trans/Writer/Strict.o ) [24 of 28] Compiling Data.Functor.Compose ( Data/Functor/Compose.hs, dist/build/Data/Functor/Compose.o ) [25 of 28] Compiling Data.Functor.Product ( Data/Functor/Product.hs, dist/build/Data/Functor/Product.o ) [26 of 28] Compiling Data.Functor.Sum ( Data/Functor/Sum.hs, dist/build/Data/Functor/Sum.o ) [27 of 28] Compiling Control.Applicative.Backwards ( Control/Applicative/Backwards.hs, dist/build/Control/Applicative/Backwards.o ) [28 of 28] Compiling Data.Functor.Reverse ( Data/Functor/Reverse.hs, dist/build/Data/Functor/Reverse.o ) In-place registering transformers-0.4.3.0... Running Haddock for transformers-0.4.3.0... Running hscolour for transformers-0.4.3.0... Preprocessing library transformers-0.4.3.0... Preprocessing library transformers-0.4.3.0... Haddock coverage: 100% ( 2 / 2) in 'Data.Functor.Identity' 100% ( 14 / 14) in 'Control.Monad.Trans.Class' 100% ( 5 / 5) in 'Control.Monad.Signatures' 100% ( 2 / 2) in 'Control.Monad.IO.Class' 100% ( 22 / 22) in 'Control.Monad.Trans.Cont' 100% ( 18 / 18) in 'Control.Monad.Trans.Reader' 100% ( 37 / 37) in 'Control.Monad.Trans.RWS.Lazy' 100% ( 2 / 2) in 'Control.Monad.Trans.RWS' 100% ( 37 / 37) in 'Control.Monad.Trans.RWS.Strict' 100% ( 34 / 34) in 'Control.Monad.Trans.State.Lazy' 100% ( 2 / 2) in 'Control.Monad.Trans.State' 100% ( 34 / 34) in 'Control.Monad.Trans.State.Strict' 100% ( 15 / 15) in 'Data.Functor.Classes' 100% ( 2 / 2) in 'Data.Functor.Constant' 100% ( 9 / 9) in 'Control.Applicative.Lift' 100% ( 19 / 19) in 'Control.Monad.Trans.Except' 100% ( 15 / 15) in 'Control.Monad.Trans.Error' 100% ( 7 / 7) in 'Control.Monad.Trans.Identity' 100% ( 7 / 7) in 'Control.Monad.Trans.List' 100% ( 12 / 12) in 'Control.Monad.Trans.Maybe' 100% ( 20 / 20) in 'Control.Monad.Trans.Writer.Lazy' 100% ( 2 / 2) in 'Control.Monad.Trans.Writer' 100% ( 20 / 20) in 'Control.Monad.Trans.Writer.Strict' 100% ( 2 / 2) in 'Data.Functor.Compose' 100% ( 2 / 2) in 'Data.Functor.Product' 100% ( 2 / 2) in 'Data.Functor.Sum' 100% ( 2 / 2) in 'Control.Applicative.Backwards' 100% ( 2 / 2) in 'Data.Functor.Reverse' Documentation created: dist/doc/html/transformers/index.html, dist/doc/html/transformers/transformers.txt Creating package registration file: /tmp/pkgConf-transformers-0.4.3535.0 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/transformers-0.4.3.0 Registering transformers-0.4.3.0... Installed transformers-0.4.3.0 Configuring mtl-2.2.1... Building mtl-2.2.1... Preprocessing library mtl-2.2.1... [ 1 of 22] Compiling Control.Monad.Writer.Class ( Control/Monad/Writer/Class.hs, dist/build/Control/Monad/Writer/Class.o ) [ 2 of 22] Compiling Control.Monad.State.Class ( Control/Monad/State/Class.hs, dist/build/Control/Monad/State/Class.o ) [ 3 of 22] Compiling Control.Monad.Reader.Class ( Control/Monad/Reader/Class.hs, dist/build/Control/Monad/Reader/Class.o ) [ 4 of 22] Compiling Control.Monad.RWS.Class ( Control/Monad/RWS/Class.hs, dist/build/Control/Monad/RWS/Class.o ) [ 5 of 22] Compiling Control.Monad.Identity ( Control/Monad/Identity.hs, dist/build/Control/Monad/Identity.o ) [ 6 of 22] Compiling Control.Monad.Error.Class ( Control/Monad/Error/Class.hs, dist/build/Control/Monad/Error/Class.o ) [ 7 of 22] Compiling Control.Monad.Cont.Class ( Control/Monad/Cont/Class.hs, dist/build/Control/Monad/Cont/Class.o ) [ 8 of 22] Compiling Control.Monad.Trans ( Control/Monad/Trans.hs, dist/build/Control/Monad/Trans.o ) [ 9 of 22] Compiling Control.Monad.Error ( Control/Monad/Error.hs, dist/build/Control/Monad/Error.o ) [10 of 22] Compiling Control.Monad.Except ( Control/Monad/Except.hs, dist/build/Control/Monad/Except.o ) [11 of 22] Compiling Control.Monad.List ( Control/Monad/List.hs, dist/build/Control/Monad/List.o ) [12 of 22] Compiling Control.Monad.RWS.Lazy ( Control/Monad/RWS/Lazy.hs, dist/build/Control/Monad/RWS/Lazy.o ) [13 of 22] Compiling Control.Monad.RWS ( Control/Monad/RWS.hs, dist/build/Control/Monad/RWS.o ) [14 of 22] Compiling Control.Monad.Reader ( Control/Monad/Reader.hs, dist/build/Control/Monad/Reader.o ) [15 of 22] Compiling Control.Monad.RWS.Strict ( Control/Monad/RWS/Strict.hs, dist/build/Control/Monad/RWS/Strict.o ) [16 of 22] Compiling Control.Monad.State.Lazy ( Control/Monad/State/Lazy.hs, dist/build/Control/Monad/State/Lazy.o ) [17 of 22] Compiling Control.Monad.State ( Control/Monad/State.hs, dist/build/Control/Monad/State.o ) [18 of 22] Compiling Control.Monad.State.Strict ( Control/Monad/State/Strict.hs, dist/build/Control/Monad/State/Strict.o ) [19 of 22] Compiling Control.Monad.Writer.Lazy ( Control/Monad/Writer/Lazy.hs, dist/build/Control/Monad/Writer/Lazy.o ) [20 of 22] Compiling Control.Monad.Writer ( Control/Monad/Writer.hs, dist/build/Control/Monad/Writer.o ) [21 of 22] Compiling Control.Monad.Writer.Strict ( Control/Monad/Writer/Strict.hs, dist/build/Control/Monad/Writer/Strict.o ) [22 of 22] Compiling Control.Monad.Cont ( Control/Monad/Cont.hs, dist/build/Control/Monad/Cont.o ) In-place registering mtl-2.2.1... Running Haddock for mtl-2.2.1... Running hscolour for mtl-2.2.1... Preprocessing library mtl-2.2.1... Preprocessing library mtl-2.2.1... Haddock coverage: 75% ( 3 / 4) in 'Control.Monad.Writer.Class' 100% ( 5 / 5) in 'Control.Monad.State.Class' 100% ( 3 / 3) in 'Control.Monad.Reader.Class' 80% ( 4 / 5) in 'Control.Monad.RWS.Class' 100% ( 4 / 4) in 'Control.Monad.Identity' 100% ( 3 / 3) in 'Control.Monad.Error.Class' 50% ( 1 / 2) in 'Control.Monad.Cont.Class' 100% ( 3 / 3) in 'Control.Monad.Trans' 93% ( 14 / 15) in 'Control.Monad.Error' 100% ( 19 / 19) in 'Control.Monad.Except' 100% ( 5 / 5) in 'Control.Monad.List' 95% ( 21 / 22) in 'Control.Monad.RWS.Lazy' 100% ( 2 / 2) in 'Control.Monad.RWS' 96% ( 22 / 23) in 'Control.Monad.Reader' 95% ( 21 / 22) in 'Control.Monad.RWS.Strict' 96% ( 24 / 25) in 'Control.Monad.State.Lazy' 100% ( 2 / 2) in 'Control.Monad.State' 96% ( 24 / 25) in 'Control.Monad.State.Strict' 89% ( 17 / 19) in 'Control.Monad.Writer.Lazy' 100% ( 2 / 2) in 'Control.Monad.Writer' 94% ( 17 / 18) in 'Control.Monad.Writer.Strict' 91% ( 20 / 22) in 'Control.Monad.Cont' Documentation created: dist/doc/html/mtl/index.html, dist/doc/html/mtl/mtl.txt Creating package registration file: /tmp/pkgConf-mtl-2.2535.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/mtl-2.2.1 Registering mtl-2.2.1... Installed mtl-2.2.1 Configuring regex-base-0.93.2... Building regex-base-0.93.2... Preprocessing library regex-base-0.93.2... [1 of 4] Compiling Text.Regex.Base.RegexLike ( Text/Regex/Base/RegexLike.hs, dist/build/Text/Regex/Base/RegexLike.o ) [2 of 4] Compiling Text.Regex.Base.Context ( Text/Regex/Base/Context.hs, dist/build/Text/Regex/Base/Context.o ) [3 of 4] Compiling Text.Regex.Base ( Text/Regex/Base.hs, dist/build/Text/Regex/Base.o ) [4 of 4] Compiling Text.Regex.Base.Impl ( Text/Regex/Base/Impl.hs, dist/build/Text/Regex/Base/Impl.o ) In-place registering regex-base-0.93.2... Running Haddock for regex-base-0.93.2... Running hscolour for regex-base-0.93.2... Preprocessing library regex-base-0.93.2... Preprocessing library regex-base-0.93.2... Haddock coverage: 94% ( 17 / 18) in 'Text.Regex.Base.RegexLike' 100% ( 1 / 1) in 'Text.Regex.Base.Context' 75% ( 3 / 4) in 'Text.Regex.Base' 33% ( 1 / 3) in 'Text.Regex.Base.Impl' Documentation created: dist/doc/html/regex-base/index.html, dist/doc/html/regex-base/regex-base.txt Creating package registration file: /tmp/pkgConf-regex-base-0.93535.2 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/regex-base-0.93.2 Registering regex-base-0.93.2... Installed regex-base-0.93.2 Configuring regex-posix-0.95.2... Building regex-posix-0.95.2... Preprocessing library regex-posix-0.95.2... [1 of 6] Compiling Text.Regex.Posix.Wrap ( dist/build/Text/Regex/Posix/Wrap.hs, dist/build/Text/Regex/Posix/Wrap.o ) [2 of 6] Compiling Text.Regex.Posix.String ( Text/Regex/Posix/String.hs, dist/build/Text/Regex/Posix/String.o ) [3 of 6] Compiling Text.Regex.Posix.Sequence ( Text/Regex/Posix/Sequence.hs, dist/build/Text/Regex/Posix/Sequence.o ) [4 of 6] Compiling Text.Regex.Posix.ByteString ( Text/Regex/Posix/ByteString.hs, dist/build/Text/Regex/Posix/ByteString.o ) [5 of 6] Compiling Text.Regex.Posix.ByteString.Lazy ( Text/Regex/Posix/ByteString/Lazy.hs, dist/build/Text/Regex/Posix/ByteString/Lazy.o ) [6 of 6] Compiling Text.Regex.Posix ( Text/Regex/Posix.hs, dist/build/Text/Regex/Posix.o ) In-place registering regex-posix-0.95.2... Running Haddock for regex-posix-0.95.2... Running hscolour for regex-posix-0.95.2... Preprocessing library regex-posix-0.95.2... Preprocessing library regex-posix-0.95.2... Haddock coverage: 40% ( 17 / 42) in 'Text.Regex.Posix.Wrap' 68% ( 17 / 25) in 'Text.Regex.Posix.String' 67% ( 16 / 24) in 'Text.Regex.Posix.Sequence' 68% ( 17 / 25) in 'Text.Regex.Posix.ByteString' 68% ( 17 / 25) in 'Text.Regex.Posix.ByteString.Lazy' 80% ( 4 / 5) in 'Text.Regex.Posix' Warning: Text.Regex.Posix.Wrap: could not find link destinations for: Text.Regex.Posix.Wrap.retNoMatch Warning: Text.Regex.Posix.String: could not find link destinations for: Text.Regex.Posix.Wrap.retNoMatch Warning: Text.Regex.Posix.Sequence: could not find link destinations for: Text.Regex.Posix.Wrap.retNoMatch Warning: Text.Regex.Posix.ByteString: could not find link destinations for: Text.Regex.Posix.Wrap.retNoMatch Warning: Text.Regex.Posix.ByteString.Lazy: could not find link destinations for: Text.Regex.Posix.Wrap.retNoMatch Documentation created: dist/doc/html/regex-posix/index.html, dist/doc/html/regex-posix/regex-posix.txt Creating package registration file: /tmp/pkgConf-regex-posix-0.95535.2 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/regex-posix-0.95.2 Registering regex-posix-0.95.2... Installed regex-posix-0.95.2 Configuring regex-compat-0.95.1... Building regex-compat-0.95.1... Preprocessing library regex-compat-0.95.1... [1 of 1] Compiling Text.Regex ( Text/Regex.hs, dist/build/Text/Regex.o ) In-place registering regex-compat-0.95.1... Running Haddock for regex-compat-0.95.1... Running hscolour for regex-compat-0.95.1... Preprocessing library regex-compat-0.95.1... Preprocessing library regex-compat-0.95.1... Haddock coverage: 100% ( 9 / 9) in 'Text.Regex' Documentation created: dist/doc/html/regex-compat/index.html, dist/doc/html/regex-compat/regex-compat.txt Creating package registration file: /tmp/pkgConf-regex-compat-0.95535.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/regex-compat-0.95.1 Registering regex-compat-0.95.1... Installed regex-compat-0.95.1 Downloading mkcabal-0.2... [1 of 1] Compiling Main ( /tmp/mkcabal-0.2-535/mkcabal-0.2/dist/setup/setup.hs, /tmp/mkcabal-0.2-535/mkcabal-0.2/dist/setup/Main.o ) Linking /tmp/mkcabal-0.2-535/mkcabal-0.2/dist/setup/setup ... Configuring mkcabal-0.2... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building mkcabal-0.2... Preprocessing executable 'mkcabal' for mkcabal-0.2... mkcabal.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead [1 of 2] Compiling Licenses ( Licenses.hs, dist/build/mkcabal/mkcabal-tmp/Licenses.o ) [2 of 2] Compiling Main ( mkcabal.hs, dist/build/mkcabal/mkcabal-tmp/Main.o ) mkcabal.hs:359:14: No instance for (Exception e0) arising from a use of ‘handle’ The type variable ‘e0’ is ambiguous Note: there are several potential instances: instance Exception NestedAtomically -- Defined in ‘Control.Exception.Base’ instance Exception NoMethodError -- Defined in ‘Control.Exception.Base’ instance Exception NonTermination -- Defined in ‘Control.Exception.Base’ ...plus 7 others In the expression: handle (\ _ -> return $ pair defNameAndMail) In the expression: handle (\ _ -> return $ pair defNameAndMail) $ do { env <- getEnvironment; let p | Just e <- lookup "DARCS_EMAIL" env = break (== '<') e | Just e <- lookup "EMAIL" env = ... | otherwise = pair defNameAndMail; return p } In a stmt of a 'do' block: if he then readFile authorHome >>= return . nameAndMail else handle (\ _ -> return $ pair defNameAndMail) $ do { env <- getEnvironment; let p | Just e <- lookup "DARCS_EMAIL" env = ... | Just e <- lookup "EMAIL" env = ... | otherwise = ...; return p } Failed to install mkcabal-0.2 cabal: Error: some packages failed to install: mkcabal-0.2 failed during the building phase. The exception was: ExitFailure 1