Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1064402: texlive-binaries: tex-common configure: lua error : startup file: /bin/mtxrun.lua:2438: attempt to assign to const variable 'i'

1 view
Skip to first unread message

Vincent Lefevre

unread,
Feb 21, 2024, 9:40:05 AMFeb 21
to
Package: texlive-binaries
Version: 2023.20230311.66589-8+b1
Severity: serious

When upgrading TeX Live:

[...]
Processing triggers for 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.gd7J0NKo
Please include this file if you report a bug.
[...]
dpkg: error processing package tex-common (--configure):
installed tex-common package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
tex-common

/tmp/mtxrun.gd7J0NKo just contains:

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

Note: the tex-common and context (from which /bin/mtxrun.lua comes
from) are still old packages, and there were no issues with them
in the past. So I assume that the bug has been introduced in
/usr/bin/texlua (/bin/mtxrun.lua is a texlua script), which is
provided by texlive-binaries.

-- Package-specific info:
IMPORTANT INFORMATION: We will only consider bug reports concerning
the packaging of TeX Live as relevant. If you have problems with
combination of packages in a LaTeX document, please consult your
local TeX User Group, the comp.text.tex user group, the author of
the original .sty file, or any other help resource.

In particular, bugs that are related to up-upstream, i.e., neither
Debian nor TeX Live (upstream), but the original package authors,
will be closed immediately.

*** The Debian TeX Team is *not* a LaTeX Help Desk ***

If you report an error when running one of the TeX-related binaries
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.

