• Bug#1064402: texlive-binaries: tex-common configure: lua error : startu

    From Vincent Lefevre@21:1/5 to All on Wed Feb 21 15:40:02 2024
    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 <vincent@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)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Feb 21 16:30:01 2024
    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''.

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Vincent Lefevre@21:1/5 to Vincent Lefevre on Wed Feb 21 16:20:01 2024
    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).

    --
    Vincent Lefèvre <vincent@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)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Feb 21 16:20:01 2024
    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 owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Mar 7 00:10:01 2024
    This is a multi-part message in MIME format...

    Your message dated Wed, 06 Mar 2024 23:04:54 +0000
    with message-id <E1ri0Ji-00AVy1-MI@fasolo.debian.org>
    and subject line Bug#1064402: fixed in luametatex 2.11.01+really2.10.08+ds-1 has caused the Debian Bug report #1064402,
    regarding luametatex: "mtxrun --generate": lua error : startup file: /bin/mtxrun.lua:2438: attempt to assign to const variable 'i'
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


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

    Received: (at submit) by bugs.debian.org; 21 Feb 2024 14:28:25 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-11.9 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,FOURLA,HAS_PACKAGE,MD5_SHA1_SUM,SPF_HELO_NONE,
    SPF_PASS,T_SCC_BODY_TEXT_LINE,WORD_WITHOUT_VOWELS autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 22; hammy, 150; neutral, 470; spammy,
    0. spammytokens: hammytokens:0.000-+--sk:taint_o, 0.000-+--sk:TAINT_O,
    0.000-+--trixie, 0.000-+--sk:taint_u, 0.000-+--sk:TAINT_U
    Return-path: <vincent@vinc17.net>
    Received: from joooj.vinc17.net ([155.133.131.76]:46134)
    by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
    (Exim 4.94.2)
    (