Running `context` fails with TeX Live 2023: mtxrun | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'

Vítek Novotný witiko at mail.muni.cz
Mon Mar 27 13:00:53 CEST 2023


Dear list,

with a fresh netinstall of TeX Live 2023 from today, running the
`context` command on an example document [1] using two different boxes
with x86_64-linux and armhf-linux binary architectures gives me the
error from the subject of the message. No PDF is produced.

 [1]: https://wiki.contextgarden.net/Detailed_Example

Here is the full output of running `context`:

```
mtxrun          | forcing cache reload
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path '/root/texmf/web2c' from specification 'home:texmf/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path './texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path './texmf-context/web2c' from specification 'selfautoparent:/texmf-context/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path './texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path './texmf/web2c' from specification 'selfautoparent:/texmf/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path '/root/texmf/web2c' from specification 'home:texmf/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path './texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path './texmf-context/web2c' from specification 'selfautoparent:/texmf-context/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path './texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path './texmf/web2c' from specification 'selfautoparent:/texmf/web2c'
resolvers       | resolving |
resolvers       | resolving | warning: no lua configuration files found
resolvers       | resolving | no texmf paths are defined (using TEXMF)
resolvers       | resolving |
mtxrun          | the resolver databases are not present or outdated
resolvers       | resolving | using suffix based filetype 'scripts'
resolvers       | resolving | remembering file 'mtx-context.lua' using hash 'lua::mtx-context.lua'
resolvers       | resolving | using suffix based filetype 'scripts'
resolvers       | resolving | remembering file 'mtx-contexts.lua' using hash 'lua::mtx-contexts.lua'
resolvers       | resolving | remembered file 'mtx-context.lua'
resolvers       | resolving | using suffix based filetype 'scripts'
resolvers       | resolving | remembering file 'mtx-t-mtx-context.lua' using hash 'lua::mtx-t-mtx-context.lua'
resolvers       | resolving | using suffix based filetype 'scripts'
resolvers       | resolving | remembering file 'mtx-t-mtx-contexts.lua' using hash 'lua::mtx-t-mtx-contexts.lua'
resolvers       | resolving | remembered file 'mtx-t-mtx-context.lua'
resolvers       | resolving | remembered file 'mtx-context.lua'
mtxrun          | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'
```

Running `mtxrun --generate` produces the following output:

```
resolvers       | resolving | variable 'SELFAUTOLOC' set to '/usr/bin'
resolvers       | resolving | variable 'SELFAUTODIR' set to '/usr'
resolvers       | resolving | variable 'SELFAUTOPARENT' set to '.'
resolvers       | resolving | variable 'TEXMFCNF' set to ''
resolvers       | resolving | variable 'TEXMF' set to ''
resolvers       | resolving | variable 'TEXOS' set to 'usr'
resolvers       | resolving |
resolvers       | resolving | using configuration specification 'home:texmf/web2c;selfautoparent:/texmf-local/web2c;selfautoparent:/texmf-context/web2c;selfautoparent:/texmf-dist/web2c;selfautoparent:/texmf/web2c'
resolvers       | resolving |
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path '/root/texmf/web2c' from specification 'home:texmf/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path './texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path './texmf-context/web2c' from specification 'selfautoparent:/texmf-context/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path './texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c'
resolvers       | resolving | looking for regular 'texmfcnf.lua' on given path './texmf/web2c' from specification 'selfautoparent:/texmf/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path '/root/texmf/web2c' from specification 'home:texmf/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path './texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path './texmf-context/web2c' from specification 'selfautoparent:/texmf-context/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path './texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c'
resolvers       | resolving | looking for fallback 'contextcnf.lua' on given path './texmf/web2c' from specification 'selfautoparent:/texmf/web2c'
resolvers       | resolving |
resolvers       | resolving | warning: no lua configuration files found
resolvers       | resolving | no texmf paths are defined (using TEXMF)
resolvers       | resolving |
mtxrun          |
mtxrun          | elapsed lua time: 0.067 seconds
```

This issue was originally reported at
https://gitlab.com/islandoftex/images/texlive/-/issues/30.

Best,
Vit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-live/attachments/20230327/d4c6c974/attachment.sig>


More information about the tex-live mailing list.