Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652014 - dev-haskell/lhs2tex Please set VARTEXFONTS=${T}/fonts to prevent sandbox violations
Summary: dev-haskell/lhs2tex Please set VARTEXFONTS=${T}/fonts to prevent sandbox viol...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: vartexfonts
  Show dependency tree
 
Reported: 2018-03-30 17:44 UTC by Jonas Stein
Modified: 2018-03-30 18:31 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 Jonas Stein gentoo-dev 2018-03-30 17:44:32 UTC
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]"
Comment 1 Sergei Trofimovich gentoo-dev 2018-03-30 18:31:26 UTC
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?