Skip to content

Building GHC 6.10 with Cabal 1.6 fails due to in-tree Cabal 1.5.5

If you've installed Cabal 1.6 (as we're recommending) GHC won't build, falling over at,

/home/dons/ghc-6.10/build/utils/installPackage/install-inplace/bin/installPackage 
             install '/home/dons/ghc-6.10/build/utils/ghc-pkg/install-inplace/bin/ghc-pkg'


installPackage: You need to re-run the 'configure' command. The version of
Cabal being used has changed (was Cabal-1.5.5, now Cabal-1.6.0.1)

Working out if this really is a correctness issue seems a good idea -- maybe we can lift this restriction, since it seems likely people will in the future have newer cabals than the one ghc ships with today.

Trac metadata
Trac field Value
Version 6.9
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information