Bug 29500 - luatex and xetex crash because of version mismatch with zlib
Summary: luatex and xetex crash because of version mismatch with zlib
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: texlive-xetex (show other bugs)
Version: unstable
Hardware: all Linux
: P3 critical
Assignee: kirill
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on: 29499
Blocks:
  Show dependency tree
 
Reported: 2013-10-20 21:21 MSK by Ivan Zakharyaschev
Modified: 2013-10-20 21:21 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2013-10-20 21:21:33 MSK
+++ This bug was initially created as a clone of Bug #29499 +++

On a simple hello.tex like this:

\documentclass{article}

\begin{document}
Hello, world!
\end{document}

xelatex and luatex crash because they were compiled with an older zlib (I found the description of the reason somewhere on the web, in a mailing list):

$ xelatex hello.tex 
This is XeTeXk, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7)
 %&-line parsing enabled.
(Fatal format file error; I'm stymied)
$ luatex hello.tex
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.2.7, library: 1.2.8)
$ rpm -qf /usr/bin/xelatex /usr/bin/luatex
texlive-xetex-2008.0-alt0.15.5
texlive-base-bin-2008.0-alt0.15.5
$ rpm -q zlib
zlib-1.2.8-alt1
$ 

To avoid such errors, an explicit dependcy on the version of zlib should be set in the RPM package.

(For them to work, they should be rebuilt now, anyway.)