Skip to content

Stack build fails on Archlinux #32

Description

@dlqs

Cloning from master and stack build produces the error pasted below.

I tried the recommended action to add to extra-deps but it seemed to lead me down an endless path of adding things to extra-deps.

Stack version 2.7.1, Linux 5.9, HEAD at 840a3f5

Cabal file warning in /parconc-examples/parconc-examples.cabal@281:3: The field "build-tools" is deprecated in the Cabal specification version 2.0. Please use 'build-tool-depends' field

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for parconc-examples-0.4.8(+accelerate +distributed):
    Cabal-2.0.1.1 from stack configuration does not match >=2.2  (latest matching version is 3.4.0.0)
needed since parconc-examples is a build target.

Some different approaches to resolving this:

  * Set 'allow-newer: true'
    in /.stack/config.yaml to ignore all version constraints and build anyway.

  * Recommended action: try adding the following to your extra-deps
    in /parconc-examples/stack.yaml:

- Cabal-3.4.0.0@sha256:74ca2bc93297dc20b291c8dc721055278aa4a7942b0b5aca86766d407e3cbe5f,30533

Plan construction failed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions