Emerge of texlive-basic in a new chroot build from stage3-i686-20090804.tar.bz2. Fails with sandbox deny mktextfm from creating /var/cache/fonts/tfm. /var/cache/fonts/ is empty. Have gotten this error 2 times out of 2. In chroots based on stage3-i686-20090804 and stage3-i686-20090623. Running texmf-update does not solve the problem. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- VERSION 1.0 F: mkdir S: deny P: ././var/cache/fonts/tfm A: /var/cache/fonts/tfm R: /var/cache/fonts/tfm C: mkdir ././var/cache/fonts/tfm -------------------------------------------------------------------------------- Relevant Buildlog. * Building format texmf/fmtutil/format.tex.cnf fmtutil: running `tex -ini -jobname=tex -progname=tex tex.ini' ... This is TeX, Version 3.1415926 (Web2C 7.5.7) (INITEX) (/var/tmp/portage/dev-texlive/texlive-basic-2008/work/texmf-dist/tex/plain/conf ig/tex.ini (/var/tmp/portage/dev-texlive/texlive-basic-2008/work/texmf-dist/tex/plain/base /plain.tex Preloading the plain format: codes, registers, parameters, fonts, kpathsea: Running mktextfm cmr10 /usr/share/texmf/web2c/mktexnam: Could not map source abbreviation for cmr10. /usr/share/texmf/web2c/mktexnam: Need to update ? ACCESS DENIED mkdir: /var/cache/fonts/tfm mkdir: cannot create directory `././var/cache/fonts/tfm': Permission denied mktextfm: mktexdir /var/cache/fonts/tfm/unknown/unknown failed. Running FEATURES="-sandbox" gives another error but still when creating the cmr10 font * Building format texmf/fmtutil/format.tex.cnf fmtutil: running `tex -ini -jobname=tex -progname=tex tex.ini' ... This is TeX, Version 3.1415926 (Web2C 7.5.7) (INITEX) (/var/tmp/portage/dev-texlive/texlive-basic-2008-r1/work/texmf-dist/tex/plain/c onfig/tex.ini (/var/tmp/portage/dev-texlive/texlive-basic-2008-r1/work/texmf-dist/tex/plain/b ase/plain.tex Preloading the plain format: codes, registers, parameters, fonts, kpathsea: Running mktextfm cmr10 /usr/share/texmf/web2c/mktexnam: Could not map source abbreviation for cmr10. /usr/share/texmf/web2c/mktexnam: Need to update ? mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cmr10 This is METAFONT, Version 2.718281 (Web2C 7.5.7) kpathsea: Running mktexmf cmr10 ! I can't find file `cmr10'. <*> ...e:=ljfour; mag:=1; nonstopmode; input cmr10 Please type another input file name ! Emergency stop. <*> ...e:=ljfour; mag:=1; nonstopmode; input cmr10 Transcript written on mfput.log. grep: cmr10.log: No such file or directory mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cmr10' failed to make cmr10.tfm. kpathsea: Appending font creation commands to missfont.log. ! Font \tenrm=cmr10 not loadable: Metric (TFM) file not found. <to be read again> \font l.401 \font \preloaded=cmr9 ? ! Emergency stop. <to be read again> \font l.401 \font \preloaded=cmr9 No pages of output. Transcript written on tex.log. Error: `tex -ini -jobname=tex -progname=tex tex.ini' failed Reproducible: Always Steps to Reproduce: 1. Create chroot based on stage3-i686-20090804.tar.bz2 or stage3-i686-20090623.tar.bz2 2. emerge --update --deep --newuse --emptytree world 3. emerge dev-texlive/texlive-basic Actual Results: Fails with sandbox ACCESS VIOLATION when emerging dev-texlive/texlive-basic-2008 Expected Results: Emerging dev-texlive/texlive-basic should not give a sandbox ACCESS VIOLATION # emerge --info Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.31-rc5 i686) ================================================================= System uname: Linux-2.6.31-rc5-i686-Intel-R-_Pentium-R-_M_processor_1.70GHz-with-glibc2.0 Timestamp of tree: Sun, 09 Aug 2009 06:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.4-r3 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.klid.dk/ftp/gentoo/" LANG="en_US.UTF-8@euro" LDFLAGS="-Wl,-O1" LINGUAS="en" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_PCM_PLUGINS="dmix" APACHE2_MODULES="authz_host dir mime auth_basic alias include negotiation" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
This may or may not be a duplicate of bug 262177 and others. Thanks for reporting :
I've just committed a change to the eclass that may fix that bug. At least you shouldn't see sandbox violations anymore. Could you please sync in a couple of hours and reopen if it doesn't fix your problem?
(In reply to comment #2) > I've just committed a change to the eclass that may fix that bug. At least you > shouldn't see sandbox violations anymore. Could you please sync in a couple of > hours and reopen if it doesn't fix your problem? > Ok version 1.23 texlive-module.eclass fixes the ACCESS VIOLATION, but still fails with the cmr10 font generation, but this error is described in bug 262177 as mentioned in comment #1, I will add a comment there. I will test for more access violation again when the problem in bug 262177 is fixed for real.