Resolving dependencies... Configuring pcre-light-0.4... Building pcre-light-0.4... Preprocessing library pcre-light-0.4... [1 of 3] Compiling Text.Regex.PCRE.Light.Base ( dist/build/Text/Regex/PCRE/Light/Base.hs, dist/build/Text/Regex/PCRE/Light/Base.o ) [2 of 3] Compiling Text.Regex.PCRE.Light ( Text/Regex/PCRE/Light.hs, dist/build/Text/Regex/PCRE/Light.o ) Text/Regex/PCRE/Light.hs:196:19: Warning: In the use of `unsafePerformIO' (imported from Foreign): Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release" Text/Regex/PCRE/Light.hs:266:38: Warning: In the use of `unsafePerformIO' (imported from Foreign): Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release" Text/Regex/PCRE/Light.hs:327:34: Warning: In the use of `unsafePerformIO' (imported from Foreign): Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release" [3 of 3] Compiling Text.Regex.PCRE.Light.Char8 ( Text/Regex/PCRE/Light/Char8.hs, dist/build/Text/Regex/PCRE/Light/Char8.o ) In-place registering pcre-light-0.4... Running Haddock for pcre-light-0.4... Running hscolour for pcre-light-0.4... Preprocessing library pcre-light-0.4... Preprocessing library pcre-light-0.4... Text/Regex/PCRE/Light.hs:196:19: Warning: In the use of `unsafePerformIO' (imported from Foreign): Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release" Text/Regex/PCRE/Light.hs:266:38: Warning: In the use of `unsafePerformIO' (imported from Foreign): Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release" Text/Regex/PCRE/Light.hs:327:34: Warning: In the use of `unsafePerformIO' (imported from Foreign): Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release" Haddock coverage: 49% ( 47 / 96) in 'Text.Regex.PCRE.Light.Base' 95% ( 37 / 39) in 'Text.Regex.PCRE.Light' 97% ( 37 / 38) in 'Text.Regex.PCRE.Light.Char8' Warning: Text.Regex.PCRE.Light.Base: could not find link destinations for: Text.Regex.PCRE.Light.Base.PCREExtra Documentation created: dist/doc/html/pcre-light/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/pcre-light-0.4 Registering pcre-light-0.4... Installed pcre-light-0.4 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 Downloading mkcabal-0.4.1.1... Configuring mkcabal-0.4.1.1... Building mkcabal-0.4.1.1... Preprocessing executable 'mkcabal' for mkcabal-0.4.1.1... 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:384: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.4.1.1 cabal: Error: some packages failed to install: mkcabal-0.4.1.1 failed during the building phase. The exception was: ExitFailure 1