Skip to content

cannot bootstrap ghc-9.8.2 with ghc-9.8.1

Summary

Failure to build 9.8.2 from source (tarball from https://downloads.haskell.org/ghc/9.8.2/) with 9.8.1 as the bootstrap compiler. Failure because of versions of dependencies for building hadrian.

Don't know if it's supposed to work. Probably not, as the same thing happens when bootstrapping 9.8.1 with itself. Building 9.8.2 with 9.6.4 looks good.

Steps to reproduce

$ ./configure

$ ./hadrian/build -j binary-dist-dir --docs=no-sphinx

Warning: Requested index-state 2023-03-30T10:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state (2023-03-30T08:23:24Z).
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: hadrian-0.1.0.0 (user goal)
[__1] trying: hadrian:+selftest
[__2] trying: QuickCheck-2.14.2 (dependency of hadrian +selftest)
[__3] trying: splitmix-0.1.0.4 (dependency of QuickCheck)
[__4] next goal: base (dependency of hadrian)
[__4] rejecting: base-4.19.0.0/installed-inplace (conflict: splitmix =>
base>=4.3 && <4.19)
...

[__4] fail (backjumping, conflict set: base, hadrian, splitmix)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, QuickCheck, splitmix, hadrian,
hadrian:selftest

Environment

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.8.1
$ cabal --version
cabal-install version 3.10.2.1
compiled using version 3.10.1.0 of the Cabal library 
$ uname -a
Linux ...... 6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information