Closed AndreasPK closed 4 years ago
Compilation from source works.
Specifiying the threadscope for building from hackage gives a bounds error:
$ cabal new-install -w /e/ghc-8.8.1/bin/ghc.exe threadscope-0.2.11.1 -j4
Warning: The package list for 'hackage.haskell.org' is 18 days old.
Run 'cabal update' to get the latest list of available packages.
Warning: The package list for 'hackage.haskell.org' is 18 days old.
Run 'cabal update' to get the latest list of available packages.
Resolving dependencies...
cabal.exe: Could not resolve dependencies:
[__0] trying: threadscope-0.2.11.1 (user goal)
[__1] next goal: template-haskell (dependency of threadscope)
[__1] rejecting: template-haskell-2.15.0.0/installed-2.1... (conflict:
threadscope => template-haskell<2.14)
[__1] rejecting: template-haskell-2.15.0.0, template-haskell-2.14.0.0,
template-haskell-2.13.0.0, template-haskell-2.12.0.0,
template-haskell-2.11.1.0, template-haskell-2.11.0.0,
template-haskell-2.10.0.0, template-haskell-2.9.0.0, template-haskell-2.8.0.0,
template-haskell-2.7.0.0, template-haskell-2.6.0.0, template-haskell-2.5.0.0,
template-haskell-2.4.0.1, template-haskell-2.4.0.0, template-haskell-2.3.0.1,
template-haskell-2.3.0.0, template-haskell-2.2.0.0 (constraint from
non-upgradeable package requires installed instance)
[__1] fail (backjumping, conflict set: template-haskell, threadscope)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: threadscope, template-haskell
I suspect all that needs to be done is bump the bounds on hackage via revision. Since it builds fine when I override the bounds:
$ cabal new-install -w /e/ghc-8.8.1/bin/ghc.exe threadscope-0.2.11.1 -j4 --allow-newer="template-haskell,base,ghc-events,gtk" --install-method=copy
Warning: The package list for 'hackage.haskell.org' is 18 days old.
Run 'cabal update' to get the latest list of available packages.
Warning: The package list for 'hackage.haskell.org' is 18 days old.
Run 'cabal update' to get the latest list of available packages.
Resolving dependencies...
Up to date
Copying 'threadscope.exe'
Good to know, thank you. Whom do I call to get the hackage bounds bumped via revision?
@maoe: do we have any release pending/imminent that could also include bumped bounds?
Good to know, thank you. Whom do I call to get the hackage bounds bumped via revision?
Maintainers have the ability to do revisions of the cabal file without reuploading. So do hackage trustees
Oh, great, I forgot, thank you.
I get the exact same error (from cabal install) with cabal 2.4.0 and ghc 8.6.5
If somebody would offer a PR with updated bounds, I will go and set them as Hackage revision ASAP. Unless current master is already fine?
I thought there was an issue that caused a build failure on some platform. Let me check.
https://github.com/gtk2hs/gtk2hs/issues/291 is the issue. I'll make a fix.
Working on a fix at https://github.com/haskell/ThreadScope/pull/103. Will continue tomorrow.
Released v0.2.12 on Hackage and confirmed cabal install works on Linux and macOS.
@AndreasPK @Twonki Could you try again?
@maoe having a new issue with pango
.
It's rejecting pango-0.13 and below, and cannot find pango>=1.0 in my pkg-config database.
@Twonki Do you have pango installed on your system?
New version works for me with both 8.6 and 8.8
$ cabal install threadscope
Resolving dependencies...
Build profile: -w ghc-8.6.5 -O1
In order, the following will be built (use -v for more details):
- cairo-0.13.8.0 (lib:cairo) (requires build)
- glib-0.13.8.0 (lib:glib) (requires build)
- pango-0.13.8.0 (lib:pango) (requires build)
- gio-0.13.8.0 (lib:gio) (requires build)
- gtk-0.15.4 (lib:gtk) (requires build)
- threadscope-0.2.12 (exe:threadscope) (requires build)
Starting glib-0.13.8.0 (all, legacy fallback)
Starting cairo-0.13.8.0 (all, legacy fallback)
Building glib-0.13.8.0 (all, legacy fallback)
Building cairo-0.13.8.0 (all, legacy fallback)
Installing glib-0.13.8.0 (all, legacy fallback)
Installing cairo-0.13.8.0 (all, legacy fallback)
Completed glib-0.13.8.0 (all, legacy fallback)
Starting gio-0.13.8.0 (all, legacy fallback)
Completed cairo-0.13.8.0 (all, legacy fallback)
Starting pango-0.13.8.0 (all, legacy fallback)
Building gio-0.13.8.0 (all, legacy fallback)
Building pango-0.13.8.0 (all, legacy fallback)
Installing pango-0.13.8.0 (all, legacy fallback)
Installing gio-0.13.8.0 (all, legacy fallback)
Completed pango-0.13.8.0 (all, legacy fallback)
Completed gio-0.13.8.0 (all, legacy fallback)
Starting gtk-0.15.4 (all, legacy fallback)
Building gtk-0.15.4 (all, legacy fallback)
Installing gtk-0.15.4 (all, legacy fallback)
Completed gtk-0.15.4 (all, legacy fallback)
Starting threadscope-0.2.12 (all, legacy fallback)
Building threadscope-0.2.12 (all, legacy fallback)
Installing threadscope-0.2.12 (all, legacy fallback)
Completed threadscope-0.2.12 (all, legacy fallback)
@AndreasPK Thanks for checking. Closing the issue.
@Twonki Please file a new issue if you still have the build issue.
Trying with 8.8.1 on windows: