GHC build error: cannot satisfy -package ghc-7.1.20110217

Simon Marlow marlowsd at
Mon Mar 14 15:11:31 CET 2011

On 10/03/2011 02:44, Dave Bayer wrote:
> I saw this same error, building GHC 7.0.2 from source on OS X.
> My builds are completely scripted, so I could attempt any experiments
> that would help. I always expect issues with major (here, 6 =>  7)
> version changes; here all issues surrounded cabal-install in one way
> or another.
> My issues went away when I compiled GHC 7.0.2 using a bootstrap copy
> of GHC 7.0.2 (rather than from GHC 6.12.3). made the new install the
> active GHC, and then ran ./ --global to install
> cabal-install-0.10.2. Either the change from cabal-install-0.10.0
> helped (I couldn't track down release notes) or there is a subtle
> difference in a GHC 7.0.2 compiled from GHC 6.12.3, that gets exposed
> when one tries to install cabal-install.

Can you tell us exactly which versions of GHC and Cabal you were using 
when the build failed?  We should be able to reproduce the problem from 


> I still can't use cabal-install on one copy of 7.0.2 to install to
> another copy of 7.0.2, but it looks like something I'll manage to
> sort out without help.
> I use PREFIX to localize the installation to e.g.
> /usr/local/ghc-7.0.2c. This requires that my script edits
>, as there's no way to change PREFIX from outside in
> --global mode.
> On Mar 8, 2011, at 9:44 AM, Simon Marlow wrote:
>> I don't know what might case this I'm afraid.  Is it reproducible
>> from a completely clean tree? (i.e. make maintainer-clean first).
>> Cheers, Simon

More information about the Glasgow-haskell-users mailing list