[GHC] #4958: Ambiguous module name `Prelude' (base haskell98-1.1.0.0)
GHC
cvs-ghc at haskell.org
Mon Feb 14 17:13:55 CET 2011
#4958: Ambiguous module name `Prelude' (base haskell98-1.1.0.0)
-------------------------------+--------------------------------------------
Reporter: EvgenijM86 | Owner:
Type: bug | Status: new
Priority: normal | Component: Prelude
Version: 7.1 | Keywords: haskell-src Prelude
Testcase: | Blockedby:
Os: Linux | Blocking:
Architecture: x86_64 (amd64) | Failure: None/Unknown
-------------------------------+--------------------------------------------
I was trying to compile haskell-src-1.0.1.4 with ghc-7.1.20110213 and got
this error message:
{{{
evgenij at 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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4958>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list