<div dir="ltr"><div><br></div><div>I would guess <a href="https://github.com/latex3/latex2e/issues/775">https://github.com/latex3/latex2e/issues/775</a></div><div><br></div><div>David</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 23 Dec 2022 at 19:54, John Collins <<a href="mailto:jcc8@psu.edu">jcc8@psu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I have TeXLive 2022 installed on macOS, but with the Win32 platform added, so <br>
that I can share the installation with a Windows virtual machine.  Lualatex <br>
fails with the following message when it is about to read the source file.  E.g.,<br>
<br>
     C:\Users\john\Documents>lualatex hello<br>
     This is LuaHBTeX, Version 1.15.0 (TeX Live 2022)<br>
      restricted system commands enabled.<br>
     (./hello.tex<br>
     LaTeX2e <2022-11-01> patch level 1<br>
      L3 programming layer <br>
<2022-12-17>...cal/texlive/2022/texmf-dist/tex/latex/l3ke<br>
     rnel/expl3.lua:282: bad bytecode register<br>
     stack traceback:<br>
             [C]: in function 'lua.getbytecode'<br>
             ...cal/texlive/2022/texmf-dist/tex/latex/l3kernel/expl3.lua:282: <br>
in main chunk<br>
<br>
             [C]: in function 'require'<br>
             [\directlua]:1: in main chunk.<br>
     \lua_now:e #1->\__lua_now:n {#1}<br>
<br>
     l.1<br>
       \documentclass{article}<br>
     ?<br>
<br>
In contrast, the problem does not occur for lualatex from a native installation <br>
of TeXLive 2022 on the Windows VM.  But it does occur if I use a portable <br>
installation that has created on a USB stick by the unix installer under macOS. <br>
This is the only problem I have seen in the shared TeXLive installation.<br>
<br>
The corresponding problem also occurs if I use the Win32 lualatex from last <br>
year, i.e., TL 2021, again when the installation was made and maintained under <br>
macOS.  So this is not a new problem.<br>
<br>
In summary, I find that the Win32 binary for lualatex fails when it is in a <br>
TeXLive installation created by the unix installer under macOS, but not when it <br>
is in an installation created by the Windows installer.<br>
<br>
Does anyone have wisdom on this?<br>
<br>
John Collins<br>
</blockquote></div>