entropy icon indicating copy to clipboard operation
entropy copied to clipboard

Build failure with GHC 8.0.2 and cabal-install 3.14

Open andreasabel opened this issue 1 year ago • 0 comments

$ 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

andreasabel avatar Dec 31 '24 16:12 andreasabel