Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134673 - Access violation emerging cl-mcclim-0.9.2
Summary: Access violation emerging cl-mcclim-0.9.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-28 11:49 UTC by telesphore4
Modified: 2006-11-28 19:07 UTC (History)
3 users (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 telesphore4 2006-05-28 11:49:38 UTC
>>> 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
--------------------------------------------------------------------------------
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2006-05-29 00:32:09 UTC
app-text people, Is there an established way to deal with these sandbox issues originating from tetex?
Comment 2 Martin Ehmsen (RETIRED) gentoo-dev 2006-05-29 00:50:32 UTC
(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).
Comment 3 David Owen 2006-07-16 16:36:24 UTC
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.
Comment 4 David Owen 2006-07-16 16:56:07 UTC
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."
Comment 5 Matthew Kennedy (RETIRED) gentoo-dev 2006-11-28 19:07:09 UTC
Thanks.  I added addwrite /var/cache/fonts/ to src_compile