I'm trying to compile a package that requires t1lib-5.0.2 but it causes an access violation when it tries to compile t1lib. This is the output emerging t1lib: ================================= Applying patch file ltpatch.ltx ================================= (/usr/share/texmf/tex/latex/base/ltpatch.ltx) ) ) Beginning to dump on file latex.fmt (format=latex 2004.11.15) 4153 strings of total length 54053 43633 memory locations dumped; current usage is 144&41698 3034 multiletter control sequences \font\nullfont=nullfont \font\OMX/cmex/m/n/10=cmex10 \font\tenln=line10 \font\tenlnw=linew10 \font\tencirc=lcircle10 \font\tencircw=lcirclew10 \font\OT1/cmr/m/n/5=cmr5 \font\OT1/cmr/m/n/7=cmr7 \font\OT1/cmr/m/n/10=cmr10 \font\OML/cmm/m/it/5=cmmi5 \font\OML/cmm/m/it/7=cmmi7 \font\OML/cmm/m/it/10=cmmi10 \font\OMS/cmsy/m/n/5=cmsy5 \font\OMS/cmsy/m/n/7=cmsy7 \font\OMS/cmsy/m/n/10=cmsy10 3633 words of font info for 14 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 latex.log. ACCESS DENIED unlink: /usr/share/texmf/web2c/latex.log rm: cannot remove `/usr/share/texmf/web2c/latex.log': Permission denied ACCESS DENIED rename: /usr/share/texmf/web2c/latex.log mv: cannot move `latex.log' to `/usr/share/texmf/web2c/latex.log': Permission denied ACCESS DENIED unlink: /usr/share/texmf/web2c/latex.fmt rm: cannot remove `/usr/share/texmf/web2c/latex.fmt': Permission denied ACCESS DENIED rename: /usr/share/texmf/web2c/latex.fmt mv: cannot move `latex.fmt' to `/usr/share/texmf/web2c/latex.fmt': Permission denied /usr/share/texmf/web2c/mktexupd: /usr/share/texmf/web2c/latex.fmt not a file. I can't find the format file `latex.fmt'! make[1]: *** [t1lib_doc.dvi] Error 1 make[1]: Leaving directory `/var/tmp/portage/t1lib-5.0.2/work/t1lib-5.0.2/doc' make: *** [doc] Error 1 !!! ERROR: media-libs/t1lib-5.0.2 failed. !!! Function src_compile, Line 49, 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-media-libs_-_t1lib-5.0.2-29913.log" unlink: /usr/share/texmf/web2c/latex.log rename: /usr/share/texmf/web2c/latex.log unlink: /usr/share/texmf/web2c/latex.fmt rename: /usr/share/texmf/web2c/latex.fmt This is my make.conf file: CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -fforce-addr -falign-functions=4" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" ACCEPT_KEYWORDS="~x86" GENTOO_MIRRORS="http://gentoo.ccccom.com http://ftp-mirror.internap.com http://gentoo.osuosl.org" MAKEOPTS="-j2" USE="-gnome -gtk2 -gtk qt kde alsa mmx sse opengl" I also tried emerging it with the USE="-gnome -gtk2 -gtk qt kde alsa mmx sse opengl" commented out but I still get the access violation. Reproducible: Always Steps to Reproduce: 1.Just a simple "emerge kdegraphics" 2. 3. Actual Results: make[1]: Entering directory `/var/tmp/portage/t1lib-5.0.2/work/t1lib-5.0.2/doc' latex t1lib_doc.tex This is TeX, Version 3.14159 (Web2C 7.4.5) kpathsea: Running mktexfmt latex.fmt running `tex -ini -jobname=latex -progname=latex latex.ini' ... This is TeX, Version 3.14159 (Web2C 7.4.5) (INITEX) (/usr/share/texmf/tex/latex/config/latex.ini (/usr/share/texmf/tex/latex/base/latex.ltx (/usr/share/texmf/tex/latex/config/texsys.cfg) ./texsys.aux found \@currdir set to: ./. Assuming \openin and \input have the same search path. Defining UNIX/DOS style filename parser. catcodes, registers, compatibility for TeX 2, parameters, LaTeX2e <2001/06/01> hacks, control, par, spacing, files, font encodings, lengths, ==================================== Local config file fonttext.cfg used ==================================== (/usr/share/texmf/tex/generic/config/fonttext.cfg (/usr/share/texmf/tex/latex/base/fonttext.ltx === Don't modify this file, use a .cfg file instead === (/usr/share/texmf/tex/latex/base/omlenc.def) (/usr/share/texmf/tex/latex/base/t1enc.def) (/usr/share/texmf/tex/latex/base/ot1enc.def) (/usr/share/texmf/tex/latex/base/omsenc.def) (/usr/share/texmf/tex/latex/base/t1cmr.fd) (/usr/share/texmf/tex/latex/base/ot1cmr.fd) (/usr/share/texmf/tex/latex/base/ot1cmss.fd) (/usr/share/texmf/tex/latex/base/ot1cmtt.fd))) ==================================== Local config file fontmath.cfg used ==================================== (/usr/share/texmf/tex/generic/config/fontmath.cfg (/usr/share/texmf/tex/latex/base/fontmath.ltx === Don't modify this file, use a .cfg file instead === (/usr/share/texmf/tex/latex/base/omlcmm.fd) (/usr/share/texmf/tex/latex/base/omscmsy.fd) (/usr/share/texmf/tex/latex/base/omxcmex.fd) (/usr/share/texmf/tex/latex/base/ucmr.fd))) ==================================== Local config file preload.cfg used ===================================== (/usr/share/texmf/tex/generic/config/preload.cfg (/usr/share/texmf/tex/latex/base/preload.ltx)) page nos., x-ref, environments, center, verbatim, math definitions, boxes, title, sectioning, contents, floats, footnotes, index, bibliography, output, =========================================== Local configuration file hyphen.cfg used =========================================== (/usr/share/texmf/tex/generic/babel/hyphen.cfg (/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)) ================================= Applying patch file ltpatch.ltx ================================= (/usr/share/texmf/tex/latex/base/ltpatch.ltx) ) ) Beginning to dump on file latex.fmt (format=latex 2004.11.15) 4153 strings of total length 54053 43633 memory locations dumped; current usage is 144&41698 3034 multiletter control sequences \font\nullfont=nullfont \font\OMX/cmex/m/n/10=cmex10 \font\tenln=line10 \font\tenlnw=linew10 \font\tencirc=lcircle10 \font\tencircw=lcirclew10 \font\OT1/cmr/m/n/5=cmr5 \font\OT1/cmr/m/n/7=cmr7 \font\OT1/cmr/m/n/10=cmr10 \font\OML/cmm/m/it/5=cmmi5 \font\OML/cmm/m/it/7=cmmi7 \font\OML/cmm/m/it/10=cmmi10 \font\OMS/cmsy/m/n/5=cmsy5 \font\OMS/cmsy/m/n/7=cmsy7 \font\OMS/cmsy/m/n/10=cmsy10 3633 words of font info for 14 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 latex.log. ACCESS DENIED unlink: /usr/share/texmf/web2c/latex.log rm: cannot remove `/usr/share/texmf/web2c/latex.log': Permission denied ACCESS DENIED rename: /usr/share/texmf/web2c/latex.log mv: cannot move `latex.log' to `/usr/share/texmf/web2c/latex.log': Permission denied ACCESS DENIED unlink: /usr/share/texmf/web2c/latex.fmt rm: cannot remove `/usr/share/texmf/web2c/latex.fmt': Permission denied ACCESS DENIED rename: /usr/share/texmf/web2c/latex.fmt mv: cannot move `latex.fmt' to `/usr/share/texmf/web2c/latex.fmt': Permission denied /usr/share/texmf/web2c/mktexupd: /usr/share/texmf/web2c/latex.fmt not a file. I can't find the format file `latex.fmt'! make[1]: *** [t1lib_doc.dvi] Error 1 make[1]: Leaving directory `/var/tmp/portage/t1lib-5.0.2/work/t1lib-5.0.2/doc' make: *** [doc] Error 1 !!! ERROR: media-libs/t1lib-5.0.2 failed. !!! Function src_compile, Line 49, 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-media-libs_-_t1lib-5.0.2-2270.log" unlink: /usr/share/texmf/web2c/latex.log rename: /usr/share/texmf/web2c/latex.log unlink: /usr/share/texmf/web2c/latex.fmt rename: /usr/share/texmf/web2c/latex.fmt Expected Results: * Caching service dependencies ... [ ok ] >>> media-libs/t1lib-5.0.2 merged. >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.
It's not related to t1lib but tetex installation. Could you remerge tetex and see if the problem gets solved?
Thanks, unmerging tetex and emerging it again solved my problem. I was able to install my application with no errors.