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 ) [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... Haddock coverage: 80% ( 4 / 5) in 'System.Console.SimpleLineEditor' 2% ( 3 /133) in 'System.Console.Readline' Documentation created: dist/doc/html/readline/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/readline-1.0.3.0 Registering readline-1.0.3.0... Installed readline-1.0.3.0 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 Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.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 Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.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 Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.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-12283/mkcabal-0.2/Setup.hs, /tmp/mkcabal-0.2-12283/mkcabal-0.2/dist/setup/Main.o ) Linking /tmp/mkcabal-0.2-12283/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 Possible fix: add a type signature that fixes these type variable(s) 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