Package: context
Version: 2023.05.05.20230730+dfsg-2
Severity: critical

since a few days, I saw a configuration issue with the tex-common
package. (What I don't get is why it actually needs configuration since
I don't see uploads since months.)

I finally found the time to investigate and report. The error message
is:

Setting up tex-common (6.18) ...
Running mktexlsr. This may take some time... done.
Running mtxrun --generate. This may take some time... 
mtxrun --generate failed. Output has been stored in
/tmp/mtxrun.F4nq0y9x
Please include this file if you report a bug.

where /tmp/mtxrun.* contains a single line:

lua error : startup file: /usr/bin/mtxrun.lua:2438: attempt to assign
to const variable 'i'


The executable /usr/bin/mtxrun.lua is provided by the context package
(which also wasn't updated also since months...)

In /usr/bin/mtxrun.lua, around line 2438 looks like:
 for i,v in next,t do 
  if type(i)=="table" then
   if tables[i] then
    i=tables[i]   <- 2438 is that one
   else
    i=copy(i,tables)
   end
  end

my guess is the correct value should be put in another variable than
the for-loop index, but I'm pretty clueless about lua, and it did work
at some point... perhaps a new lua version is pickier?

Anyway I'm filing the bug report against context, since uninstalling it
unbreaks things, and setting the gravity level to critical since it
breaks other packages.

Cheers,

J.Puydt

Reply via email to