>>> Emerging (3 of 3) dev-lisp/cl-mcclim-0.9.2 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking mcclim-0.9.2.tar.gz ;-) >>> Unpacking source... >>> Unpacking mcclim-0.9.2.tar.gz to /var/tmp/portage/cl-mcclim-0.9.2/work * Applying 0.9.2-mcclim.asd-cmucl.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/cl-mcclim-0.9.2/work/mcclim-0.9.2 ... make: Entering directory `/var/tmp/portage/cl-mcclim-0.9.2/work/mcclim-0.9.2/Doc' fig2dev -Lpstex -m 0.75 native.fig native.pstex fig2dev -Lpstex_t -m 0.75 -p native.pstex native.fig native.pstex_t latex manual.tex This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5) entering extended mode (./manual.tex LaTeX2e <2003/12/01> Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (/usr/share/texmf/tex/latex/base/book.cls Document Class: book 2004/02/16 v1.4f Standard LaTeX document class (/usr/share/texmf/tex/latex/base/bk10.clo)) (/usr/share/texmf/tex/latex/base/fontenc.sty (/usr/share/texmf/tex/latex/base/t1enc.def)) (/usr/share/texmf/tex/latex/base/inputenc.sty (/usr/share/texmf/tex/latex/base/latin1.def)) (/usr/share/texmf/tex/latex/graphics/color.sty (/usr/share/texmf/tex/latex/graphics/color.cfg) (/usr/share/texmf/tex/latex/graphics/dvips.def) (/usr/share/texmf/tex/latex/graphics/dvipsnam.def)) (/usr/share/texmf/tex/latex/graphics/epsfig.sty (/usr/share/texmf/tex/latex/graphics/graphicx.sty (/usr/share/texmf/tex/latex/graphics/keyval.sty) (/usr/share/texmf/tex/latex/graphics/graphics.sty (/usr/share/texmf/tex/latex/graphics/trig.sty) (/usr/share/texmf/tex/latex/graphics/graphics.cfg)))) (/usr/share/texmf/tex/latex/base/alltt.sty) (/usr/share/texmf/tex/latex/moreverb/moreverb.sty (/usr/share/texmf/tex/latex/tools/verbatim.sty)) (./spec-macros.tex) No file manual.aux. [1]kpathsea: Running mktextfm ecsl1000 mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecsl1000 This is METAFONT, Version 2.71828 (Web2C 7.5.5) kpathsea: Running mktexmf ecsl1000 ACCESS DENIED open_wr: /var/cache/fonts/source/jknappen/ec/mf20304.tmp /usr/bin/mktexmf: line 92: mf20304.tmp: Permission denied chmod: cannot access `mf20304.tmp': No such file or directory ACCESS DENIED unlink: /var/cache/fonts/source/jknappen/ec/ecsl1000.mf rm: cannot remove `ecsl1000.mf': Permission denied mv: cannot stat `mf20304.tmp': No such file or directory mktexmf: /var/cache/fonts/source/jknappen/ec/ecsl1000.mf: successfully generated. /var/lib/texmf/web2c/mktexupd: /var/cache/fonts/source/jknappen/ec/ecsl1000.mf not a file. warning: kpathsea: mktexmf output `/var/cache/fonts/source/jknappen/ec/ecsl1000.mf' instead of a filename. ! I can't find file `ecsl1000'. <*> ...ljfour; mag:=1; nonstopmode; input ecsl1000 Please type another input file name ! Emergency stop. [snip] >>> Source compiled. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-dev-lisp_-_cl-mcclim-0.9.2-20142.log" open_wr: /var/cache/fonts/source/jknappen/ec/mf20304.tmp unlink: /var/cache/fonts/source/jknappen/ec/ecsl1000.mf open_wr: /var/cache/fonts/source/jknappen/ec/mf20494.tmp unlink: /var/cache/fonts/source/jknappen/ec/ecit1000.mf --------------------------------------------------------------------------------
app-text people, Is there an established way to deal with these sandbox issues originating from tetex?
(In reply to comment #1) > app-text people, Is there an established way to deal with these sandbox issues > originating from tetex? There are two ways, one better than the other: 1) The preferable way is to add --no-mktex=tfm to any call to latex (or any other *tex variant). This prevents the fonts to get created in /var/cache/fonts/ 2) The other way is to add "addwrite /var/cache/fonts/" to your ebuild to work around the sandbox. This is imho almost just as good as 1). I know one is not supposed to created holes in the sandbox, but in these cases it is just for creating fonts the user later on will be happy already has been created (or never notice if the user does not use that particular font).
Until the ebuild is fixed, the following steps will allow you to work around the issue and successfully emerge. 1. Create a temp directory (eg ~/tmp) 2. cd ~/tmp 3. tar -xvf /usr/portage/distfiles/mcclim-0.9.2.tar.gz 4. cd mcclim-0.9.2/Doc 5. make This will process all needed fonts. You may now delete your temp directory. You can now emerge cl-mcclim.
P.S. The work-around doesn't have to be done as root. Doing it under my normal user account worked fine. "Don't abuse root."
Thanks. I added addwrite /var/cache/fonts/ to src_compile