jaspervdj / patat

Terminal-based presentations using Pandoc
GNU General Public License v2.0
2.37k stars 60 forks source link

Support ghc 9.8.1 #153

Closed chenrui333 closed 5 months ago

chenrui333 commented 8 months ago

While I was packaging this project for Homebrew, I ran into some build failure against ghc 9.8.1

==> cabal v2-install --jobs=10 --max-backjumps=100000 --install-method=copy --installdir=/opt/homebrew/Cellar/patat/0.10.1.1/bin
Error: cabal: Could not resolve dependencies:
[__0] trying: patat-0.10.1.1 (user goal)
[__1] next goal: text (dependency of patat)
[__1] rejecting: text-2.1/installed-inplace (conflict: patat => text>=1.2 &&
<2.1)
[__1] skipping: text-2.1 (has the same characteristics that caused the
previous version to fail: excluded by constraint '>=1.2 && <2.1' from 'patat')
[__1] trying: text-2.0.2
[__2] next goal: base (dependency of patat)
[__2] rejecting: base-4.19.0.0/installed-inplace (conflict: text =>
ghc-prim>=0.2 && <0.11, base => ghc-prim==0.11.0/installed-inplace)
[__2] rejecting: base-4.19.0.0, base-4.18.1.0, base-4.18.0.0, base-4.17.2.0,
base-4.17.1.0, base-4.17.0.0, base-4.16.4.0, base-4.16.3.0, base-4.16.2.0,
base-4.16.1.0, base-4.16.0.0, base-4.15.1.0, base-4.15.0.0, base-4.14.3.0,
base-4.14.2.0, base-4.14.1.0, base-4.14.0.0, base-4.13.0.0, base-4.12.0.0,
base-4.11.1.0, base-4.11.0.0, base-4.10.1.0, base-4.10.0.0, base-4.9.1.0,
base-4.9.0.0, base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, base-4.7.0.2,
base-4.7.0.1, base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, base-4.5.1.0,
base-4.5.0.0, base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, base-4.3.0.0,
base-4.2.0.2, base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, base-4.0.0.0,
base-3.0.3.2, base-3.0.3.1 (constraint from non-upgradeable package requires
installed instance)
[__2] fail (backjumping, conflict set: base, patat, text)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: text, patat, base

Let me know if I need to provide more info.

relates to https://github.com/Homebrew/homebrew-core/pull/154536

jaspervdj commented 8 months ago

This seems to be because of the text-2.1 dependency. Unfortunately many of patat's direct and indirect dependencies don't support the new text package yet, so we'll need to wait for those to be updated first.

andreasabel commented 6 months ago

Blocked by:

andreasabel commented 6 months ago

Seems unblocked now, I filed