id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
4958,Ambiguous module name `Prelude' (base haskell98-1.1.0.0),EvgenijM86,,"I was trying to compile haskell-src-1.0.1.4 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-1.0.1.4
Resolving dependencies...
Configuring haskell-src-1.0.1.4...
Preprocessing library haskell-src-1.0.1.4...
shift/reduce conflicts:  2
Building haskell-src-1.0.1.4...

Implicit import declaration:
    Ambiguous module name `Prelude':
      it was found in multiple packages: base haskell98-1.1.0.0
cabal: Error: some packages failed to install:
haskell-src-1.0.1.4 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-1.1.0.0"" seems to have no effect.",bug,closed,normal,,Prelude,7.1,wontfix,haskell-src Prelude,,Linux,x86_64 (amd64),None/Unknown,,,,,
