Skip to content

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

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions