Skip to content

Can't bootstrap GHC HEAD with GHC 8.6 on Windows

Attempting to bootstrap GHC HEAD with GHC 8.6 on Windows fails shortly after starting the build with

...
Configuring hsc2hs-0.68.4.1...
"inplace/bin/ghc-cabal.exe" configure utils/gen-dll dist --with-ghc="/home/ben/ghc-8.6.3-amd64/bin/ghc.exe" --with-ghc-pkg="/home/ben/ghc-8.6.3-amd64/bin/ghc-pkg"  --packag
e-db=C:/msys64/home/ben/ghc/libraries/bootstrapping.conf --disable-library-for-ghci --disable-library-vanilla --disable-library-profiling --disable-shared --configure-optio
n=CFLAGS="-Wall -fno-stack-protector    -Wno-error=inline" --configure-option=LDFLAGS="  " --configure-option=CPPFLAGS="   " --gcc-options="-Wall -fno-stack-protector    -W
no-error=inline   "   --constraint "binary == 0.8.6.0"   --constraint "text == 1.2.3.1"   --constraint "transformers == 0.5.5.0"   --constraint "mtl == 2.2.2"   --constrain
t "parsec == 3.1.13.0"   --constraint "Cabal == 2.5.0.0"   --constraint "hpc == 0.6.0.3"   --constraint "ghc-boot-th == 8.7"   --constraint "ghc-boot == 8.7"   --constraint
 "template-haskell == 2.15.0.0"   --constraint "ghc-heap == 8.7"   --constraint "ghci == 8.7" --with-gcc="C:\\msys64\\home\\ben\\ghc-8.6.3-amd64\\lib\\../mingw/bin/gcc.exe"
 --with-ld="C:\\msys64\\home\\ben\\ghc-8.6.3-amd64\\lib\\../mingw/bin/ld.exe" --with-ar="C:\\msys64\\home\\ben\\ghc-8.6.3-amd64\\lib\\../mingw/bin/ar.exe" --with-alex="\Use
rs\ben\AppData\Roaming/cabal/bin/alex" --with-happy="\Users\ben\AppData\Roaming/cabal/bin/happy"
Configuring gen-dll-0.1...
ghc-cabal.exe: Encountered missing dependencies:
containers ==0.5.*

make[1]: *** [utils/gen-dll/ghc.mk:19: utils/gen-dll/dist/package-data.mk] Error 1
make: *** [Makefile:124: all] Error 2

Given that the build succeeds when bootstrapping with GHC 8.4, I suspect that this is a regression in the Cabal released with 8.6.

Trac metadata
Trac field Value
Version 8.6.2
Type Bug
TypeOfFailure OtherFailure
Priority highest
Resolution Unresolved
Component Compiler
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