Project

General

Profile

Bug #3617

Freedom Issue #972: TeXLive freedom verification

[texlive-core] PANIC: unprotected error in call to Lua API"

Integral - about 1 month ago - . Updated about 1 month ago.

Status:
confirmed
Priority:
bug
Assignee:
-
% Done:

0%


Description

  • steps to reproduce:
    sudo pacman -S texlive-core
  • expected result:
    It should be installed successfully without any error.
  • actual result:
    Error occurs during installation (seems to be inconsistent zlib version).

    (3/5) Updating TeXLive filename database...
    PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.3, library: 1.3.1)
    /usr/share/libalpm/scripts/mktexlsr: line 4: 22617 Aborted (core dumped) /usr/bin/mtxrun --generate > /dev/null
    grep: /var/lib/texmf/luatex-cache/context/*/trees/*.lua: No such file or directory
    (4/5) Updating TeXLive format files...
    PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.3, library: 1.3.1)
    PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.3, library: 1.3.1)
    PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.3, library: 1.3.1)
    PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.3, library: 1.3.1)
    PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.3, library: 1.3.1)
    PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.3, library: 1.3.1)

kpathsea: Running mktextfm csr10
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input csr10
This is METAFONT, Version 2.71828182 (TeX Live 2023/Parabola GNU/Linux-libre) (preloaded base=mf)

kpathsea: Running mktexmf csr10

! I can't find file `csr10'.
<*> ...=ljfour; mag:=1; ; nonstopmode; input csr10

Please type another input file name
! Emergency stop.
<*> ...=ljfour; mag:=1; ; nonstopmode; input csr10

Transcript written on mfput.log.
grep: csr10.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input csr10' failed to make csr10.tfm.
kpathsea: Appending font creation commands to missfont.log.
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.3, library: 1.3.1)
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.3, library: 1.3.1)

kpathsea: Running mktextfm csr10
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input csr10
This is METAFONT, Version 2.71828182 (TeX Live 2023/Parabola GNU/Linux-libre) (preloaded base=mf)

kpathsea: Running mktexmf csr10

! I can't find file `csr10'.
<*> ...=ljfour; mag:=1; ; nonstopmode; input csr10

Please type another input file name
! Emergency stop.
<*> ...=ljfour; mag:=1; ; nonstopmode; input csr10

Transcript written on mfput.log.
grep: csr10.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input csr10' failed to make csr10.tfm.
kpathsea: Appending font creation commands to missfont.log.
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.3, library: 1.3.1)

kpathsea: Running mktextfm csr10
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input csr10
This is METAFONT, Version 2.71828182 (TeX Live 2023/Parabola GNU/Linux-libre) (preloaded base=mf)

kpathsea: Running mktexmf csr10

! I can't find file `csr10'.
<*> ...=ljfour; mag:=1; ; nonstopmode; input csr10

Please type another input file name
! Emergency stop.
<*> ...=ljfour; mag:=1; ; nonstopmode; input csr10

Transcript written on mfput.log.
grep: csr10.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input csr10' failed to make csr10.tfm.
kpathsea: Appending font creation commands to missfont.log.
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.3, library: 1.3.1)
fmtutil [ERROR]: running `luajithbtex -ini -jobname=luajithbtex -progname=luajithbtex luatex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `luahbtex -ini -jobname=luahbtex -progname=luahbtex luatex.ini </dev/null' return status: 134
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `luajittex -ini -jobname=luajittex -progname=luajittex luatex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `luatex -ini -jobname=luatex -progname=luatex luatex.ini </dev/null' return status: 134
fmtutil [ERROR]: returning error due to option --strict
fmtutil [WARNING]: inifile mex.ini for mex/pdftex not found.
fmtutil [ERROR]: running `luahbtex -ini -jobname=lualatex -progname=lualatex lualatex.ini </dev/null' return status: 134
fmtutil [ERROR]: returning error due to option --strict
fmtutil [WARNING]: inifile pdfmex.ini for pdfmex/pdftex not found.
fmtutil [ERROR]: running `pdftex -ini -jobname=utf8mex -progname=utf8mex -enc *utf8mex.ini </dev/null' return status: 1
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]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini -jobname=csplain -progname=csplain -etex -enc csplain-utf8.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `luatex -ini -jobname=dvilualatex -progname=dvilualatex dvilualatex.ini </dev/null' return status: 134
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `luatex -ini -jobname=optex -progname=optex optex.ini </dev/null' return status: 134
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `xetex -ini -jobname=pdfcsplain -progname=pdfcsplain -etex csplain.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `luatex -ini -jobname=pdfcsplain -progname=pdfcsplain -etex csplain.ini </dev/null' return status: 134
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini -jobname=pdfcsplain -progname=pdfcsplain -etex -enc csplain-utf8.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `luatex -ini -jobname=luacsplain -progname=luacsplain -etex csplain.ini </dev/null' return status: 134
fmtutil [ERROR]: returning error due to option --strict
error: command failed to execute correctly

History

#1

Updated by bill-auger about 1 month ago

  • Status changed from unconfirmed to duplicate

this issue has been raised many times (for example, https://labs.parabola.nu/boards/5/topics/945) - those errors have been present for as long as parabola has been packaging texlive - it has never been any actual problem - it is related to some non-free fonts which are removed in the parabola package - the error messages are harmless - the install did not fail; and the programs should work as expected

#972 and its child tickets track this issue

#2

Updated by bill-auger about 1 month ago

#3

Updated by nona about 1 month ago

It seems that this does affect the execution of programs:

$ texdoc tikz
PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.3, library: 1.3.1)
Aborted

nothing shows up (even with just texdoc).

Is this really a duplicate?

#4

Updated by bill-auger about 1 month ago

#5

Updated by bill-auger about 1 month ago

  • Parent task set to #972
  • Status changed from duplicate to confirmed
  • Subject changed from [texlive-core] Error occurs during installation to [texlive-core] PANIC: unprotected error in call to Lua API"

Is this really a duplicate?

the very same error messages "fmtutil [ERROR]: returning error due to option --strict" have been reported many times over the years

#3164
#3100
#2151

the only new information i see is "PANIC: unprotected error in call to Lua API"; but the subject is "Error occurs during installation" - i just assumed that it was as harmless as the rest - AFAIK, this is the first time that anyone reported a problem when running any of the programs

it appears to be a typical library mismatch though, which could be easily fixed with a rebuild, pinning it to 'zlib' to prevent future breakage

#6

Updated by bill-auger about 1 month ago

bill-auger wrote:

it appears to be a typical library mismatch though, which could be easily fixed with a rebuild, pinning it to 'zlib' to prevent future breakage

i tried - it did not help - we are going to need to move forward with #972 - either determine that texlive no longer needs to be patched, or re-work the PKGBUILDs and patches for the latest release, or simply stop packaging it

Also available in: Atom PDF