Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure with GHC 8.0.2 and cabal-install 3.14 #91

Open
andreasabel opened this issue Dec 31, 2024 · 0 comments
Open

Build failure with GHC 8.0.2 and cabal-install 3.14 #91

andreasabel opened this issue Dec 31, 2024 · 0 comments

Comments

@andreasabel
Copy link
Member

$ 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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant