haskell / haskell/ThreadScope

stack build failure due to Base version.

Open
#114 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
173
Forks
37
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or code entry points are named. Start by reproducing `stack build threadscope` with GHC 8.10.1 and compare the reported dependency constraints; the issue is done when the project has a documented or verified build path that resolves these errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.