Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 82315

Summary: jadetex-3.13 fails to emerge with sandbox violations
Product: Gentoo Linux Reporter: gna <gnagent2>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description gna 2005-02-17 00:25:17 UTC
when I emerge jadetex-3.13 I get sandbox violations. The same error occurs on an Athlon-XP system and a Pentium 3 system

Reproducible: Always
Steps to Reproduce:
1. emerge jadetex
2.
3.

Actual Results:  
>>> emerge (17 of 18) app-text/jadetex-3.13 to /
>>> md5 src_uri ;-) jadetex-3.13.tar.gz
>>> Unpacking source...
>>> Unpacking jadetex-3.13.tar.gz to /var/tmp/portage/jadetex-3.13/work
>>> Source unpacked.
tex jadetex.ins
This is TeX, Version 3.14159 (Web2C 7.4.5)
kpathsea: Running mktexfmt tex.fmt
running `tex -ini   -jobname=tex -progname=tex bplain.ini' ...
This is TeX, Version 3.14159 (Web2C 7.4.5) (INITEX)
(/usr/share/texmf/tex/plain/config/bplain.ini
(/usr/share/texmf/tex/generic/babel/bplain.tex
(/usr/share/texmf/tex/plain/base/plain.tex Preloading the plain format: codes,
registers, parameters, fonts, more fonts, macros, math definitions,
output routines, hyphenation (/usr/share/texmf/tex/generic/babel/hyphen.cfg
(/usr/share/texmf/tex/generic/babel/plain.def)
(/usr/share/texmf/tex/generic/hyphen/hyphen.tex)
(/usr/share/texmf/tex/generic/hyphen/frhyph.tex
frhyph.tex - French hyphenation patterns (V2.11) <2002/01/16>)
(/usr/share/texmf/tex/generic/hyphen/dehypht.tex
German Traditional Hyphenation Patterns `dehypht' Version 3.2a <1999/03/03>
(Formerly known under the name `ghyph31' and `ghyphen'.))
(/usr/share/texmf/tex/generic/hyphen/dehyphn.tex
New German Hyphenation Patterns `dehyphn' Rev.31 <2001-05-07> (WaS))
(/usr/share/texmf/tex/generic/hyphen/zerohyph.tex)))) )
Beginning to dump on file tex.fmt
 (format=tex 2005.2.17)
2106 strings of total length 29804
6714 memory locations dumped; current usage is 110&6093
1010 multiletter control sequences
\font\nullfont=nullfont
\font\tenrm=cmr10
\font\preloaded=cmr9
\font\preloaded=cmr8
\font\sevenrm=cmr7
\font\preloaded=cmr6
\font\fiverm=cmr5
\font\teni=cmmi10
\font\preloaded=cmmi9
\font\preloaded=cmmi8
\font\seveni=cmmi7
\font\preloaded=cmmi6
\font\fivei=cmmi5
\font\tensy=cmsy10
\font\preloaded=cmsy9
\font\preloaded=cmsy8
\font\sevensy=cmsy7
\font\preloaded=cmsy6
\font\fivesy=cmsy5
\font\tenex=cmex10
\font\preloaded=cmss10
\font\preloaded=cmssq8
\font\preloaded=cmssi10
\font\preloaded=cmssqi8
\font\tenbf=cmbx10
\font\preloaded=cmbx9
\font\preloaded=cmbx8
\font\sevenbf=cmbx7
\font\preloaded=cmbx6
\font\fivebf=cmbx5
\font\tentt=cmtt10
\font\preloaded=cmtt9
\font\preloaded=cmtt8
\font\preloaded=cmsltt10
\font\tensl=cmsl10
\font\preloaded=cmsl9
\font\preloaded=cmsl8
\font\tenit=cmti10
\font\preloaded=cmti9
\font\preloaded=cmti8
\font\preloaded=cmti7
\font\preloaded=cmu10
\font\preloaded=cmmib10
\font\preloaded=cmbsy10
\font\preloaded=cmcsc10
\font\preloaded=cmssbx10
\font\preloaded=cmdunh10
\font\preloaded=cmr7 at 14.51799pt
\font\preloaded=cmtt10 at 14.4pt
\font\preloaded=cmssbx10 at 14.4pt
\font\preloaded=manfnt
14787 words of font info for 50 preloaded fonts
14 hyphenation exceptions
Hyphenation trie of length 23210 has 711 ops out of 35111
  235 for language 3
  207 for language 2
  88 for language 1
  181 for language 0
No pages of output.
Transcript written on tex.log.
ACCESS DENIED  unlink:    /usr/share/texmf/web2c/tex.log
rm: cannot remove `/usr/share/texmf/web2c/tex.log': Permission denied
ACCESS DENIED  rename:    /usr/share/texmf/web2c/tex.log
mv: cannot move `tex.log' to `/usr/share/texmf/web2c/tex.log': Permission denied
ACCESS DENIED  unlink:    /usr/share/texmf/web2c/tex.fmt
rm: cannot remove `/usr/share/texmf/web2c/tex.fmt': Permission denied
ACCESS DENIED  rename:    /usr/share/texmf/web2c/tex.fmt
mv: cannot move `tex.fmt' to `/usr/share/texmf/web2c/tex.fmt': Permission denied
/usr/share/texmf/web2c/mktexupd: /usr/share/texmf/web2c/tex.fmt not a file.
I can't find the format file `tex.fmt'!
make: *** [basic] Error 1

!!! ERROR: app-text/jadetex-3.13 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-app-text_-_jadetex-3.13-15348.log"

unlink:    /usr/share/texmf/web2c/tex.log
rename:    /usr/share/texmf/web2c/tex.log
unlink:    /usr/share/texmf/web2c/tex.fmt
rename:    /usr/share/texmf/web2c/tex.fmt
--------------------------------------------------------------------------------


Expected Results:  
completed emerge

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  9 2005, 14:23:29)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://www.zentek-international.com/mirrors/gentoo/
http://mirror.gentoo.gr.jp ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://tux.localdomain/gentoo-portage"
USE="3dnow X acl acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo bzlib
cdr cjk crypt cups curl doc dvd dvdr encode esd ethereal f77 fam fbcon flac
font-server foomaticdb fortran freetype gdbm gif glade gmp gnome gpg gphoto2 gpm
gstreamer gtk gtk2 gtkhtml guile hal imagemagick imap imlib innodb ipv6 jabber
java jpeg junit kde ldap libg++ libwww mad maildir mikmod mmx motif mozilla mpeg
ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png postgres ppds
python qt quicktime radeon readline samba scanner sdl slang speedo spell sse ssl
svgatcltk tcpd tetex tiff truetype truetype-fonts type1 type1-fonts unicode usb
videos x86 xml xml2 xmms xv yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Warren Spain 2005-02-17 01:27:26 UTC
there is a work around to make this work.  follow these instructions and jadetex will emerge as expected (developers, please take note of this!)

(instructions pulled from bug 81866)

Tidus ~ # cd /usr/share/texmf/web2c
Tidus web2c # tex
This is TeX, Version 3.14159 (Web2C 7.4.5)

(at the "**" prompt, type test)
<output reduced to improve readability>
<hit ctrl+C until you get a "?", then type quit at the "?")

Tidus web2c # latex
This is TeX, Version 3.14159 (Web2C 7.4.5)

(at the "**" prompt, type test)
<output reduced to improve readability>
<hit ctrl+C until you get a "?", then type quit at the "?")

Tidus web2c # mf
This is METAFONT, Version 2.7182 (Web2C 7.4.5)

(at the "**" prompt, type test)
<output reduced to improve readability>
<hit ctrl+C until you get a "?", then type quit at the "?")

Tidus web2c # pdflatex
This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5)

(at the "**" prompt, type test)
<output reduced to improve readability>
<hit ctrl+C until you get a "?", then type quit at the "?")


This generates the log files that the jadetex installer needs to function.  hope this helps.
Comment 2 gna 2005-02-17 02:42:58 UTC
thanks Warren. 

Your work around worked exactly as described. 
After following the instructions (which are very well written) 
emerge --oneshot jadetex was successful.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-17 03:41:36 UTC

*** This bug has been marked as a duplicate of 81662 ***