Bug#1064918: tex-common postinst script fails due to a bug in lua script /usr/bin/mtxrun.lua
On Wed, 28 Feb 2024, Preuße, Hilmar wrote:
On 27.02.2024 19:06, Giacomo Mulas wrote:
Hello Giacomo,
Indeed, mtxrun.lua uses texlua, as an interpreter, and that is provided by
texlive-binaries, which was also upgraded a couple of days ago.
Gotcha! I downgraded texlive-binaries to the previous version, and now
tex-common configures correctly.
So, apparently, the upgrade of texlive-binaries from version
2023.20230311.66589-8+b1 to 2023.20230311.66589-9 broke the postinst script
of tex-common, where it attempts to run mtxrun.lua.
According to the actual knowledge (#1064402) the issue is caused by the (not
very helpful) luametatex upgrade, which should have been targeted to
experimental, as it belongs to the upcoming TL 2024 release. Please downgrade
your luametatex to the version from testing (and put it on hold), then
upgrading tl-bin should not be an issue.
indeed that worked, luametatex version 2.10.08+ds-1+b1 + texlive-binaries
version 2023.20230311.66589-8+b1 do not trigger the mtxrun.lua problem. But
also luametatex version 2.11.01+ds-2_amd64 + texlive-binaries version
2023.20230311.66589-9 works. So I am not completely sure which one is the
culprit.
Anyway, from #1064402 it appears that there is actually a problem in the
mtxrun.lua script. Quoting from Raphael Plasson's message in that bug
report:
"All the errors comes down to the modification of for loop variables inside
the loop. I don't know much about lua, but this seems to be forbidden, for
loop variables being seen as const."
For some reason, this was not enforced previously, but it is now with the
current versions of texlive-binaries and luametatex. So perhaps it would be
worth fixing it anyway in mtxrun.lua? Should my bugreport and/or #1064402 be
reassigned to context, which provides mtxrun.lua? Instead of just closing
them?
Thanks, bye
Giacomo
--
_________________________________________________________________
Giacomo Mulas <giacomo.mulas@inaf.it>
_________________________________________________________________
INAF - Osservatorio Astronomico di Cagliari
via della scienza 5 - 09047 Selargius (CA)
tel. +39 070 71180255
mob. : +39 329 6603810
_________________________________________________________________
"every year keeps getting shorter, never seem to find the time
plans that either come to naught, or half a page of scribbled lines
the time is gone, the song is over, thought I'd something more to say"
(Pink Floyd)
_________________________________________________________________
Reply to: