Build failure with GHC 8.0.2 and cabal-install 3.14
- Dominant language
- Haskell
- Stars
- 27
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
```
$ cabal build -w ghc-8.0.2
Resolving dependencies...
Build profile: -w ghc-8.0.2 -O1
In order, the following will be built (use -v for more details):
- entropy-0.4.1.10 (lib:entropy) (first run)
unrecognized 'configure' option `--with-doctest=/Users/abel/.cabal/bin/doctest'
unrecognized 'configure' option `--with-runghc=/Users/abel/.ghcup/ghc/8.0.2/bin/runghc-8.0.2'
Error: [Cabal-7125]
Failed to build entropy-0.4.1.10. The failure occurred during the configure step.
$ cabal -V
cabal-install version 3.14.1.0
compiled using version 3.14.1.0 of the Cabal library
```
This could be due to a cabal-install/Cabal-library incompatibility. E.g. `cabal-install` passes these options to a `Setup.hs` that is build with an old version of `Cabal`-the-library that does not understand these flags.
Similar issue:
- https://github.com/haskell/cabal/issues/10379
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.