Skip to content

stack build failure due to Base version. #114

@djduke

Description

@djduke

I have ghc 8.10.1 so surprised by:

stack build threadscope

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

In the dependencies for Cabal-2.0.1.1:
containers-0.6.2.1 from stack configuration does not match >=0.4 && <0.6 (latest matching version is 0.5.11.0)
time-1.9.3 from stack configuration does not match >=1.4 && <1.9 (latest matching version is 1.8.0.4)
needed due to threadscope-0.2.13 -> Cabal-2.0.1.1

In the dependencies for gio-0.13.6.1:
gtk2hs-buildtools must match >=0.13.2.0 && <0.14, but the stack configuration has no specified version (latest matching version is 0.13.8.0)
needed due to threadscope-0.2.13 -> gio-0.13.6.1

In the dependencies for glib-0.13.7.1:
gtk2hs-buildtools must match >=0.13.2.0 && <0.14, but the stack configuration has no specified version (latest matching version is 0.13.8.0)
needed due to threadscope-0.2.13 -> glib-0.13.7.1

In the dependencies for gtk-0.15.4:
cairo must match >=0.13.0.0 && <0.14, but the stack configuration has no specified version (latest matching version is 0.13.8.0)
gtk2hs-buildtools must match >=0.13.2.0 && <0.14, but the stack configuration has no specified version (latest matching version is 0.13.8.0)
needed due to threadscope-0.2.13 -> gtk-0.15.4

In the dependencies for pango-0.13.6.1:
cairo must match >=0.13.0.0 && <0.14, but the stack configuration has no specified version (latest matching version is 0.13.8.0)
gtk2hs-buildtools must match >=0.13.2.0 && <0.14, but the stack configuration has no specified version (latest matching version is 0.13.8.0)
needed due to threadscope-0.2.13 -> pango-0.13.6.1

In the dependencies for process-1.4.3.0:
base-4.13.0.0 from stack configuration does not match >=4.4 && <4.11 (latest matching version is 4.10.1.0)
needed due to threadscope-0.2.13 -> process-1.4.3.0

In the dependencies for threadscope-0.2.13:
cairo must match <0.14, but the stack configuration has no specified version (latest matching version is 0.13.8.0)
needed since threadscope is a build target.

Some different approaches to resolving this:

  • Build requires unattainable version of base. Since base is a part of GHC, you most likely need to use a different GHC version with the matching base.

Plan construction failed.

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