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
Wed Mar 29 15:04:57 CEST 2023


Dear Mojca,

it is a regular netinstall of TeX Live as root with default options:

		======================> TeX Live installation procedure <=====================

		======>   Letters/digits in <angle brackets> indicate   <=======
		======>   menu items for actions or customizations      <=======
		= help>   https://tug.org/texlive/doc/install-tl.html   <=======

		Detected platform: GNU/Linux on RPi(32-bit) and ARMv7

		<B> set binary platforms: 1 out of 15

		<S> set installation scheme: scheme-full

		<C> set installation collections:

		40 collections out of 41, disk space required: 7545 MB (free: 692526 MB)

		<D> set directories:

		TEXDIR (the main TeX directory):
		/usr/local/texlive/2023
		TEXMFLOCAL (directory for site-wide local files):
		/usr/local/texlive/texmf-local
		TEXMFSYSVAR (directory for variable and automatically generated data):
		/usr/local/texlive/2023/texmf-var
		TEXMFSYSCONFIG (directory for local config):
		/usr/local/texlive/2023/texmf-config
		TEXMFVAR (personal directory for variable and automatically generated data):
		~/.texlive2023/texmf-var
		TEXMFCONFIG (personal directory for local config):
		~/.texlive2023/texmf-config
		TEXMFHOME (directory for user-specific files):
		~/texmf

		<O> options:
		[ ] use letter size instead of A4 by default
		[X] allow execution of restricted list of programs via \write18
		[X] create all format files
		[X] install macro/font doc tree
		[X] install macro/font source tree
		[X] create symlinks to standard directories
		<V> set up for portable installation

		Actions:

		<I> start installation to hard disk
		<P> save installation profile to 'texlive.profile' and exit
		<Q> quit

The same issue can be easily reproduced with
the texlive/texlive:latest Docker image.

Best,
Vit

On Mon, Mar 27, 2023 at 10:48:41PM +0200, Mojca Miklavec wrote:
> Dear Vit,
> 
> Was this a regular barebone installation of TeX Live?
> 
> What settings did you use to install it? Into what folders did you install?
> Where do you have the executable "luametatex" and where do you have
> the file(s) texmfcnf.lua?
> 
> Admittedly I did not test installation by root, I only tested as a
> single user without any additional permissions.
> I'm aware of one problem with interpreting the top level texmfcnf.lua,
> but let's first clarify how to reproduce this properly.
> 
> Thanks a lot for the report,
>     Mojca
> 
> On Mon, 27 Mar 2023 at 13:01, Vítek Novotný <witiko at mail.muni.cz> wrote:
> >
> > 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/20230329/2379beb6/attachment.sig>


More information about the tex-live mailing list.