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 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 hiccup-0.35... [1 of 1] Compiling Main ( /tmp/hiccup-0.35-23128/hiccup-0.35/Setup.lhs, /tmp/hiccup-0.35-23128/hiccup-0.35/dist/setup/Main.o ) Linking /tmp/hiccup-0.35-23128/hiccup-0.35/dist/setup/setup ... Configuring hiccup-0.35... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Warning: Instead of 'ghc-options: -fbang-patterns' use 'extensions: BangPatterns' Building hiccup-0.35... Preprocessing executable 'hiccup' for hiccup-0.35... on the commandline: Warning: -fglasgow-exts is deprecated: Use individual extensions instead on the commandline: Warning: -fbang-patterns is deprecated: use -XBangPatterns or pragma {-# LANGUAGE BangPatterns #-} instead on the commandline: Warning: The -fvia-c flag does nothing; it will be removed in a future GHC release Main.hs:1:1: Ambiguous module name `Prelude': it was found in multiple packages: base haskell98-2.0.0.2 Failed to install hiccup-0.35 cabal: Error: some packages failed to install: hiccup-0.35 failed during the building phase. The exception was: ExitFailure 1