Bug#586641: tex-common configure failure
Package: luatex
Version: 1:1.2.5.dfsg-1
It fails if the (experimental) zlib1g version 1.2.5 is installed.
Reverting to 1:1.2.3.4.dfsg-3 makes everything work.
In brief:
# luatex
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.2.3.4, library: 1.2.5)
This causes an install failure on tex-common:
# dpkg -i /var/cache/apt/archives/tex-common_2.08_all.deb
(Reading database ... 233324 files and directories currently installed.)
Preparing to replace tex-common 2.08 (using .../tex-common_2.08_all.deb) ...
Unpacking replacement tex-common ...
Setting up tex-common (2.08) ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time... done.
Building format(s) --all.
This may take some time...
fmtutil-sys failed. Output has been stored in
/tmp/fmtutil.St0Cltla
Please include this file if you report a bug.
dpkg: error processing tex-common (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for doc-base ...
Processing 2 changed doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Errors were encountered while processing:
tex-common
The full log file is 2276 lines (105K), so I have cut out the successful
portions.
fmtutil: running `pdftex -ini -jobname=etex -progname=etex -translate-file=cp227.tcx *etex.ini' ...
[snip]
fmtutil: /var/lib/texmf/web2c/pdftex/etex.fmt installed.
fmtutil: running `pdftex -ini -jobname=pdfetex -progname=pdfetex -translate-file=cp227.tcx *pdfetex.ini' ...
[snip]
fmtutil: /var/lib/texmf/web2c/pdftex/pdfetex.fmt installed.
fmtutil: running `luatex -ini -jobname=luatex -progname=luatex luatex.ini' ...
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.2.3.4, library: 1.2.5)
Error: `luatex -ini -jobname=luatex -progname=luatex luatex.ini' failed
mv: cannot stat `luatex.log': No such file or directory
fmtutil: running `luatex -ini -jobname=dviluatex -progname=dviluatex dviluatex.ini' ...
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.2.3.4, library: 1.2.5)
Error: `luatex -ini -jobname=dviluatex -progname=dviluatex dviluatex.ini' failed
mv: cannot stat `dviluatex.log': No such file or directory
fmtutil: running `pdftex -ini -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx *pdfetex.ini' ...
[snip]
fmtutil: /var/lib/texmf/web2c/pdftex/pdftex.fmt installed.
fmtutil: running `mf-nowin -ini -jobname=mf -progname=mf -translate-file=cp227.tcx mf.ini' ...
[snip]
fmtutil: /var/lib/texmf/web2c/metafont/mf.base installed.
fmtutil: running `tex -ini -jobname=tex -progname=tex tex.ini' ...
[snip]
fmtutil: /var/lib/texmf/web2c/tex/tex.fmt installed.
fmtutil: running `pdftex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' ...
[snip]
fmtutil: /var/lib/texmf/web2c/pdftex/latex.fmt installed.
fmtutil: running `luatex -ini -jobname=dvilualatex -progname=dvilualatex dvilualatex.ini' ...
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.2.3.4, library: 1.2.5)
Error: `luatex -ini -jobname=dvilualatex -progname=dvilualatex dvilualatex.ini' failed
mv: cannot stat `dvilualatex.log': No such file or directory
fmtutil: running `luatex -ini -jobname=lualatex -progname=lualatex lualatex.ini' ...
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.2.3.4, library: 1.2.5)
Error: `luatex -ini -jobname=lualatex -progname=lualatex lualatex.ini' failed
mv: cannot stat `lualatex.log': No such file or directory
fmtutil: running `pdftex -ini -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' ...
[snip]
fmtutil: /var/lib/texmf/web2c/pdftex/pdflatex.fmt installed.
fmtutil: running `mpost -ini -jobname=mfplain -progname=mfplain mfplain.ini' ...
[snip]
fmtutil: /var/lib/texmf/web2c/metapost/mfplain.mem installed.
fmtutil: running `mpost -ini -jobname=mpost -progname=mpost mpost.mp' ...
[snip]
fmtutil: /var/lib/texmf/web2c/metapost/mpost.mem installed.
fmtutil: /var/lib/texmf/web2c/metapost/mplib-luatex.mem already exists, not updating.
fmtutil: running `pdftex -ini -jobname=cont-en -progname=context -8bit *cont-en.ini' ...
[snip]
fmtutil: /var/lib/texmf/web2c/pdftex/cont-en.fmt installed.
fmtutil: running `xetex -ini -jobname=cont-en -progname=context -8bit *cont-en.ini' ...
[snip]
fmtutil: /var/lib/texmf/web2c/xetex/cont-en.fmt installed.
fmtutil: running `pdftex -ini -jobname=mptopdf -progname=context -translate-file=cp227.tcx mptopdf.tex' ...
[snip]
fmtutil: /var/lib/texmf/web2c/pdftex/mptopdf.fmt installed.
fmtutil: running `mpost -ini -jobname=metafun -progname=mpost metafun.mp' ...
[snip]
fmtutil: /var/lib/texmf/web2c/metapost/metafun.mem installed.
###############################################################################
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
/var/lib/texmf/web2c
for details.
###############################################################################
This is a summary of all `failed' messages:
`luatex -ini -jobname=luatex -progname=luatex luatex.ini' failed
`luatex -ini -jobname=dviluatex -progname=dviluatex dviluatex.ini' failed
`luatex -ini -jobname=dvilualatex -progname=dvilualatex dvilualatex.ini' failed
`luatex -ini -jobname=lualatex -progname=lualatex lualatex.ini' failed
Also, here's /var/lib/texmf/web2c/updmap.log:
Mon Jun 21 04:07:19 EDT 2010
updmap: This is updmap, version $Id: updmap 14402 2009-07-23 17:09:15Z karl $
updmap: using transcript file `/var/lib/texmf/web2c/updmap.log'
updmap is creating new map files using the following configuration:
config file: `/var/lib/texmf/web2c/updmap.cfg'
dvips output directory: `/var/lib/texmf/fonts/map/dvips/updmap'
pdftex output directory: `/var/lib/texmf/fonts/map/pdftex/updmap'
dvipdfm output directory: `/var/lib/texmf/fonts/map/dvipdfm/updmap'
prefer outlines: `true'
texhash enabled: `false'
download standard fonts (dvips): `false'
download standard fonts (pdftex): `true'
download standard fonts (dvipdfm): `true'
updmap: scanning for LW35 support files
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/tetex/dvips35.map'
!!! WARNING: Identical copy of used file for `dvips35.map'
exists in obsolete location
/etc/texmf/dvips/dvips35.map
Please, consider removing this file.
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/tetex/pdftex35.map'
!!! WARNING: Identical copy of used file for `pdftex35.map'
exists in obsolete location
/etc/texmf/dvips/pdftex35.map
Please, consider removing this file.
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/tetex/dvipdfm35.map'
!!! WARNING: Identical copy of used file for `dvipdfm35.map'
exists in obsolete location
/etc/texmf/dvips/dvipdfm35.map
Please, consider removing this file.
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/tetex/ps2pk35.map'
!!! WARNING: Identical copy of used file for `ps2pk35.map'
exists in obsolete location
/etc/texmf/dvips/ps2pk35.map
Please, consider removing this file.
updmap: Scanning for MixedMap entries:
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/amsfonts/cm.map'
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/amsfonts/cmextra.map'
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/cm/cmtext-bsr-interpolated.map'
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/amsfonts/cyrillic.map'
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/eurosym/eurosym.map'
!!! WARNING: Identical copy of used file for `eurosym.map'
exists in obsolete location
/etc/texmf/dvips/eurosym.map
Please, consider removing this file.
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/amsfonts/latxfont.map'
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/mflogo/mflogo.map'
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/rsfs/rsfs.map'
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/amsfonts/symbols.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tipa.map'
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/wasy/wasy.map'
updmap: Scanning for Map entries:
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/psnfss/charter.map'
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/amsfonts/euler.map'
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/psnfss/fpls.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/lm-cs.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/lm-ec.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/lm-l7x.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/lm-math.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/lm-qx.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/lm-t5.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/lm-texnansi.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/lm/lm-ts1.map'
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/marvosym/marvosym.map'
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/psnfss/pazo.map'
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/pxfonts/pxfonts.map'
!!! WARNING: Identical copy of used file for `pxfonts.map'
exists in obsolete location
/etc/texmf/dvips/pxfonts.map
Please, consider removing this file.
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tex-gyre/qag.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tex-gyre/qbk.map'
!!! WARNING: While searching for the right map file for `qbk.map', we have
found the file
/usr/share/texmf/fonts/map/dvips/tex-gyre/qbk.map
in the right location and we are using this
file. However, a map file with different content has been found in
the obsolete location
/etc/texmf/dvips/qbk.map
Please, see which version you want to use and eventually update the
content of the used map file. Additionally, consider removing the
obsolete file.
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tex-gyre/qcr.map'
!!! WARNING: While searching for the right map file for `qcr.map', we have
found the file
/usr/share/texmf/fonts/map/dvips/tex-gyre/qcr.map
in the right location and we are using this
file. However, a map file with different content has been found in
the obsolete location
/etc/texmf/dvips/qcr.map
Please, see which version you want to use and eventually update the
content of the used map file. Additionally, consider removing the
obsolete file.
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tex-gyre/qcs.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tex-gyre/qhv.map'
!!! WARNING: While searching for the right map file for `qhv.map', we have
found the file
/usr/share/texmf/fonts/map/dvips/tex-gyre/qhv.map
in the right location and we are using this
file. However, a map file with different content has been found in
the obsolete location
/etc/texmf/dvips/qhv.map
Please, see which version you want to use and eventually update the
content of the used map file. Additionally, consider removing the
obsolete file.
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tex-gyre/qpl.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tex-gyre/qtm.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/tex-gyre/qzc.map'
!!! WARNING: While searching for the right map file for `qzc.map', we have
found the file
/usr/share/texmf/fonts/map/dvips/tex-gyre/qzc.map
in the right location and we are using this
file. However, a map file with different content has been found in
the obsolete location
/etc/texmf/dvips/qzc.map
Please, see which version you want to use and eventually update the
content of the used map file. Additionally, consider removing the
obsolete file.
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/txfonts/txfonts.map'
!!! WARNING: Identical copy of used file for `txfonts.map'
exists in obsolete location
/etc/texmf/dvips/txfonts.map
Please, consider removing this file.
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/psnfss/utopia.map'
updmap: using map file `/usr/share/texmf-texlive/fonts/map/dvips/eurofont/zpeu.map'
updmap: Generating output for ps2pk...
updmap: Generating output for dvips...
updmap: Generating output for pdftex...
updmap: Generating output for dvipdfm...
updmap: All output generated.
updmap: Files generated:
-rw-r--r-- 1 root root 35153 Jun 21 04:07 /var/lib/texmf/fonts/map/dvipdfm/updmap/dvipdfm_dl14.map
-rw-r--r-- 1 root root 35780 Jun 21 04:07 /var/lib/texmf/fonts/map/dvipdfm/updmap/dvipdfm_ndl14.map
-rw-r--r-- 1 root root 8893 Jun 21 04:07 /var/lib/texmf/fonts/map/dvips/updmap/builtin35.map
-rw-r--r-- 1 root root 12952 Jun 21 04:07 /var/lib/texmf/fonts/map/dvips/updmap/download35.map
-rw-r--r-- 1 root root 111532 Jun 21 04:07 /var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map
-rw-r--r-- 1 root root 100708 Jun 21 04:07 /var/lib/texmf/fonts/map/dvips/updmap/psfonts_pk.map
-rw-r--r-- 1 root root 107479 Jun 21 04:07 /var/lib/texmf/fonts/map/dvips/updmap/psfonts_t1.map
-rw-r--r-- 1 root root 111539 Jun 21 04:07 /var/lib/texmf/fonts/map/pdftex/updmap/pdftex_dl14.map
-rw-r--r-- 1 root root 109989 Jun 21 04:07 /var/lib/texmf/fonts/map/pdftex/updmap/pdftex_ndl14.map
updmap: Map file links or copies:
lrwxrwxrwx 1 root root 16 Jun 21 04:07 /var/lib/texmf/fonts/map/dvipdfm/updmap/dvipdfm.map -> dvipdfm_dl14.map
lrwxrwxrwx 1 root root 14 Jun 21 04:07 /var/lib/texmf/fonts/map/dvips/updmap/psfonts.map -> psfonts_t1.map
lrwxrwxrwx 1 root root 15 Jun 21 04:07 /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map -> pdftex_dl14.map
!!! NOTICE:
With this release, the search paths for map files have been changed
and we have found that some files exist in the new path as well as
in the obsolete path.
This is not an error per se, but please consider removing duplicates
from the old location and search the above output or the transcript file
/var/lib/texmf/web2c/updmap.log
for warnings.
For more information about the changed search paths, see
the release notes section in the teTeX manual. You probably
can read this document by executing the command
texdoc TETEXDOC
else visit the web page
http://tug.org/texlive/mapenc.html
updmap: Done.
Reply to: