Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81662 - Emerging tetex-2.0.2-r5 doesn't create latex.log and latex.fmt
Summary: Emerging tetex-2.0.2-r5 doesn't create latex.log and latex.fmt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 81866 82013 82283 82315 82728 84950 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-11 13:45 UTC by Martin Swientek
Modified: 2005-03-12 18:08 UTC (History)
8 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 Martin Swientek 2005-02-11 13:45:57 UTC
When trying to compile a latex file with latex or pdflatex, latex (pdflatex) complains about latex.log and latex.fmt (pdflatex.log and pdflatex.fmt).
Emerging additional latex-packages fails with access violation:
unlink, rename latex.log and latex.fmt
The mentioned files aren't present in /usr/share/texmf/web2c.
However, running latex (pdflatex) as root creates the appropriate files and fixes the problems.

Reproducible: Always
Steps to Reproduce:
1. emerging tetex-2.0.2-r5
2. running latex or pdflatex on a latex file
3. or emerging a latex-package

Actual Results:  
Latex complains about latex.log and latex.fmt.
Access Violation when emerging a latex package.

Expected Results:  
Latex or pdflatex should compile the file. 
The additional packages should emerge.

Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 FX-55 Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005, 15:51:28)]
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-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.inode.at"
LANG="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa berkdb bitmap-fonts cdr crypt cups dvdr esd f77 fam
font-server foomaticdb fortran gif gnome gphoto2 gpm gstreamer gtk gtk2 imlib
ipv6 java jp2 jpeg libwww lzw lzw-tiff mozilla multilib ncurses nls nptl
oggvorbis opengl oss pam perl png ppds python readline ssl tcpd tetex tiff
truetype truetype-fonts type1-fonts usb userlocales xml2 xmms xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-12 07:31:54 UTC
Don't know if this is amd64 related.
Could you remerge tetex-2.0.2-r5 after `emerge -C tetex`
and `rm -rf /usr/share/texmf`? (please also remove
/usr/local/share/texmf if you have)
Comment 2 Juan J. García de Soria 2005-02-13 08:33:54 UTC
I think this is the cause of bug #14598 I just filed...
Comment 3 Juan J. García de Soria 2005-02-13 08:35:24 UTC
Excuse me... It's bug #81866, NOT bug #14598.
Comment 4 Juan J. García de Soria 2005-02-13 08:36:34 UTC
Arg! Excuse me again... It's #81666.
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-13 08:56:59 UTC
Seems both of you are using amd64 boxen. 
Is it amd64 specific issue? (I cannot reproduce the
bug on my x86 laptop)
Comment 6 Juan J. García de Soria 2005-02-13 10:34:05 UTC
Yes, I'm using an amd64 processor too. I got to need these packages at "emerge system" time by the usage of the "doc" use flag.

I don't actually know why it could be so, but yes, it could be an amd64-specific bug...
Comment 7 Martin Swientek 2005-02-13 10:43:50 UTC
I've unmerged tetex, deleted /usr/shar/texmf and remerged tetex-2.0.2-r5 but the problem persists. I had a problem with jadetex, too. It's because missing tex.log and tex.fmt. It again can be fixed with running tex on a tex-file as root to creat e the missing files. I'm using amd64, too. I don't have this issue on my x86 notebook.
Comment 8 Juan J. García de Soria 2005-02-14 01:39:48 UTC
Excuse me... I got the bug # wrong again...

This problem is caused by bug #81866.

I managed to work-around it by running as root:

tex
latex
mf
pdflatex

so that

tex.fmt/tex.log
latex.fmt/latex.log
mf.fmt/mf.log
pdflatex.fmt/pdflatex.log

get generated.

Then my next dependency in "emerge system" (jadetex) emerges as expected.
Comment 9 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-16 01:21:56 UTC
*** Bug 82013 has been marked as a duplicate of this bug. ***
Comment 10 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-16 01:23:21 UTC
*** Bug 81866 has been marked as a duplicate of this bug. ***
Comment 11 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-16 01:25:40 UTC
Okay. This is not amd64 specific. I'll work on this issue.
Comment 12 W. B. Maguire II 2005-02-16 08:56:37 UTC
Well, if there was any doubt, that appears to be a workaround for my x86 box, as well.  I executed those commands as root (and then provided a non-existent filename at the prompts), and the necessary files were created.  "t1lib" then 'emerge'ed successfully, allowing me to continue with my "xpdf" emerge.

Thanks!
Comment 13 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-16 14:01:58 UTC
*** Bug 82283 has been marked as a duplicate of this bug. ***
Comment 14 Joel Mayes 2005-02-16 16:58:56 UTC
the workaround doesn't work with the xcolor package, error follows

strip: strip --strip-unneeded
>>> Completed installing xcolor-2.00 into /var/tmp/portage/xcolor-2.00/image/

--------------------------- ACCESS VIOLATION SUMMARY---------------------------
LOG FILE = "/tmp/sandbox-dev-tex_-_xcolor-2.00-18261.log"

mkdir:     /usr/share/texmf/fonts/tfm/jknappen
mkdir:     /usr/share/texmf/fonts/tfm/jknappen/tc
Comment 15 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-16 20:03:10 UTC
Workaround for this problem is to disable sandbox (or usersandbox
if you are using userpriv) and then emerge latex packages.
Comment 16 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-17 03:41:36 UTC
*** Bug 82315 has been marked as a duplicate of this bug. ***
Comment 17 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-18 06:35:13 UTC
(I suppose) I fixed it in CVS. If you had this problem, 
please remerge tetex-2.0.2-r5 and report back if this 
works or not.
Comment 18 Juan J. García de Soria 2005-02-18 08:51:07 UTC
I just did emerge sync and emerge tetex (after manually moving the files I manually generated to a temporary directory).

The fixed ebuild seems to work correctly now. It has installed the missing files into the /usr/share/texmf/web2c directory :)
Comment 19 Martin Swientek 2005-02-18 14:55:44 UTC
Works here, too. 
Comment 20 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-19 03:36:39 UTC
Thanks for testing. Closing this bug.
(Please don't hesitate to reopen if the bug still persists.)
Comment 21 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-20 11:28:11 UTC
Mamoru: I guess e.g. http://forums.gentoo.org/viewtopic-t-297923.html relates. How about revision+1?
Comment 22 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-20 13:57:55 UTC
*** Bug 82728 has been marked as a duplicate of this bug. ***
Comment 23 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-20 19:44:34 UTC
Yeah, I was thinking of revision bump for it but I wanted to
solve bug #79413 before that. I'll fix that bug and bump 
tetex to -r6 tonight.
Comment 24 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-12 18:08:08 UTC
*** Bug 84950 has been marked as a duplicate of this bug. ***