Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174506 - x11-wm/ion3 fails building tex documentation in sandbox
Summary: x11-wm/ion3 fails building tex documentation in sandbox
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Matti Bickel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 180495
Blocks:
  Show dependency tree
 
Reported: 2007-04-13 18:43 UTC by Michal Suchanek
Modified: 2012-01-24 22:04 UTC (History)
0 users

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 Michal Suchanek 2007-04-13 18:43:47 UTC
if ion3 is built with documentation it uses tex to build it. tex tries to write font cache which does not work with sandbox. tex requires user input when this error happens.

(/usr/share/texmf/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf/tex/latex/hyperref/nameref.sty) [1]kpathsea: Running mktextfm tcrm1095
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input tcrm1095
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf tcrm1095
ACCESS DENIED  mkdir:     /var/cache/fonts/source/jknappen/tc
mkdir: cannot create directory `/var/cache/fonts/source/jknappen/tc': Permission denied
kpsestat: /var/cache/fonts/source/jknappen/tc/..: No such file or directory
chmod: missing operand after `/var/cache/fonts/source/jknappen/tc'
Try `chmod --help' for more information.

! I can't find file `tcrm1095'.
<*> ...ljfour; mag:=1; nonstopmode; input tcrm1095
                                                  
Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input tcrm1095
                                                  
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input tcrm1095' failed.
kpathsea: Appending font creation commands to missfont.log.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-x11-wm_-_ion3-20070318-12772.log"

mkdir:     /var/cache/fonts/source/jknappen/tc
mkdir:     /var/cache/fonts/source/jknappen/tc
mkdir:     /var/cache/fonts/source/jknappen/tc
mkdir:     /var/cache/fonts/source/jknappen/tc
--------------------------------------------------------------------------------


Reproducible: Always

Steps to Reproduce:
1. emerge ion3 with doc use flad and sandbox feature

It may be necessary to clear the font cache first.
Actual Results:  
fails merge

Expected Results:  
merges

[I] app-text/ptex
     Available versions:  3.1.5-r1 ~3.1.5-r2 ~3.1.8.1_p20050418 ~3.1.10_beta3
     Installed versions:  3.1.5-r1(03:31:14 PM 01/07/2007)(X doc -tk)
     Homepage:            http://www.ascii.co.jp/pb/ptex/ http://www.misojiro.t.u-tokyo.ac.jp/~tutimura/ptetex3/0README http://www.fsci.fuk.kindai.ac.jp/aftp/pub/ptex/utils/
     Description:         The ASCII publishing TeX distribution

[I] dev-tex/chktex
     Available versions:  1.5-r2 1.5-r3 1.6.2 ~1.6.3 ~1.6.3-r1
     Installed versions:  1.6.2(11:57:57 AM 03/22/2006)(debug)
     Homepage:            http://baruch.ev-en.org/proj/chktex/
     Description:         Checks latex source for common mistakes

Portage 2.1.2.2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 12 Apr 2007 10:30:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks maketest metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en cs cz ja jp"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility aim alsa amr apache2 berkdb bluetooth browserplugin bzip2 cairo canna caps crypt cups debug dga djvu dlloader dmx doc dri dts dvd dvi enca encode examples fbcon ffmpeg firefox flac foomaticdb fpx gif gimpprint glitz glut gnutls gpm gs gtk hardened iconv icq icu ipv6 irc jabber java jbig jpeg jpeg2k kerberos krb4 lcms ldap libclamav matroska midi mmx mng mono mozdevelop mozilla mp3 mpeg msn nas ncurses nls nodrm nptl nptlonly nsplugin offensive ogg opengl pam pic png ppds readline rle ruby samba sasl speex spell sse ssl svg tcpd test theora threads tiff truetype truetype-fonts udev unicode usb vcd vorbis win32codecs wmf x264 x86 xml xml2 xorg xosd xv zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard kbd joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs cz ja jp" USERLAND="GNU" VIDEO_CARDS="mga radeon ati"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2007-06-06 12:19:13 UTC
I'm looking into it. Hasn't happened to me, but that maybe due to my fonts-cache, as you mention.
Comment 2 Alexis Ballier gentoo-dev 2007-12-03 17:53:13 UTC
just add:
export VARTEXFONTS="${T}/fonts"

before calling any tex related stuff.
Comment 3 Matti Bickel (RETIRED) gentoo-dev 2012-01-24 22:04:00 UTC
the ebuild doesn't exist anymore, so nothing to fix.