Created attachment 627666 [details] build.log emerge media-gfx/gimp fails with a multitude of sandbox errors of the following form: ACCESS DENIED: mkostemp: /usr/share/texmf-dist/fonts/opentype/.uuid.TMP-XXXXXX Seems superficially like the same issue as in bugs 698526, 705502, but with TeXlive packages. Something else might also be going on, since the build log output seems garbled at the end (and varies from build to build). Most likely culprits on my system as given by equery, if this is just about the fonts: $ equery b /usr/share/texmf-dist/fonts/ * Searching for /usr/share/texmf-dist/fonts/ ... app-text/dvipsk-5.999_p20190410 (/usr/share/texmf-dist/fonts) app-text/texlive-core-2019-r10 (/usr/share/texmf-dist/fonts) app-text/ttf2pk2-2.0_p20190410 (/usr/share/texmf-dist/fonts) dev-texlive/texlive-basic-2019-r1 (/usr/share/texmf-dist/fonts) dev-texlive/texlive-fontsextra-2019 (/usr/share/texmf-dist/fonts) dev-texlive/texlive-fontsrecommended-2019 (/usr/share/texmf-dist/fonts) dev-texlive/texlive-fontutils-2019 (/usr/share/texmf-dist/fonts) dev-texlive/texlive-formatsextra-2019 (/usr/share/texmf-dist/fonts) dev-texlive/texlive-langcjk-2019 (/usr/share/texmf-dist/fonts) dev-texlive/texlive-langeuropean-2019 (/usr/share/texmf-dist/fonts) dev-texlive/texlive-latex-2019 (/usr/share/texmf-dist/fonts) dev-texlive/texlive-latexextra-2019-r2 (/usr/share/texmf-dist/fonts) dev-texlive/texlive-latexrecommended-2019-r2 (/usr/share/texmf-dist/fonts) dev-texlive/texlive-mathscience-2019 (/usr/share/texmf-dist/fonts) dev-texlive/texlive-pictures-2019 (/usr/share/texmf-dist/fonts) dev-texlive/texlive-plaingeneric-2019 (/usr/share/texmf-dist/fonts) dev-texlive/texlive-publishers-2019 (/usr/share/texmf-dist/fonts) dev-texlive/texlive-xetex-2019 (/usr/share/texmf-dist/fonts)
Created attachment 627668 [details] emerge --info
(In reply to Matti Eskelinen from comment #0) > Created attachment 627666 [details] > build.log > > emerge media-gfx/gimp fails with a multitude of sandbox errors of the > following form: > > ACCESS DENIED: mkostemp: > /usr/share/texmf-dist/fonts/opentype/.uuid.TMP-XXXXXX > > Seems superficially like the same issue as in bugs 698526, 705502, but with > TeXlive packages. Something else might also be going on, since the build log > output seems garbled at the end (and varies from build to build). > > Most likely culprits on my system as given by equery, if this is just about > the fonts: > > $ equery b /usr/share/texmf-dist/fonts/ > > * Searching for /usr/share/texmf-dist/fonts/ ... > app-text/dvipsk-5.999_p20190410 (/usr/share/texmf-dist/fonts) > app-text/texlive-core-2019-r10 (/usr/share/texmf-dist/fonts) > app-text/ttf2pk2-2.0_p20190410 (/usr/share/texmf-dist/fonts) > dev-texlive/texlive-basic-2019-r1 (/usr/share/texmf-dist/fonts) > dev-texlive/texlive-fontsextra-2019 (/usr/share/texmf-dist/fonts) > dev-texlive/texlive-fontsrecommended-2019 (/usr/share/texmf-dist/fonts) > dev-texlive/texlive-fontutils-2019 (/usr/share/texmf-dist/fonts) > dev-texlive/texlive-formatsextra-2019 (/usr/share/texmf-dist/fonts) > dev-texlive/texlive-langcjk-2019 (/usr/share/texmf-dist/fonts) > dev-texlive/texlive-langeuropean-2019 (/usr/share/texmf-dist/fonts) > dev-texlive/texlive-latex-2019 (/usr/share/texmf-dist/fonts) > dev-texlive/texlive-latexextra-2019-r2 (/usr/share/texmf-dist/fonts) > dev-texlive/texlive-latexrecommended-2019-r2 (/usr/share/texmf-dist/fonts) > dev-texlive/texlive-mathscience-2019 (/usr/share/texmf-dist/fonts) > dev-texlive/texlive-pictures-2019 (/usr/share/texmf-dist/fonts) > dev-texlive/texlive-plaingeneric-2019 (/usr/share/texmf-dist/fonts) > dev-texlive/texlive-publishers-2019 (/usr/share/texmf-dist/fonts) > dev-texlive/texlive-xetex-2019 (/usr/share/texmf-dist/fonts) Could you provide the equery info for usr/share/texmf-dist/fonts/opentype/ directory to narrow down search?
Here: $ equery b /usr/share/texmf-dist/fonts/opentype * Searching for /usr/share/texmf-dist/fonts/opentype ... dev-texlive/texlive-fontsextra-2019 (/usr/share/texmf-dist/fonts/opentype) dev-texlive/texlive-fontsrecommended-2019 (/usr/share/texmf-dist/fonts/opentype) dev-texlive/texlive-publishers-2019 (/usr/share/texmf-dist/fonts/opentype) dev-texlive/texlive-xetex-2019 (/usr/share/texmf-dist/fonts/opentype)
Your installation is somehow broken. From the build log it is seen that sandbox maligns each and every opentype/freetype fonts that are installed by texlive. Those fonts location in turn are managed by a fontconfig file provided by the dev-texlive/texlive-xetex (well, because only xetex/xelatex has direct access to the ot/tt fonts while the rest of latex is just type1 fonts).
(In reply to Mikle Kolyada from comment #4) > Your installation is somehow broken. > > From the build log it is seen that sandbox maligns each and every > opentype/freetype fonts that are installed by texlive. > > Those fonts location in turn are managed by a fontconfig file provided by > the dev-texlive/texlive-xetex (well, because only xetex/xelatex has direct > access to the ot/tt fonts while the rest of latex is just type1 fonts). Just commenting to say that re-merging texlive-xetex seems to have indeed fixed the issue for me. No idea what could've broken the fontconfig file between this and the last time I installed gimp though.