Opened 2 months ago

Closed 2 months ago

#16023 closed bug (fixed)

Can't bootstrap GHC HEAD with GHC 8.6 on Windows

Reported by: bgamari Owned by:
Priority: highest Milestone: 8.8.1
Component: Compiler Version: 8.7
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

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.

Change History (4)

comment:1 Changed 2 months ago by bgamari

Oh, never mind. We simply need to bump gen-dll's bound on containers.

Last edited 2 months ago by bgamari (previous) (diff)

comment:2 Changed 2 months ago by Ben Gamari <ben@…>

In e709c8f/ghc:

utils/gen-dll: Bump containers upper bound

Fixes #16023.

comment:3 Changed 2 months ago by bgamari

Milestone: 8.6.3

Ticket retargeted after milestone closed

comment:4 Changed 2 months ago by bgamari

Milestone: 8.8.1
Resolution: fixed
Status: newclosed
Version: 8.6.28.7
Note: See TracTickets for help on using tickets.