Please run your example with
(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.

Don't forget to also include minimal examples of other files that are
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.minimalbeispiel.de/mini-en.html (english)

or

http://www.minimalbeispiel.de/mini.html (german)

##################################
minimal input file


##################################
other files

######################################
List of ls-R files

-rw-r--r-- 1 root root 4243 2024-02-21 14:57:26 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 2022-10-12 23:25:33 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 2024-02-14 15:08:19 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 2024-02-14 15:08:19 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
######################################
Config files
-rw-r--r-- 1 root root 475 2024-02-21 14:57:26 /etc/texmf/web2c/texmf.cnf
lrwxrwxrwx 1 root root 33 2024-02-14 15:08:19 /usr/share/texmf/web2c/fmtutil.cnf -> /var/lib/texmf/fmtutil.cnf-DEBIAN
lrwxrwxrwx 1 root root 32 2024-02-14 15:08:19 /usr/share/texmf/web2c/updmap.cfg -> /var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 5334 2024-02-21 14:57:26 /var/lib/texmf/tex/generic/config/language.dat
######################################
Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root 283 2014-10-21 02:46:09 mktex.cnf
-rw-r--r-- 1 root root 475 2024-02-21 14:57:26 texmf.cnf
######################################
md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c /etc/texmf/texmf.d/00debian.cnf

-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.11-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages texlive-binaries depends on:
ii libc6 2.37-15
ii libcairo2 1.18.0-1+b1
ii libfontconfig1 2.15.0-1
ii libfreetype6 2.13.2+dfsg-1+b1
ii libgcc-s1 14-20240201-3
ii libgraphite2-3 1.3.14-2
ii libharfbuzz0b 8.3.0-2
ii libicu72 72.1-4+b1
ii libkpathsea6 2023.20230311.66589-8+b1
ii libmpfr6 4.2.1-1
ii libpaper1 1.1.29
ii libpixman-1-0 0.42.2-1
ii libpng16-16 1.6.42-1
ii libpotrace0 1.16-2
ii libptexenc1 2023.20230311.66589-8+b1
ii libstdc++6 14-20240201-3
ii libsynctex2 2023.20230311.66589-8+b1
ii libteckit0 2.5.11+ds1-1+b1
ii libtexlua53-5 2023.20230311.66589-8+b1
ii libx11-6 2:1.8.7-1
ii libxaw7 2:1.0.14-1
ii libxi6 2:1.8.1-1
ii libxmu6 2:1.1.3-3
ii libxpm4 1:3.5.17-1
ii libxt6 1:1.2.1-1.1
ii libzzip-0-13 0.13.72+dfsg.1-1.1+b1
ii perl 5.38.2-3
ii t1utils 1.41-4
ih tex-common 6.18
ii zlib1g 1:1.3.dfsg-3+b1

Versions of packages texlive-binaries recommends:
ii dvisvgm 3.2+ds-1
ii texlive-base 2023.20240207-1

Versions of packages texlive-binaries suggests:
pn hintview <none>
pn texlive-binaries-sse2 <none>

Versions of packages tex-common depends on:
ii ucf 3.0043+nmu1

Versions of packages tex-common suggests:
ii debhelper 13.13

Versions of packages texlive-binaries is related to:
ih tex-common 6.18
ii texlive-base 2023.20240207-1

-- debconf information:
tex-common/check_texmf_wrong:
tex-common/check_texmf_missing:

--
Vincent Lefèvre <vin...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Vincent Lefevre

unread,
Feb 21, 2024, 10:20:05 AMFeb 21
to
Control: reassign -1 luametatex 2.11.01+ds-2
Control: severity -1 grave
Control: affects -1 texlive-binaries

On 2024-02-21 15:46:04 +0100, Vincent Lefevre wrote:
> On 2024-02-21 15:28:17 +0100, Vincent Lefevre wrote:
> > /tmp/mtxrun.gd7J0NKo just contains:
> >
> > lua error : startup file: /bin/mtxrun.lua:2438: attempt to assign to const variable 'i'
> >
> > Note: the tex-common and context (from which /bin/mtxrun.lua comes
> > from) are still old packages, and there were no issues with them
> > in the past. So I assume that the bug has been introduced in
> > /usr/bin/texlua (/bin/mtxrun.lua is a texlua script), which is
> > provided by texlive-binaries.
>
> Or it could be due to luametatex, which appears in /bin/mtxrun.lua
> and has been upgraded:
>
> 2024-02-21 14:47:52 upgrade luametatex:amd64 2.10.08+ds-1+b1 2.11.01+ds-2

Indeed, I can reproduce the problem on another machine, only with
luametatex 2.11.01+ds-2:

qaa:~> mtxrun --generate
lua error : startup file: /bin/mtxrun.lua:2438: attempt to assign to const variable 'i'

You'll see the failure in an upgrade if you upgrade luametatex at the
same time as the TeX Live packages (at least, *not after* TeX Live).

Debian Bug Tracking System

unread,
Feb 21, 2024, 10:20:05 AMFeb 21
to
Processing control commands:

> reassign -1 luametatex 2.11.01+ds-2
Bug #1064402 [texlive-binaries] texlive-binaries: tex-common configure: lua error : startup file: /bin/mtxrun.lua:2438: attempt to assign to const variable 'i'
Bug reassigned from package 'texlive-binaries' to 'luametatex'.
No longer marked as found in versions texlive-bin/2023.20230311.66589-8.
Ignoring request to alter fixed versions of bug #1064402 to the same values previously set
Bug #1064402 [luametatex] texlive-binaries: tex-common configure: lua error : startup file: /bin/mtxrun.lua:2438: attempt to assign to const variable 'i'
Marked as found in versions luametatex/2.11.01+ds-2.
> severity -1 grave
Bug #1064402 [luametatex] texlive-binaries: tex-common configure: lua error : startup file: /bin/mtxrun.lua:2438: attempt to assign to const variable 'i'
Severity set to 'grave' from 'serious'
> affects -1 texlive-binaries
Bug #1064402 [luametatex] texlive-binaries: tex-common configure: lua error : startup file: /bin/mtxrun.lua:2438: attempt to assign to const variable 'i'
Added indication that 1064402 affects texlive-binaries

--
1064402: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064402
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

Debian Bug Tracking System

unread,
Feb 21, 2024, 10:30:04 AMFeb 21
to
Processing control commands:

> retitle -1 luametatex: "mtxrun --generate": lua error : startup file: /bin/mtxrun.lua:2438: attempt to assign to const variable 'i'
Bug #1064402 [luametatex] texlive-binaries: tex-common configure: lua error : startup file: /bin/mtxrun.lua:2438: attempt to assign to const variable 'i'
Changed Bug title to 'luametatex: "mtxrun --generate": lua error : startup file: /bin/mtxrun.lua:2438: attempt to assign to const variable 'i'' from 'texlive-binaries: tex-common configure: lua error : startup file: /bin/mtxrun.lua:2438: attempt to assign to const variable 'i''.

Vincent Lefevre

unread,
Feb 21, 2024, 10:30:04 AMFeb 21
to
Control: retitle -1 luametatex: "mtxrun --generate": lua error : startup file: /bin/mtxrun.lua:2438: attempt to assign to const variable 'i'

More accurate title, as described below.
0 new messages