Resolving dependencies... Configuring HUnit-1.2.5.2... Building HUnit-1.2.5.2... Preprocessing library HUnit-1.2.5.2... [1 of 5] Compiling Test.HUnit.Terminal ( Test/HUnit/Terminal.hs, dist/build/Test/HUnit/Terminal.o ) [2 of 5] Compiling Test.HUnit.Lang ( Test/HUnit/Lang.hs, dist/build/Test/HUnit/Lang.o ) [3 of 5] Compiling Test.HUnit.Base ( Test/HUnit/Base.hs, dist/build/Test/HUnit/Base.o ) [4 of 5] Compiling Test.HUnit.Text ( Test/HUnit/Text.hs, dist/build/Test/HUnit/Text.o ) [5 of 5] Compiling Test.HUnit ( Test/HUnit.hs, dist/build/Test/HUnit.o ) In-place registering HUnit-1.2.5.2... Running Haddock for HUnit-1.2.5.2... Running hscolour for HUnit-1.2.5.2... Preprocessing library HUnit-1.2.5.2... Preprocessing library HUnit-1.2.5.2... Haddock coverage: 100% ( 2 / 2) in 'Test.HUnit.Terminal' 86% ( 6 / 7) in 'Test.HUnit.Lang' 100% ( 33 / 33) in 'Test.HUnit.Base' 100% ( 8 / 8) in 'Test.HUnit.Text' 100% ( 3 / 3) in 'Test.HUnit' Documentation created: dist/doc/html/HUnit/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/HUnit-1.2.5.2 Registering HUnit-1.2.5.2... Installed HUnit-1.2.5.2 Downloading regexpr-0.1.7... /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/Hidden/ParseLib.hs:6:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/Hidden/ParseLib.hs:7:16: Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/Hidden/ParseLibCore.hs:6:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/Hidden/ParseLibCore.hs:7:16: Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead [ 1 of 10] Compiling Hidden.ParseLibCore ( /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/Hidden/ParseLibCore.hs, /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/dist/setup/Hidden/ParseLibCore.o ) [ 2 of 10] Compiling Hidden.Tools ( /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/Hidden/Tools.hs, /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/dist/setup/Hidden/Tools.o ) [ 3 of 10] Compiling Hidden.ParseLib ( /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/Hidden/ParseLib.hs, /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/dist/setup/Hidden/ParseLib.o ) [ 4 of 10] Compiling Hidden.RegexPRTypes ( /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/Hidden/RegexPRTypes.hs, /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/dist/setup/Hidden/RegexPRTypes.o ) [ 5 of 10] Compiling Hidden.SrcRegActList ( /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/Hidden/SrcRegActList.hs, /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/dist/setup/Hidden/SrcRegActList.o ) [ 6 of 10] Compiling Hidden.ParseRegexStr ( /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/Hidden/ParseRegexStr.hs, /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/dist/setup/Hidden/ParseRegexStr.o ) [ 7 of 10] Compiling Hidden.RegexPRCore ( /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/Hidden/RegexPRCore.hs, /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/dist/setup/Hidden/RegexPRCore.o ) [ 8 of 10] Compiling Text.RegexPR ( /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/Text/RegexPR.hs, /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/dist/setup/Text/RegexPR.o ) [ 9 of 10] Compiling Hidden.TestMain ( /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/Hidden/TestMain.hs, /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/dist/setup/Hidden/TestMain.o ) [10 of 10] Compiling Main ( /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/Setup.hs, /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/dist/setup/Main.o ) /tmp/regexpr-0.1.7-7831/regexpr-0.1.7/Setup.hs:8:36: Couldn't match expected type `()' with actual type `ExitCode' In the first argument of `return', namely `ExitSuccess' In the second argument of `(>>)', namely `return ExitSuccess' In the expression: Hidden.TestMain.main >> return ExitSuccess Failed to install regexpr-0.1.7 cabal: Error: some packages failed to install: regexpr-0.1.7 failed during the configure step. The exception was: ExitFailure 1