[tlbuild] TL25 rebuild please

Max Chernoff tex at maxchernoff.ca
Tue Mar 4 14:10:36 CET 2025


Hi Robert,

On Mon, 2025-03-03 at 07:52 +0100, Robert Alessi wrote:
> mtx-context     | error, no format found with name: cont-en, aborting

Huh, that's an error that I haven't seen before. I'm not really sure
what's causing this, so I'll just suggest the general ConTeXt
troubleshooting techniques.

First, make sure that all of the binaries are pointing at the same
things. All of the following should give the same output

    $ realpath $(type -p luametatex)
    $ realpath $(type -p context)
    $ realpath $(type -p mtxrun)

(replace "realpath" with the equivalent BSDism for resolving a symlink)

Then, remove any previously-built format files:

    $ rm -r $(kpsewhich --expand-var='$TEXMFVAR')/{luametatex,luatex}-cache/
    $ doas rm -r $(kpsewhich --expand-var='$TEXMFSYSVAR')/{luametatex,luatex}-cache/

Then generate the base interface files as root (you'll only ever need to
do this once):

    $ doas luatex --luaonly $(kpsewhich --format=texmfscripts mtxrun.lua) --luatex --generate

Then build the interface and format files as a regular user:

    $ mtxrun --generate
    $ mtxrun --luatex --generate
    $ context --make en
    $ context --luatex --make en

Pay close attention to the output of "context --make en"; if the end of
the output doesn't look something like the following:

    mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: bin
    mkiv lua stats  > used engine: luametatex version: 2.11.07, functionality level: 20250226, format id: 717, compiler: gcc
    mkiv lua stats  > tex properties: 938216 hash slots used of 2097152, 51768 control sequences, approximate memory usage: 110 MB
    mkiv lua stats  > lua properties: engine: lua 5.5, format 5, used memory: 68 MB, ctx: 63 MB, max: 85 MB, symbol mask: utf (τεχ)
    resolvers       | formats |
    resolvers       | formats | binary path      : /usr/local/texlive/2025/bin/x86_64-linux
    resolvers       | formats | format path      : /home/max/.texlive2025/texmf-var/luametatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luametatex
    resolvers       | formats | luatex engine    : luametatex
    resolvers       | formats | lua startup file : /usr/local/texlive/2025/texmf-dist/tex/context/base/mkxl/luat-cod.lmt
    resolvers       | formats | context file     : /usr/local/texlive/2025/texmf-dist/tex/context/base/mkxl/cont-en.mkxl
    resolvers       | formats | run time         : 1.268 seconds
    resolvers       | formats | return value     : okay
    resolvers       | formats |
    system          | total runtime: 3.959 seconds of 4.086 seconds

then something probably went wrong. After you've done all of this, you
should be able to run the following without any error:

    $ context --nofile

(you can replace the above command with a simple "hello world" document
if you prefer).

Hopefully all of this fixes the problem, but if not, at least knowing
which step failed should help to narrow it down.

> On Mon, 2025-03-03 at 15:50 -0700, Karl Berry wrote:
>     That said, context --luatex works.
>
> I think that's MkII, which is essentially independent of Mk<newer>.
> Not entirely sure, though.

"texexec" -> MkII
"context --luatex" -> MkIV
"context" -> MkXL/LMTX

(correct otherwise though)

Thanks,
-- Max



More information about the tlbuild mailing list.