lierdakil / pandoc-crossref

Pandoc filter for cross-references
https://lierdakil.github.io/pandoc-crossref/
GNU General Public License v2.0
936 stars 74 forks source link

cabal install issue with ghc 9.6.2, cabal 3.10.2.0 #405

Closed iMichka closed 1 year ago

iMichka commented 1 year ago

Hello

Homebrew maintainer here. We are trying to rebuild pandoc-crossref 0.3.16.0f for ghc 9.6.2 (https://github.com/Homebrew/homebrew-core/pull/141617)

Here is the dependency resolution issue we are getting

cabal
  v2-install
  --jobs=4
  --max-backjumps=100000
  --install-method=copy
  --installdir=/opt/homebrew/Cellar/pandoc-crossref/0.3.16.0f_1/bin

  Error: cabal: Could not resolve dependencies:
  [__0] trying: pandoc-crossref-0.3.16.0 (user goal)
  [__1] trying: temporary-1.3 (dependency of pandoc-crossref)
  [__2] trying: unix-2.8.1.0/installed-2.8.1.0 (dependency of temporary)
  [__3] trying: time-1.12.2/installed-1.12.2 (dependency of unix)
  [__4] trying: bytestring-0.11.4.0/installed-0.11.4.0 (dependency of unix)
  [__5] trying: transformers-0.6.1.0/installed-0.6.1.0 (dependency of temporary)
  [__6] next goal: exceptions (dependency of temporary)
  [__6] rejecting: exceptions-0.10.7/installed-0.10.7 (conflict: pandoc-crossref
  => mtl>=1.1 && <2.3, exceptions => mtl==2.3.1/installed-2.3.1)
  [__6] trying: exceptions-0.10.7
  [__7] trying: deepseq-1.4.8.1/installed-1.4.8.1 (dependency of
  pandoc-crossref)
  [__8] next goal: filepath (dependency of pandoc-crossref)
  [__8] rejecting: filepath-1.4.100.1/installed-1.4.100.1 (conflict:
  exceptions==0.10.7, filepath => exceptions==0.10.7/installed-0.10.7)
  [__8] rejecting: filepath-1.4.100.4, filepath-1.4.100.3, filepath-1.4.100.1,
  filepath-1.4.2.2, filepath-1.4.2.1, filepath-1.4.2, filepath-1.4.1.2,
  filepath-1.4.1.1, filepath-1.4.1.0, filepath-1.4.0.0, filepath-1.3.0.2,

  filepath-1.3.0.1, filepath-1.3.0.0, filepath-1.2.0.1, filepath-1.2.0.0,
  filepath-1.1.0.4, filepath-1.1.0.3, filepath-1.1.0.2, filepath-1.1.0.1,
  filepath-1.1.0.0, filepath-1.0, filepath-1.4.100.2, filepath-1.4.100.0
  (conflict: unix => filepath==1.4.100.1/installed-1.4.100.1)
  [__8] fail (backjumping, conflict set: exceptions, filepath, pandoc-crossref,
  unix)
  After searching the rest of the dependency tree exhaustively, these were the
  goals I've had most trouble fulfilling: aeson, base, bytestring, time,
  semigroupoids, transformers, pandoc-crossref, semialign,
  semialign:semigroupoids, pandoc-types, mtl, exceptions, unix, hashable,
  temporary, deepseq, filepath
  Try running with --minimize-conflict-set to improve the error message.

Can you have a look at this? Thanks :)

lierdakil commented 1 year ago

I have bumped some dependencies, but this is going to be a new version, not a revision, mtl changed some exports. I'll push a release today or tomorrow if nothing breaks horribly on CI (I'm a bit concerned about GHC 9.6.2 on Windows)

lierdakil commented 1 year ago

The release is live.

iMichka commented 1 year ago

Thanks that worked! https://github.com/Homebrew/homebrew-core/pull/145439