PANIC: unprotected error in call to Lua API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
texlive-base (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I am trying to install live tex, but I will get errors everywhere i try to install and uninstall the software.
This is a copy of the fmtutil file which has been generated.
fmtutil: running `pdftex -ini -jobname=etex -progname=etex -translate-
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (INITEX)
(/usr/
entering extended mode
(/usr/share/
(/usr/share/
(/usr/share/
Preloading the plain format: codes, registers, parameters, fonts, more fonts,
macros, math definitions, output routines, hyphenation
(/usr/share/
[skipping from \patterns to end-of-file...]))
(/usr/share/
Skipping module "grouptypes"; Loading module "interactionmodes";
Skipping module "nodetypes"; Skipping module "iftypes";)
(/var/lib/
(/usr/share/
Augmenting the Plain TeX definitions: \tracingall;
Adding new e-TeX definitions: \eTeX, \loggingall, \tracingnone,
register allocation; extended register allocation;
Recycling: \addlanguage, \@nswer (not defined), \@sk, \b@dresponsetrue,
\b@dresponsefalse, \ch@ckforyn, \mayber@cycle, \et@xabort, \et@xbuf,
\et@xfmtsrc, \et@xfilehdr, \et@xinf, \et@xpatterns, \l@ngdefnfile, \n@xt,
\p@rse (not defined), \pr@mpt (not defined), \pr@mptloop (not defined),
\forcer@cycle, \usef@llback, \usef@llbacktrue, \usef@llbackfalse,
Retaining: \et@xerr, \et@xinput, \et@xlibhdr, \et@xmsg, \et@xtoks, \et@xwarn,
\et@xl@@d, \et@xl@ad, \et@xload, \et@xlang, \et@xhash, \eTeX, \etexhdrchk,
\etexstatus, \module, \uselanguage, \r@tain, \r@cycle,) )
Beginning to dump on file etex.fmt
(format=etex 2011.8.2)
2861 strings of total length 42087
7960 memory locations dumped; current usage is 203&7290
1251 multiletter control sequences
\font\nullfont=
\font\tenrm=cmr10
\font\preloaded
\font\preloaded
\font\sevenrm=cmr7
\font\preloaded
\font\fiverm=cmr5
\font\teni=cmmi10
\font\preloaded
\font\preloaded
\font\seveni=cmmi7
\font\preloaded
\font\fivei=cmmi5
\font\tensy=cmsy10
\font\preloaded
\font\preloaded
\font\sevensy=cmsy7
\font\preloaded
\font\fivesy=cmsy5
\font\tenex=cmex10
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\tenbf=cmbx10
\font\preloaded
\font\preloaded
\font\sevenbf=cmbx7
\font\preloaded
\font\fivebf=cmbx5
\font\tentt=cmtt10
\font\preloaded
\font\preloaded
\font\preloaded
\font\tensl=cmsl10
\font\preloaded
\font\preloaded
\font\tenit=cmti10
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
14787 words of font info for 50 preloaded fonts
14 hyphenation exceptions
Hyphenation trie of length 6075 has 181 ops out of 35111
181 for language 0
0 words of pdfTeX memory
0 indirect objects
No pages of output.
Transcript written on etex.log.
fmtutil: /var/lib/
fmtutil: running `pdftex -ini -jobname=pdfetex -progname=pdfetex -translate-
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (INITEX)
(/usr/
entering extended mode
(/usr/share/
(/etc/texmf/
(/usr/share/
(/usr/share/
Preloading the plain format: codes, registers, parameters, fonts, more fonts,
macros, math definitions, output routines, hyphenation
(/usr/share/
[skipping from \patterns to end-of-file...]))
(/usr/share/
Skipping module "grouptypes"; Loading module "interactionmodes";
Skipping module "nodetypes"; Skipping module "iftypes";)
(/var/lib/
(/usr/share/
Augmenting the Plain TeX definitions: \tracingall;
Adding new e-TeX definitions: \eTeX, \loggingall, \tracingnone,
register allocation; extended register allocation;
Recycling: \addlanguage, \@nswer (not defined), \@sk, \b@dresponsetrue,
\b@dresponsefalse, \ch@ckforyn, \mayber@cycle, \et@xabort, \et@xbuf,
\et@xfmtsrc, \et@xfilehdr, \et@xinf, \et@xpatterns, \l@ngdefnfile, \n@xt,
\p@rse (not defined), \pr@mpt (not defined), \pr@mptloop (not defined),
\forcer@cycle, \usef@llback, \usef@llbacktrue, \usef@llbackfalse,
Retaining: \et@xerr, \et@xinput, \et@xlibhdr, \et@xmsg, \et@xtoks, \et@xwarn,
\et@xl@@d, \et@xl@ad, \et@xload, \et@xlang, \et@xhash, \eTeX, \etexhdrchk,
\etexstatus, \module, \uselanguage, \r@tain, \r@cycle,)
(/usr/share/
Beginning to dump on file pdfetex.fmt
(format=pdfetex 2011.8.2)
2871 strings of total length 42400
7960 memory locations dumped; current usage is 203&7321
1253 multiletter control sequences
\font\nullfont=
\font\tenrm=cmr10
\font\preloaded
\font\preloaded
\font\sevenrm=cmr7
\font\preloaded
\font\fiverm=cmr5
\font\teni=cmmi10
\font\preloaded
\font\preloaded
\font\seveni=cmmi7
\font\preloaded
\font\fivei=cmmi5
\font\tensy=cmsy10
\font\preloaded
\font\preloaded
\font\sevensy=cmsy7
\font\preloaded
\font\fivesy=cmsy5
\font\tenex=cmex10
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\tenbf=cmbx10
\font\preloaded
\font\preloaded
\font\sevenbf=cmbx7
\font\preloaded
\font\fivebf=cmbx5
\font\tentt=cmtt10
\font\preloaded
\font\preloaded
\font\preloaded
\font\tensl=cmsl10
\font\preloaded
\font\preloaded
\font\tenit=cmti10
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
14787 words of font info for 50 preloaded fonts
14 hyphenation exceptions
Hyphenation trie of length 6075 has 181 ops out of 35111
181 for language 0
0 words of pdfTeX memory
0 indirect objects
No pages of output.
Transcript written on pdfetex.log.
fmtutil: /var/lib/
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-
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (INITEX)
(/usr/
entering extended mode
(/usr/share/
(/etc/texmf/
(/usr/share/
(/usr/share/
Preloading the plain format: codes, registers, parameters, fonts, more fonts,
macros, math definitions, output routines, hyphenation
(/usr/share/
[skipping from \patterns to end-of-file...]))
(/usr/share/
Skipping module "grouptypes"; Loading module "interactionmodes";
Skipping module "nodetypes"; Skipping module "iftypes";)
(/var/lib/
(/usr/share/
Augmenting the Plain TeX definitions: \tracingall;
Adding new e-TeX definitions: \eTeX, \loggingall, \tracingnone,
register allocation; extended register allocation;
Recycling: \addlanguage, \@nswer (not defined), \@sk, \b@dresponsetrue,
\b@dresponsefalse, \ch@ckforyn, \mayber@cycle, \et@xabort, \et@xbuf,
\et@xfmtsrc, \et@xfilehdr, \et@xinf, \et@xpatterns, \l@ngdefnfile, \n@xt,
\p@rse (not defined), \pr@mpt (not defined), \pr@mptloop (not defined),
\forcer@cycle, \usef@llback, \usef@llbacktrue, \usef@llbackfalse,
Retaining: \et@xerr, \et@xinput, \et@xlibhdr, \et@xmsg, \et@xtoks, \et@xwarn,
\et@xl@@d, \et@xl@ad, \et@xload, \et@xlang, \et@xhash, \eTeX, \etexhdrchk,
\etexstatus, \module, \uselanguage, \r@tain, \r@cycle,)
(/usr/share/
Beginning to dump on file pdftex.fmt
(format=pdftex 2011.8.2)
2871 strings of total length 42397
7960 memory locations dumped; current usage is 203&7321
1253 multiletter control sequences
\font\nullfont=
\font\tenrm=cmr10
\font\preloaded
\font\preloaded
\font\sevenrm=cmr7
\font\preloaded
\font\fiverm=cmr5
\font\teni=cmmi10
\font\preloaded
\font\preloaded
\font\seveni=cmmi7
\font\preloaded
\font\fivei=cmmi5
\font\tensy=cmsy10
\font\preloaded
\font\preloaded
\font\sevensy=cmsy7
\font\preloaded
\font\fivesy=cmsy5
\font\tenex=cmex10
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\tenbf=cmbx10
\font\preloaded
\font\preloaded
\font\sevenbf=cmbx7
\font\preloaded
\font\fivebf=cmbx5
\font\tentt=cmtt10
\font\preloaded
\font\preloaded
\font\preloaded
\font\tensl=cmsl10
\font\preloaded
\font\preloaded
\font\tenit=cmti10
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
14787 words of font info for 50 preloaded fonts
14 hyphenation exceptions
Hyphenation trie of length 6075 has 181 ops out of 35111
181 for language 0
0 words of pdfTeX memory
0 indirect objects
No pages of output.
Transcript written on pdftex.log.
fmtutil: /var/lib/
fmtutil: running `mf-nowin -ini -jobname=mf -progname=mf -translate-
This is METAFONT, Version 2.718281 (TeX Live 2009/Debian) (INIMF)
(/usr/share/
(/usr/share/
(/usr/share/
Preloading the plain base, version 2.71: preliminaries,
basic constants and mathematical macros,
macros for converting from device-independent units to pixels,
macros and tables for various modes of operation,
macros for drawing and filling,
macros for proof labels and rules,
macros for character and font administration,
and a few last-minute items.) (/etc/texmf/
Beginning to dump on file mf.base
(base=mf 2011.8.2)
2225 strings of total length 29919
11864 memory locations dumped; current usage is 3658&7844
1004 symbolic tokens
Transcript written on mf.log.
fmtutil: /var/lib/
fmtutil: running `tex -ini -jobname=tex -progname=tex tex.ini' ...
This is TeX, Version 3.1415926 (TeX Live 2009/Debian) (INITEX)
(/usr/share/
(/usr/share/
Preloading the plain format: codes, registers, parameters, fonts, more fonts,
macros, math definitions, output routines, hyphenation
(/usr/share/
Beginning to dump on file tex.fmt
(format=tex 2011.8.2)
2025 strings of total length 29149
4990 memory locations dumped; current usage is 110&4877
926 multiletter control sequences
\font\nullfont=
\font\tenrm=cmr10
\font\preloaded
\font\preloaded
\font\sevenrm=cmr7
\font\preloaded
\font\fiverm=cmr5
\font\teni=cmmi10
\font\preloaded
\font\preloaded
\font\seveni=cmmi7
\font\preloaded
\font\fivei=cmmi5
\font\tensy=cmsy10
\font\preloaded
\font\preloaded
\font\sevensy=cmsy7
\font\preloaded
\font\fivesy=cmsy5
\font\tenex=cmex10
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\tenbf=cmbx10
\font\preloaded
\font\preloaded
\font\sevenbf=cmbx7
\font\preloaded
\font\fivebf=cmbx5
\font\tentt=cmtt10
\font\preloaded
\font\preloaded
\font\preloaded
\font\tensl=cmsl10
\font\preloaded
\font\preloaded
\font\tenit=cmti10
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
\font\preloaded
14787 words of font info for 50 preloaded fonts
14 hyphenation exceptions
Hyphenation trie of length 6075 has 181 ops out of 35111
181 for language 0
No pages of output.
Transcript written on tex.log.
fmtutil: /var/lib/
#######
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
/var/
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
Adding to this since I'm seeing the exact same issue:
fmtutil [INFO]: log file copied to: /var/lib/ texmf/web2c/ pdftex/ pdfetex. log texmf/web2c/ pdftex/ pdfetex. fmt installed. texmf/web2c/ luatex texmf/web2c/ luatex
fmtutil [INFO]: /var/lib/
fmtutil [ERROR]: running `luatex -ini -jobname=luatex -progname=luatex luatex.ini </dev/null' return status: 134
fmtutil [ERROR]: cannot copy log luatex.log to: /var/lib/
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `luatex -ini -jobname=dviluatex -progname=dviluatex dviluatex.ini </dev/null' return status: 134
fmtutil [ERROR]: cannot copy log dviluatex.log to: /var/lib/
fmtutil [ERROR]: returning error due to option --strict
fmtutil [INFO]: successfully rebuilt formats: 5
fmtutil [INFO]: failed to build: 2 (luatex/luatex luatex/dviluatex)
fmtutil [INFO]: total formats: 7
fmtutil [INFO]: exiting with status 2
And running the commands by hand:
# 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.11, library: 1.3)
Aborted (core dumped)
# lsb_release -r
Release: 20.04