<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>81703</bug_id>
          
          <creation_ts>2005-02-12 02:01 0000</creation_ts>
          <short_desc>tetex-3.0-r1 emerge: Access violation</short_desc>
          <delta_ts>2005-02-12 16:37:38 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P4</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mail@peter-thomassen.de</reporter>
          <assigned_to>text-markup@gentoo.org</assigned_to>
          <cc>benja81@gmx.net</cc>

      

      
          <long_desc isprivate="0">
            <who>mail@peter-thomassen.de</who>
            <bug_when>2005-02-12 02:01:37 0000</bug_when>
            <thetext>When I try to emerge tetex-3.0-r1, emerge outputs the following:

...
gzipping GNU info page: kpathsea.info
gzipping GNU info page: web2c.info
gzipping GNU info page: dvips.info
gzipping GNU info page: latex.info
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
strip: i686-pc-linux-gnu-strip --strip-unneeded
   usr/bin/kpsewhich
   usr/bin/kpsestat
   usr/bin/kpseaccess
   usr/bin/kpsereadlink
   usr/bin/etex
   usr/bin/omega
   usr/bin/otp2ocp
   usr/bin/outocp
   usr/bin/omfonts
   usr/bin/aleph
   usr/bin/pdfetex
   usr/bin/pdfxtex
   usr/bin/tex
   usr/bin/mf
   usr/bin/mf-nowin
   usr/bin/mpost
   usr/bin/newer
   usr/bin/dmp
   usr/bin/mpto
   usr/bin/bibtex
   usr/bin/ctangle
   usr/bin/ctie
   usr/bin/cweave
   usr/bin/dvicopy
   usr/bin/dvitomp
   usr/bin/dvitype
   usr/bin/gftodvi
   usr/bin/gftopk
   usr/bin/gftype
   usr/bin/mft
   usr/bin/odvicopy
   usr/bin/odvitype
   usr/bin/otangle
   usr/bin/patgen
   usr/bin/pktogf
   usr/bin/pktype
   usr/bin/pltotf
   usr/bin/pooltype
   usr/bin/tangle
   usr/bin/tftopl
   usr/bin/tie
   usr/bin/ttf2afm
   usr/bin/vftovp
   usr/bin/vptovf
   usr/bin/weave
   usr/bin/dvilj
   usr/bin/dvilj2p
   usr/bin/dvilj4
   usr/bin/dvilj4l
   usr/bin/dvipdfm
   usr/bin/ebb
   usr/bin/dvipng
   usr/bin/afm2tfm
   usr/bin/dvips
   usr/bin/gsftopk
   usr/bin/makeindex
   usr/bin/pfb2pfa
   usr/bin/mag
   usr/bin/pk2bm
   usr/bin/ps2pk
   usr/bin/xdvi-motif.bin
&gt;&gt;&gt; Completed installing tetex-3.0-r1 into /var/tmp/portage/tetex-3.0-r1/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = &quot;/tmp/sandbox-app-text_-_tetex-3.0-r1-9250.log&quot;

mkdir:     /usr/share/lilypond/2.5.2/lsR11960.tmp
open_wr:   /var/lib/texmf/ls-R
mkdir:     /usr/share/lilypond/2.5.2/lsR12576.tmp
open_wr:   /var/lib/texmf/ls-R
--------------------------------------------------------------------------------
tux peter # 



tux peter # emerge info
Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r5 i686)
=================================================================
System uname: 2.6.10-gentoo-r5 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 20:53:54)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.6.3, 1.8.5-r3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -march=athlon-xp -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/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/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -march=athlon-xp -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms&quot;
GENTOO_MIRRORS=&quot;http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 3dnow X alsa apache2 apm arts avi bitmap-fonts cdparanoia cdr crypt cups dba dvd encode f77 fam foomaticdb ftp gd gdbm gif imagemagick imap imlib jabber jpeg kde libg++ libwww mad maildir mikmod mmx mpeg mysql nls nptl oggvorbis opengl pam pdflib php png posix python qt readline sdl slang sqlite sse ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts unicode xml2 xv zlib linguas_de&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2005-02-12 07:26:01 0000</bug_when>
            <thetext>Probablly this is fixed in cvs. (I&apos;m not 100% sure
because it doesn&apos;t happen to me)
Please wait for another hour and try again.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mail@peter-thomassen.de</who>
            <bug_when>2005-02-12 07:36:06 0000</bug_when>
            <thetext>Hm, this only happens with tetex-3.0-r1 (not with tetex-3.0), and AFAIK -r1 doesn&apos;t include any changes from the teTeX CVS. Let&apos;s see.

Are you saying that -r2 will be in Portage in about an hour?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2005-02-12 07:48:58 0000</bug_when>
            <thetext>No. I didn&apos;t increment its revision because it only fixes
build time error. The updated tetex-3.0-r1.ebuild has

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-3.0-r1.ebuild,v 1.2 2005
/02/12 15:24:20 usata Exp $

in its header (v1.2). I guess you have v1.1 in /usr/portage,
and v1.2 will be available within an hour. I think if you 
remerge tetex-3.0, it will also show the same error.
(the sandbox violation doesn&apos;t occur with fresh install,
but may occur with upgrade or reinstall)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mail@peter-thomassen.de</who>
            <bug_when>2005-02-12 08:43:21 0000</bug_when>
            <thetext>Obviously, you spoke about the Portage CVS and not about the teTeX CVS :-) The problem has disappeared now. Thank you for your quick reaction!

