Bug#1064854: Breaks tex-common's configuration

2024-02-26 Thread Preuße

Control: affects -1 texlive-binaries
Control: merge -1 1064402
Control: affects -1 context



OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1064854: Breaks tex-common's configuration

2024-02-26 Thread Preuße

Control: reassign -1 luametatex
Control: severity -1 grave
Control: merge -1 1064402
Control: affects -1 context

On 26.02.2024 18:50, julien.pu...@gmail.com wrote:

Hi,


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.)



No, it is in the upgraded luametatex, which is for the upcoming TL 2024 
and should have been uploaded to experimental. Downgrade it and put it 
on hold. apt-listbugs is helpful here. Sorry, for the inconvenience!


Hilmar
--
sigfault



OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1064854: Breaks tex-common's configuration

2024-02-26 Thread julien . puydt
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