Ambiguous module name `Prelude' (base haskell98-188.8.131.52)
|Reported by:||EvgenijM86||Owned by:|
|Operating System:||Linux||Architecture:||x86_64 (amd64)|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
I was trying to compile haskell-src-184.108.40.206 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-220.127.116.11 Resolving dependencies... Configuring haskell-src-18.104.22.168... Preprocessing library haskell-src-22.214.171.124... shift/reduce conflicts: 2 Building haskell-src-126.96.36.199... Implicit import declaration: Ambiguous module name `Prelude': it was found in multiple packages: base haskell98-188.8.131.52 cabal: Error: some packages failed to install: haskell-src-184.108.40.206 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-220.127.116.11" seems to have no effect.