Please set VARTEXFONTS=${T}/fonts to prevent sandbox violations "[here a .pdf file is installed using dodoc, and hence will be bzip2ed - not a goog idea]"
I have a few clarifying questions. This is the ebuild I we are talking about: https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-haskell/lhs2tex/lhs2tex-1.19-r1.ebuild > Please set VARTEXFONTS=${T}/fonts to prevent sandbox violations I glanced at tracker ticket and got lost. Which tool reads VARTEXFONTS variable and has a chance to? > "[here a .pdf file is installed using dodoc, and hence will be bzip2ed - not a goog idea]" dodoc is not used in the ebuild. I guess it's about optional support of package managers being able to compress /usr/share/doc as defined in: https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-14000012.3.11 Why it's a problem in theory and in practice? emerge does not compress .pdfs for me (I believe it's a default) $ emerge --info | fgrep -i compress PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" If I compress .pdf into .pdf.gz okular opens file just fine. If it's a problem should we have a QA check in emerge to complain about such condition?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c5ca5dec763541eb3748c5f3c3bd8657479257c commit 6c5ca5dec763541eb3748c5f3c3bd8657479257c Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-22 22:53:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-22 22:57:24 +0000 profiles: last-rite broken, revdep-less Haskell packages As discussed in #gentoo-haskell. More items are likely to be added to this mask, like we've done with Python packages in the past. Bug: https://bugs.gentoo.org/830336 Bug: https://bugs.gentoo.org/637278 Bug: https://bugs.gentoo.org/652014 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 13 +++++++++++++ 1 file changed, 13 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c9d5288a2cc5f3de78c9bb2509d24adcf89ac08 commit 1c9d5288a2cc5f3de78c9bb2509d24adcf89ac08 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-08-22 06:56:08 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-08-22 06:56:08 +0000 dev-haskell/lhs2tex: treeclean Closes: https://bugs.gentoo.org/652014 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> dev-haskell/lhs2tex/Manifest | 1 - .../lhs2tex/files/lhs2tex-1.18.1-mandir.patch | 11 ------- dev-haskell/lhs2tex/lhs2tex-1.24.ebuild | 35 ---------------------- dev-haskell/lhs2tex/metadata.xml | 12 -------- profiles/package.mask | 1 - 5 files changed, 60 deletions(-)