[MacPorts] #69182: texlive-luatex: PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.3, library: 1.3.1) (was: zlib 1.3.1 not compatible with Lua API (errors in texlive and matplotlib))

MacPorts noreply at macports.org
Thu Jan 25 11:11:18 UTC 2024


#69182: texlive-luatex: PANIC: unprotected error in call to Lua API (zlib library
version does not match - header: 1.3, library: 1.3.1)
-----------------------------+----------------------
  Reporter:  MarieVdS        |      Owner:  drkp
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  texlive-luatex  |
-----------------------------+----------------------
Changes (by ryandesign):

 * owner:  (none) => drkp
 * status:  new => assigned
 * priority:  High => Normal
 * port:  zlib => texlive-luatex


Comment:

 The problem has nothing to do with the zlib port. The zlib port was merely
 recently updated from 1.3 to 1.3.1. That's a normal thing to do.

 Looks like the message is coming from texlive-luatex:

 {{{
 % strings /opt/local/bin/optex | grep zlib.library.version
 zlib library version does not match - header: %s, library: %s
 % port provides /opt/local/bin/optex
 /opt/local/bin/optex is provided by: texlive-luatex
 }}}

 It's being overly cautious and is reporting that it was built with the
 zlib 1.3 header but the version of the zlib library is now 1.3.1. This is
 not a problem but for some reason texlive-luatex thinks it is.

 The solution is to fix texlive-luatex so that it does not consider this to
 be a problem and increase its revision to rebuild it. If that's not
 possible or desirable for some reason, the solution is just to increase
 its revision to rebuild it, and add a comment to the zlib port to remind
 its maintainer to do so every time zlib is updated to a new version.

 I'm not sure whether the matplotlib `FileNotFoundError` you reported is
 caused by the texlive-luatex issue or is separate.

-- 
Ticket URL: <https://trac.macports.org/ticket/69182#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list