More .tex files will need to invoke lualatex instead of pdflatex to produce the pdf output. An example is biblatex.tex from dev-tex/biblatex. Users have reported this in different contexts as well: - https://forums.gentoo.org/viewtopic-t-1172892.html?sid=a07819efe67e1564f1f3160d624084b4 - https://bugs.gentoo.org/680938#c4 In https://github.com/gentoo/gentoo/pull/40664 we have a PR that switches our build tooling to invoke lualatex for biblatex.tex. However, this triggers the sandbox violation or, if invoked with TEXMFCAACHE=$T fails with "...are/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua:301: system : no writeable cache path, quiting". There seems to be a related thread about this at https://tug.org/pipermail/tex-live/2024-February/050116.html This situation needs more investigation and I am also going to reach out to upstream about it.
Relevant code path: https://github.com/latex3/luaotfload/blob/72561365e3de47c138418af7d11ab335683ff7f0/src/fontloader/runtime/fontloader-basics-gen.lua#L200-L256 Not directly our issue but potentially relevant: https://github.com/latex3/luaotfload/issues/164
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfabc04a8241583e29634e447f831ef15bad6459 commit cfabc04a8241583e29634e447f831ef15bad6459 Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2025-02-20 08:41:33 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2025-02-25 16:35:58 +0000 latex-package.eclass: introduce LATEX_ENGINE variable Closes: https://bugs.gentoo.org/950021 Signed-off-by: Florian Schmaus <flow@gentoo.org> eclass/latex-package.eclass | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)