BTW: If you like, please mail me what &quot;addpredict&quot; does :-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>benja81@gmx.net</who>
            <bug_when>2005-02-12 09:16:16 0000</bug_when>
            <thetext>I don&apos;t know, but I get the following output (other access-violations): If they are related, then this bug should IMHO become reopened.
I did an emerge sync a few minutes ago to get the updated ebuild.
Errors:
gzipping GNU info page: kpathsea.info
gzipping GNU info page: dvips.info
gzipping GNU info page: latex.info
gzipping GNU info page: web2c.info
prepallstrip:
strip: strip --strip-unneeded
strip: strip --strip-unneeded
   usr/bin/mf
   usr/bin/ebb
   usr/bin/dmp
   usr/bin/mag
   usr/bin/mft
   usr/bin/tex
   usr/bin/tie
   usr/bin/ctie
   usr/bin/etex
   usr/bin/mpto
   usr/bin/makeindex
   usr/bin/ctangle
   usr/bin/aleph
   usr/bin/dvilj
   usr/bin/dvips
   usr/bin/xdvi-motif.bin
   usr/bin/mpost
   usr/bin/newer
   usr/bin/omega
   usr/bin/pk2bm
   usr/bin/ps2pk
   usr/bin/odvicopy
   usr/bin/odvitype
   usr/bin/weave
   usr/bin/kpsewhich
   usr/bin/dvicopy
   usr/bin/dvilj2p
   usr/bin/dvilj4l
   usr/bin/dvipdfm
   usr/bin/dvitomp
   usr/bin/dvitype
   usr/bin/mf-nowin
   usr/bin/pooltype
   usr/bin/bibtex
   usr/bin/cweave
   usr/bin/kpsestat
   usr/bin/kpsereadlink
   usr/bin/dvilj4
   usr/bin/dvipng
   usr/bin/gftopk
   usr/bin/gftype
   usr/bin/gftodvi
   usr/bin/ttf2afm
   usr/bin/patgen
   usr/bin/outocp
   usr/bin/pktogf
   usr/bin/pktype
   usr/bin/afm2tfm
   usr/bin/pltotf
   usr/bin/tangle
   usr/bin/gsftopk
   usr/bin/tftopl
   usr/bin/vftovp
   usr/bin/vptovf
   usr/bin/omfonts
   usr/bin/pdfetex
   usr/bin/pdfxtex
   usr/bin/pfb2pfa
   usr/bin/otangle
   usr/bin/otp2ocp
   usr/bin/kpseaccess
&gt;&gt;&gt; Completed installing tetex-3.0-r1 into /var/tmp/portage/tetex-3.0-r1/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = &quot;/tmp/sandbox-app-text_-_tetex-3.0-r1-13345.log&quot;

mkdir:     /web2c
mkdir:     /fonts
mkdir:     /fonts
mkdir:     /fonts
--------------------------------------------------------------------------------
odin benja #

HTH,
  Benjamin.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>benja81@gmx.net</who>
            <bug_when>2005-02-12 09:19:08 0000</bug_when>
            <thetext>Created an attachment (id=51061)
The LOG FILE

If it helps, I have attached the LOG FILE.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2005-02-12 09:27:37 0000</bug_when>
            <thetext>Benjamin: Is it fresh install or upgrade? If it is upgrade,
which version do you have, and what does 

kpsewhich --expand-var=&apos;$TEXMFMAIN&apos; 

and

kpsewhich --format=&apos;web2c files&apos; texmf.cnf

say? </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>benja81@gmx.net</who>
            <bug_when>2005-02-12 09:37:17 0000</bug_when>
            <thetext>I had previosly installed one of the beta-versions, but after getting this error the first time, i unmerged the beta-version.

kpsewhich --expand-var=&apos;$TEXMFMAIN&apos; yields in &quot;command not found&quot;. Where can I find this program or is this program contained in tetex (which I now don&apos;t have installed).

Benjamin.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2005-02-12 09:51:59 0000</bug_when>
            <thetext>Benjamin: could you remove everything in /usr/share/texmf,
/var/lib/texmf, /usr/local/share/texmf (and /etc/texmf)?
If something is left from previous installation tetex picks it up 
and fail if it is not configured correctly.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>benja81@gmx.net</who>
            <bug_when>2005-02-12 09:58:50 0000</bug_when>
            <thetext>Okay, I did, what you have suggested. Those diretories did exist (exception: /usr/local/share/texmf didn&apos;t exist). I rm -R&apos;ed them. Let&apos;s see, what emerge says this time.

Thanks,
  Benjamin.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>benja81@gmx.net</who>
            <bug_when>2005-02-12 10:18:02 0000</bug_when>
            <thetext>Okay, emerge ran through and I now have a completely fresh installes tetex-3.0.

Thanks for helping.
  Benjamin.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2005-02-12 16:37:38 0000</bug_when>
            <thetext>Thanks for the tests. Closing.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>51061</attachid>
            <date>2005-02-12 09:19 0000</date>
            <desc>The LOG FILE</desc>
            <filename>sandbox-app-text_-_tetex-3.0-r1-13345.log</filename>
            <type>text/plain</type>
            <data encoding="base64">bWtkaXI6ICAgICAvd2ViMmMKbWtkaXI6ICAgICAvZm9udHMKbWtkaXI6ICAgICAvZm9udHMKbWtk
aXI6ICAgICAvZm9udHMK
</data>        

          </attachment>
    </bug>

</bugzilla>