Opened 13 months ago

Closed 13 months ago

Last modified 13 months ago

#67998 closed defect (fixed)

texlive: `/opt/local/bin/mtxrun --generate` error: "(zlib library version does not match - header: 1.2.13, library: 1.3)"

Reported by: wilya7 Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: wilya7, eric-j-ason, DaveStrickland (Dave Strickland)
Port: texlive-bin texlive-context

Description

While installing texlive texlive-latex-extra, each language package elicit the error reported in the summary. For example

bash-3.2# port install texlive texlive-latex-extra
--->  Computing dependencies for texlive
The following dependencies will be installed: 
 texlive-lang-european
 texlive-lang-french
 texlive-lang-german
 texlive-lang-italian
 texlive-lang-polish
 texlive-lang-portuguese
 texlive-lang-spanish
Continue? [Y/n]: Y
--->  Fetching archive for texlive-lang-european
--->  Attempting to fetch texlive-lang-european-66513_0+doc.any_any.noarch.tbz2 from https://nue.de.packages.macports.org/texlive-lang-european
--->  Attempting to fetch texlive-lang-european-66513_0+doc.any_any.noarch.tbz2.rmd160 from https://nue.de.packages.macports.org/texlive-lang-european
--->  Installing texlive-lang-european @66513_0+doc
--->  Activating texlive-lang-european @66513_0+doc
Error: Failed to activate texlive-lang-european: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-lang-european/texlive-lang-european/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port texlive failed

the log file in attachment. However, the most relevant part is this:

:debug:activate system: /opt/local/bin/mktexlsr
:debug:activate system: /opt/local/bin/mtxrun --generate
:info:activate PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.2.13, library: 1.3)
:info:activate Command failed: /opt/local/bin/mtxrun --generate
:info:activate Killed by signal: 6
:error:activate Failed to activate texlive-lang-european: command execution failed
:debug:activate Error code: NONE
:debug:activate Backtrace: command execution failed
:debug:activate     while executing
:debug:activate "$post $targetname"
:error:activate See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-lang-european/texlive-lang-european/main.log for details.
bash-3.2# sw_vers 
ProductName:	macOS
ProductVersion:	11.7.8
BuildVersion:	20G1351

MacPorts 2.8.1

Attachments (1)

main.log (115.7 KB) - added by wilya7 13 months ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-lang-european/texlive-lang-european/main.log

Download all attachments as: .zip

Change History (11)

Changed 13 months ago by wilya7

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-lang-european/texlive-lang-european/main.log

comment:1 Changed 13 months ago by wilya7

Port: texlive-context added

comment:2 Changed 13 months ago by wilya7

Summary: texlive-context: `/opt/local/bin/mtxrun --generate` error: (zlib library version does not match - header: 1.2.13, library: 1.3)`/opt/local/bin/mtxrun --generate` error: "(zlib library version does not match - header: 1.2.13, library: 1.3)"

comment:3 Changed 13 months ago by wilya7

Cc: wilya7 added

comment:4 Changed 13 months ago by jmroot (Joshua Root)

Owner: set to drkp
Port: texlive-bin added
Status: newassigned
Summary: `/opt/local/bin/mtxrun --generate` error: "(zlib library version does not match - header: 1.2.13, library: 1.3)"texlive: `/opt/local/bin/mtxrun --generate` error: "(zlib library version does not match - header: 1.2.13, library: 1.3)"

comment:5 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

When we fix the problem by increasing the revision of whatever port provides the program that produces this error, we should also add a comment at the top of the zlib portfile reminding us to do this every time it is updated to a new version, or we should patch this overly cautious behavior out of the program that produces this error.

comment:6 Changed 13 months ago by eric-j-ason

Cc: eric-j-ason added

comment:8 Changed 13 months ago by DaveStrickland (Dave Strickland)

Cc: DaveStrickland added

comment:9 Changed 13 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In ebcdf0347585ca884d018b09ac2b4e23a831ab7d/macports-ports (master):

texlive-bin: revbump after zlib update

Closes: #67998

comment:10 in reply to:  5 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to catap:

The fix https://github.com/macports/macports-ports/pull/20091

The fix did not include my suggestion above.

And we still don't know: why do they need to check the zlib version this strictly? Is there an upstream bug report or other explanation from upstream? If zlib developers think zlib 1.3 is ABI-compatible with previous versions, why are the developers of texlive-bin second-guessing that?

Note: See TracTickets for help on using tickets.