Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20657 - app-sci/moldy-2.16e sandbox issue
Summary: app-sci/moldy-2.16e sandbox issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-08 17:54 UTC by James Cloos
Modified: 2003-10-27 02:06 UTC (History)
4 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 James Cloos 2003-05-08 17:54:02 UTC
moldy tries to compile some docs with TeX; these docs use fonts that cause
generation of tfm and pk files in /var/cache/fonts.

That of course fails when sandbox is used.
Comment 1 Gontran Zepeda 2003-05-09 12:18:10 UTC
Works for me.


app-text/tetex-1.0.7-r12


emerge info:

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-xfs_pre6 i686 Intel(R) Celeron(R) CPU 1.80GHz
[ ... ]
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -mcpu=pentium3 -O3 -pipe"
CXXFLAGS="-march=i686 -mcpu=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
FEATURES="ccache sandbox"

Comment 2 James Cloos 2003-05-10 09:59:19 UTC
try it w/o any fonts already in /var/cache/fonts, with tetex-2.0.2.
Comment 3 Mikael A 2003-10-23 01:41:49 UTC
When trying to merge moldy i got a sandbox violation (quoted below). To get
it installed i added a line 'addwrite /var/cache/fonts' to ebuild.sh.
Now the merge went good. Then i removed the addwrite line and remerged moldy.
This time it also went good since the required font was now in cache.

The error isn't really moldys fault ( as far as i can tell ), but that tex
and portage doesn't mix in it's current configuration. It appears as if any
use of any font not already present in the cache will provoke a sandbox violation.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-moldy-2.16e-31819.log"

rename:    /var/cache/fonts/tfm/jknappen/tc/tfm474.tmp
open_wr:   /var/cache/fonts/tfm/jknappen/tc/tfm474.tmp
open_wr:   /var/cache/fonts/source/jknappen/tc/mf647.tmp
unlink:    /var/cache/fonts/source/jknappen/tc/tctt0800.mf
open_wr:   /var/cache/fonts/source/jknappen/tc/mf822.tmp
unlink:    /var/cache/fonts/source/jknappen/tc/tctt1000.mf
--------------------------------------------------------------------------------
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2003-10-24 01:30:29 UTC
Donnie, I don't want to mess with your ebuild, but I think this addwrite
line is just fine.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2003-10-24 12:19:37 UTC
I don't find it optimal that we need to add to the sandbox, but it seems
we can't change the way TeX works.

Patrick, go ahead and mess all you want as long as you don't break it. =)
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2003-10-24 22:06:07 UTC
Already on sci alias, pulling CC.
Comment 7 Patrick Kursawe (RETIRED) gentoo-dev 2003-10-27 02:06:27 UTC
Version with addwrite line is in portage.