goldfirere / ghc

Mirror of ghc repository. DO NOT SUBMIT PULL REQUESTS HERE
http://www.haskell.org/ghc/
Other
24 stars 1 forks source link

Build failure #30

Closed edsko closed 9 years ago

edsko commented 9 years ago

Trying to build your nokinds branch, fails with

"inplace/bin/ghc-cabal" configure libraries/binary dist-boot "" --with-ghc="/Users/e/opt/ghc/7.10.1/bin/ghc" --with-ghc-pkg="/Users/e/opt/ghc/7.10.1/bin/ghc-pkg"  --package-db=/Users/e/wt/papers/uniquely-haskell/ghc/libraries/bootstrapping.conf --disable-library-for-ghci --enable-library-vanilla --disable-library-profiling --disable-shared --with-hscolour="/Users/e/opt/util/bin/HsColour" --configure-option=CFLAGS=" -m64 -fno-stack-protector   " --configure-option=LDFLAGS=" -m64  " --configure-option=CPPFLAGS=" -m64  " --gcc-options=" -m64 -fno-stack-protector     -m64  "   --constraint "binary == 0.7.2.3"   --constraint "Cabal == 1.22.0.0"   --constraint "hpc == 0.6.0.2"   --constraint "bin-package-db == 0.0.0.0"   --constraint "hoopl == 3.10.0.2"   --constraint "transformers == 0.4.2.0"   --constraint "terminfo == 0.4.0.1" --with-gcc="/usr/bin/gcc" --configure-option=--with-cc="/usr/bin/gcc" --with-ar="/usr/bin/ar" --with-alex="/Users/e/opt/util/bin/alex" --with-happy="/Users/e/opt/util/bin/happy"
Configuring binary-0.7.2.3...
ghc-cabal: '/Users/e/opt/ghc/7.10.1/bin/ghc-pkg' exited with an error:
ghc-pkg: ghc no longer supports single-file style package databases
(/Users/e/wt/papers/uniquely-haskell/ghc/libraries/bootstrapping.conf) use
'ghc-pkg init' to create the database with the correct format.
make[1]: *** [libraries/binary/dist-boot/package-data.mk] Error 1
make: *** [all] Error 2

This is probably nothing to do with your branch per se, but perhaps you know an easy fix? Bootstrap compiler is ghc 7.10.1, on-path cabal is 1.22.3.0, linked against 1.22.4.0 of Cabal.

goldfirere commented 9 years ago

Thanks for your interest!

I've only ever tried bootstrapping with 7.8 and below. My last merge with master was Dec. 23, 2014, before 7.10 was released. I do seem to recall some bugs about bootstrapping with 7.10 -- these may have happened after Dec. 23.

I don't plan to merge master in again for the next month, so you may need to go back to 7.8 to get this working -- sorry.

edsko commented 9 years ago

Ah, okay. No worries, using 7.8.3 as the bootstrapping compiler is a simple matter, I've tons of ghcs installed :) Just didn't occur to me that that might help. It's compiling away now, looking forward to experimenting with this!