Hi Hans,

MkIV appears to be broken in the latest update:

    $ context --luatex --make
    mtx-context     | redirect luametatex -> luatex: luatex --luaonly --socket 
"/opt/context/tex/texmf-linux-64/bin/mtxrun.lua" --script mtx-context --luatex 
--make --redirected
    resolvers       | resolving | configuration files already identified
    [...]
    resolvers       | formats | using tex source file 
'/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-en.mkiv'
    resolvers       | formats | using lua stub file 
'/opt/context/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua'
    resolvers       | formats | changing to format path 
'/home/max/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex'
    resolvers       | formats | executing runner 'make luatex format': 
/opt/context/tex/texmf-linux-64/bin/luatex --ini  --socket --shell-escape 
--lua=/opt/context/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua 
/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-en.mkiv
    This is LuaTeX, Version 1.23.3 (TeX Live 2026/dev)  (INITEX)
    system commands enabled.
    (/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-en.mkiv 
(/opt/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
    [...]
    open source     > level 1, order 223, name 
'/opt/context/tex/texmf-context/tex/context/base/mkiv/trac-vis.mkiv'
    loading         > ConTeXt Tracing Macros / Visualization
    system          > lua > macros expanded in 
'/opt/context/tex/texmf-context/tex/context/base/mkiv/trac-vis.lua' (57242 => 
57298 bytes)
    system          > lua > loading of file 
'/opt/context/tex/texmf-context/tex/context/base/mkiv/trac-vis.lua' failed:
        no message
    resolvers       > lua > loading file 
'/opt/context/tex/texmf-context/tex/context/base/mkiv/trac-vis.lua' failed

    error loading file: trac-vis.lua (aborting)resolvers       | formats |
    resolvers       | formats | binary path      : 
/opt/context/tex/texmf-linux-64/bin
    resolvers       | formats | format path      : 
/home/max/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex
    resolvers       | formats | luatex engine    : luatex
    resolvers       | formats | lua startup file : 
/opt/context/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua
    resolvers       | formats | context file     : 
/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-en.mkiv
    resolvers       | formats | run time         : 0.869 seconds
    resolvers       | formats | return value     : okay
    resolvers       | formats |
    system          | total runtime: 0.948 seconds

Also, the format-making command and compiling a test document both with
an exit code of 0:

    $ context --luatex --nofile
    mtx-context     | redirect luametatex -> luatex: luatex --luaonly --socket 
"/opt/context/tex/texmf-linux-64/bin/mtxrun.lua" --script mtx-context --luatex 
--nofile --redirected
    mtx-context     | warning: source mismatch (luv: 
d8ddafef29a48b9929cb528e68adebac <> bin: 923aa08fc3282b7484978988a87a4c38), 
forcing remake
    [...]
    resolvers       | formats | executing runner 'make luatex format': 
/opt/context/tex/texmf-linux-64/bin/luatex --ini  --socket --shell-escape 
--lua=/opt/context/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua 
/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-en.mkiv
    This is LuaTeX, Version 1.23.3 (TeX Live 2026/dev)  (INITEX)
    [...]
    open source     > level 1, order 223, name 
'/opt/context/tex/texmf-context/tex/context/base/mkiv/trac-vis.mkiv'
    loading         > ConTeXt Tracing Macros / Visualization
    system          > lua > macros expanded in 
'/opt/context/tex/texmf-context/tex/context/base/mkiv/trac-vis.lua' (57242 => 
57298 bytes)
    system          > lua > loading of file 
'/opt/context/tex/texmf-context/tex/context/base/mkiv/trac-vis.lua' failed:
        no message
    resolvers       > lua > loading file 
'/opt/context/tex/texmf-context/tex/context/base/mkiv/trac-vis.lua' failed

    error loading file: trac-vis.lua (aborting)resolvers       | formats |
    resolvers       | formats | binary path      : 
/opt/context/tex/texmf-linux-64/bin
    resolvers       | formats | format path      : 
/home/max/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex
    resolvers       | formats | luatex engine    : luatex
    resolvers       | formats | lua startup file : 
/opt/context/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua
    resolvers       | formats | context file     : 
/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-en.mkiv
    resolvers       | formats | run time         : 0.880 seconds
    resolvers       | formats | return value     : okay
    resolvers       | formats |

    resolvers       | formats | executing runner 'run luatex format': 
/opt/context/tex/texmf-linux-64/bin/luatex --jobname="cont-nop" --socket 
--shell-escape 
--fmt=/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.fmt
 
--lua=/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui
 cont-nop.mkiv --c:currentrun=1 --c:engine="luatex" 
--c:fulljobname="cont-nop.mkiv" --c:input="cont-nop.mkiv" --c:kindofrun=1 
--c:luatex --c:maxnofruns=9 --c:nofile --c:redirected 
--c:texmfbinpath="/opt/context/tex/texmf-linux-64/bin"
    This is LuaTeX, Version 1.23.3 (TeX Live 2026/dev)
    system commands enabled.
    open source     > level 1, order 1, name 
'/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-nop.mkiv'
    system          >
    system          > ConTeXt  ver: 2025.08.13 16:34 MKIV  fmt: 2025.8.15  int: 
english/english
    system          >
    system          > 'cont-new.mkiv' loaded
    open source     > level 2, order 2, name 
'/opt/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'

    Fatal Error     > Your format does not match the base files!

    Format Version  > 2025.08.13 16:34 MKIV
    Files Version   > 2025.08.17 17:57
    [...]
    mkiv lua stats  > lua properties: engine: lua 5.3, used memory: 52 MB, ctx: 
52 MB, max: unknown MB, hash chars: min(64,40), symbol mask: utf (τεχ)
    mkiv lua stats  > runtime: 0.000 seconds
    system          | total runtime: 1.955 seconds

    $ echo $?
    0

which makes it tricky to detect this automatically.

Thanks,
-- Max
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to