[GHC] #2690: Problem building HEAD when a newer version of Cabal is
installed
GHC
trac at galois.com
Sun Oct 12 15:15:34 EDT 2008
#2690: Problem building HEAD when a newer version of Cabal is installed
-----------------------+----------------------------------------------------
Reporter: judah | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.11 | Severity: normal
Keywords: | Testcase:
Architecture: x86 | Os: MacOS X
-----------------------+----------------------------------------------------
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
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2690>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list