Resolving dependencies... Downloading haddock-0.9... [1 of 1] Compiling Main ( /tmp/haddock-0.9-13447/haddock-0.9/Setup.lhs, /tmp/haddock-0.9-13447/haddock-0.9/dist/setup/Main.o ) Linking /tmp/haddock-0.9-13447/haddock-0.9/dist/setup/setup ... Warning: haddock.cabal: Unknown fields: executable (line 60) Fields allowed in this section: main-is, buildable, build-tools, cpp-options, cc-options, ld-options, pkgconfig-depends, frameworks, c-sources, default-language, other-languages, default-extensions, other-extensions, extensions, extra-libraries, extra-lib-dirs, includes, install-includes, include-dirs, hs-source-dirs, other-modules, ghc-prof-options, ghc-shared-options, ghc-options, hugs-options, nhc98-options, jhc-options Configuring haddock-0.9... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building haddock-0.9... Preprocessing executable 'haddock' for haddock-0.9... src/Main.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Main.hs:48:8: Ambiguous module name `Prelude': it was found in multiple packages: base haskell98-2.0.0.2 Failed to install haddock-0.9 cabal: Error: some packages failed to install: haddock-0.9 failed during the building phase. The exception was: ExitFailure 1