Ticket #4958 (closed bug: wontfix)
Ambiguous module name `Prelude' (base haskell98-126.96.36.199)
I was trying to compile haskell-src-188.8.131.52 with ghc-7.1.20110213 and got this error message:
evgenij@evgenij-dsk:~$ cabal install --reinstall --with-compiler=/home/evgenij/ghc-7.1.20110213/bin/ghc haskell-src-184.108.40.206 Resolving dependencies... Configuring haskell-src-220.127.116.11... Preprocessing library haskell-src-18.104.22.168... shift/reduce conflicts: 2 Building haskell-src-22.214.171.124... Implicit import declaration: Ambiguous module name `Prelude': it was found in multiple packages: base haskell98-126.96.36.199 cabal: Error: some packages failed to install: haskell-src-188.8.131.52 failed during the building phase. The exception was: ExitFailure 1
I don't know if this is specific to ghc-7.1.20110213 or some other 7.x.x versions are affected (it did compile on 6.12.3 though). Adding --ghc-option="-hide-package haskell98-184.108.40.206" seems to have no effect.