pandoc-crossref icon indicating copy to clipboard operation
pandoc-crossref copied to clipboard

pandoc-crossref 0.3.13.0 incompatible with pandoc 2.19.2 on homebrew

Open xot opened this issue 2 years ago • 8 comments

pandoc-crossref 0.3.13.0 as binary-installed over homebrew appears incompatible with pandoc 2.19.2:

WARNING: pandoc-crossref was compiled with pandoc 2.18 but is being run through 2.19.2. This is not supported. Strange things may (and likely will) happen silently.

This happens even though https://formulae.brew.sh/formula/pandoc-crossref#default says that it depends on panda 2.19.2

xot avatar Dec 09 '22 12:12 xot

This is an issue with homebrew, which I can't do anything about on my end. The last time this came up is in #360. Your options are:

  • Use prebuilt binaries available from the releases page if you can (those are built on CI, so the process is pretty transparent, but of course no guarantees those'll work, and I understand if you don't trust random binaries downloaded from the interwebs)
  • Build from source. The cabal build guide is a tad outdated, as the currently recommended way to get the compiler and stuff is with ghcup, and Haskell Platform is being deprecated. Stack instructions are more or less up to date.
  • Complain about this loudly on homebrew repo and hope someone figures out how to fix this.

I'll hopefully push out a new release in a bit and the issue will temporarily resolve itself, but it's not a long-term solution.

At the rate this comes up, I feel like I need to mention this in the readme.

lierdakil avatar Dec 11 '22 18:12 lierdakil

Thank you for the elaborate response, and apologies for barking up the wrong tree. I'll contact homebrew about this.

xot avatar Dec 12 '22 08:12 xot

Homebrew is now on 0.3.14.0, which is compatible with pandoc 2.19.2. Maybe this issue can be closed?

nealkruis avatar Dec 13 '22 19:12 nealkruis

Not sure. This issue crops up every once in a while, so there apparently is some hidden dependency that isn't always properly caught.

xot avatar Dec 14 '22 08:12 xot

Homebrew is now on 0.3.14.0, which is compatible with pandoc 2.19.2. Maybe this issue can be closed?

This will crop up next time homebrew updates pandoc, probably :shrug:

lierdakil avatar Dec 16 '22 17:12 lierdakil

I've barked up the home-brew tree and they closed the issue with this:

https://github.com/Homebrew/homebrew-core/commit/825e438f70921d09cc84e120479272e410199142

xot avatar Dec 19 '22 07:12 xot

I'm led to believe the fix is harder than this, but maybe I was misinformed. Honestly, no idea how homebrew does its builds. I guess we'll have to wait and see if it helps :shrug:

lierdakil avatar Dec 25 '22 00:12 lierdakil

Thanks by the way.

lierdakil avatar Dec 25 '22 00:12 lierdakil