FS#79470 - [texlive-bin] luatex panics with zlib 1.3-1

Attached to Project: Arch Linux
Opened by Steef Hegeman (Steef435) - Thursday, 24 August 2023, 20:09 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 31 August 2023, 17:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Antonio Rojas (arojas)
David Runge (dvzrv)
Caleb Maclennan (alerque)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
After updating zlib to version 1.3-1,
luatex crashes on start:

{{{
$ luatex
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.2.13, library: 1.3)
Aborted (core dumped)
}}}

Additional info:
* package version(s): texlive-bin 2023.66984-15 and zlib 1:1.3-1

Steps to reproduce:
Run luatex.
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 31 August 2023, 17:46 GMT
Reason for closing:  Fixed
Comment by Steef Hegeman (Steef435) - Thursday, 24 August 2023, 20:39 GMT
I tried rebuilding just texlive-bin and luatex started, but could not compile documents, so I suspect other packages may have to be rebuilt as well (or worse).

Everything is fine if I downgrade all packages to the day before the zlib update.
Comment by Toolybird (Toolybird) - Thursday, 24 August 2023, 21:24 GMT Comment by David Runge (dvzrv) - Friday, 25 August 2023, 06:58 GMT
Currently on rebuilding texlive-bin in the hopes that it fixes this issue.

FWIW, /usr/include/zlib.h does state the correct version so my assumption is, that texlive has some internal heuristic, checking this?
Comment by David Runge (dvzrv) - Friday, 25 August 2023, 07:40 GMT
I have pushed texlive-bin 2023.66984-16 which fixes the issue with the libalpm hooks.

@Steef435: I am able to use e.g. xelatex. Can you provide a specific example and log output etc. for something that does not work?
Comment by David Runge (dvzrv) - Friday, 25 August 2023, 07:45 GMT
FTR: luatex starts fine now:

```
luatex
This is LuaTeX, Version 1.17.0 (TeX Live 2023/Arch Linux)
restricted system commands enabled.
**
```
Comment by Steef Hegeman (Steef435) - Thursday, 31 August 2023, 17:43 GMT
After updating today, everything worked as expected. Maybe I didn't trigger the pacman hooks correctly when I rebuilt before.

Thank you @dvzrv!

Loading...