Problem building HEAD when a newer version of Cabal is installed
I get the following error when building HEAD. I'm using the release candidate ghc-6.10.0.20081007 from the OS X installer as the bootstrapping compiler.
This seems odd since the Cabal I have in my build tree is 1.5.5; version 1.6.0.0 is installed for the bootstrapping compiler, but IIRC stage1 is supposed to be built using libraries/Cabal instead of the installed version.
Configuring ghc-bin-6.11.20081011...
/Users/judah/Programming/dontbackup/ghc-unvalidated/libraries/cabal-bin /usr/bin/ghc /Users/judah/Programming/dontbackup/ghc-unvalidated/libraries/bootstrapping.conf build --distpref dist-stage1 --ghc-option=-H64m --ghc-option=-O0 --ghc-option=-fasm --ghc-option=-H64m --ghc-option=-O0 --ghc-option=-fasm
Preprocessing executables for ghc-bin-6.11.20081011...
Building ghc-bin-6.11.20081011...
[1 of 1] Compiling Main ( Main.hs, dist-stage1/build/ghc/ghc-tmp/Main.o )
Linking dist-stage1/build/ghc/ghc ...
/Users/judah/Programming/dontbackup/ghc-unvalidated/utils/installPackage/install-inplace/bin/installPackage install '/Users/judah/Programming/dontbackup/ghc-unvalidated/utils/ghc-pkg/install-inplace/bin/ghc-pkg' 'XXX/package.conf' "" \
/Users/judah/Programming/dontbackup/ghc-unvalidated/ghc/stage1-inplace \
/Users/judah/Programming/dontbackup/ghc-unvalidated/ghc/stage1-inplace \
'$prefix' \
'/Users/judah/Programming/dontbackup/ghc-unvalidated/inplace-datadir' \
'$prefix/libexec' \
'$prefix/dynlib' \
'/Users/judah/Programming/dontbackup/ghc-unvalidated/inplace-datadir' \
'$prefix/doc' \
'$prefix/html' \
'$prefix/haddock' \
--distpref dist-stage1 \
--disable-executable-stripping \
--enable-shell-wrappers
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.0).
make[2]: *** [build.stage.1] Error 1
make[1]: *** [build.stage.1] Error 2
make: *** [stage1] Error 1
Trac metadata
Trac field | Value |
---|---|
Version | 6.11 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |