haskell / haskell/cabal

Unable to build cabal with some older GHC after spec-field-cabalspecversion merges

Open
#6,671 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

Hi,

I have seen since the `spec-field-cabalspecversion` commits were merged that I can no longer build Cabal using GHC `8.4.3` which seem to cause compiler panics.

```
cabal: Failed to build Cabal-3.3.0.0 (which is required by test:unit-tests
from Cabal-3.3.0.0, test:rpmvercmp from Cabal-3.3.0.0 and others).
ghc.exe: panic! (the 'impossible' happened)
(GHC version 8.4.3 for x86_64-unknown-mingw32):
Prelude.!!: index too large

Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
```
I haven't taken a look at the changes to see if it's cased by TH or an actual compiler issue, I can simply update my build compiler.. but is it intentional that Cabal no longer supports building on older GHCs?

/CC @phadej

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.