Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950021 - dev-texlive/texlive-latex: lualatex causes sandbox violation (ACCESS DENIED: fopen_wr: /var/lib/texmf/m_t_x_t_e_s_t.tmp) when invoked as part of the build process
Summary: dev-texlive/texlive-latex: lualatex causes sandbox violation (ACCESS DENIED: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-21 07:37 UTC by Florian Schmaus
Modified: 2025-02-25 16:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schmaus gentoo-dev 2025-02-21 07:37:42 UTC
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.
Comment 2 Larry the Git Cow gentoo-dev 2025-02-25 16:36:42 UTC
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(-)