Building texlive-latex-2007 fails with the output Building format texmf/fmtutil/format.latex.cnf fmtutil: format directory /var/tmp/.../work/texmf-var/web2c does not exist
then I'll need: the full log of the failure emerge --info the output of: texconfig conf the output of: kpsewhich --var-value=TEXMFMAIN (should be /usr/share/texmf) then a ls of the directory: /usr/share/texmf/web2c there should be a file there: mktexdir
Created attachment 134766 [details] texlive-latex-2007 emerge log
Requested information: # texconfig conf =========================== version information ========================== teTeX-src release: (info not available) teTeX-texmf release: (info not available) ==================== binaries found by searching $PATH =================== PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/colorgcc/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.2.2:/opt/intel/cc/10.0.026/bin:/opt/intel/fc/10.0.026/bin:/opt/sun-jdk-1.4.2.16/bin:/opt/sun-jdk-1.4.2.16/jre/bin:/opt/sun-jdk-1.4.2.16/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin kpsewhich: /usr/bin/kpsewhich updmap: /usr/bin/updmap fmtutil: /usr/bin/fmtutil texconfig: /usr/bin/texconfig tex: /usr/bin/tex pdftex: /usr/bin/pdftex mktexpk: /usr/bin/mktexpk dvips: /usr/bin/dvips dvipdfm: /usr/bin/dvipdfm =========================== active config files ========================== /usr/bin/texconfig: line 298: /var/lib/texmf/texconfig/tcfmgr: No such file or directory /usr/bin/texconfig: line 298: /var/lib/texmf/texconfig/tcfmgr: No such file or directory /usr/bin/texconfig: line 298: /var/lib/texmf/texconfig/tcfmgr: No such file or directory /usr/bin/texconfig: line 298: /var/lib/texmf/texconfig/tcfmgr: No such file or directory /usr/bin/texconfig: line 298: /var/lib/texmf/texconfig/tcfmgr: No such file or directory /usr/bin/texconfig: line 298: /var/lib/texmf/texconfig/tcfmgr: No such file or directory /usr/bin/texconfig: line 298: /var/lib/texmf/texconfig/tcfmgr: No such file or directory /usr/share/texmf/web2c/texmf.cnf config: not found config.ps: not found fmtutil.cnf: not found mktex.cnf: not found pdftexconfig.tex: not found updmap.cfg: not found XDvi: not found ============================= font map files ============================= psfonts.map: /var/lib/texmf/fonts/map/dvips/updmap/psfonts.map pdftex.map: /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map ps2pk.map: /var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map dvipdfm.map: /var/lib/texmf/fonts/map/dvipdfm/updmap/dvipdfm.map =========================== kpathsea variables =========================== TEXMFMAIN=/var/lib/texmf TEXMFDIST=/usr/share/texmf TEXMFLOCAL=/usr/local/share/texmf TEXMFSYSVAR=/var/lib/texmf TEXMFSYSCONFIG=/var/lib/texmf TEXMFVAR=/root/.texmf-var TEXMFCONFIG=/root/.texmf-config TEXMFHOME=/root/texmf VARTEXFONTS=/var/cache/fonts TEXMF={!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf} SYSTEXMF=/usr/local/share/texmf:/var/lib/texmf:/usr/share/texmf:/usr/share/texmf-site TEXMFDBS={!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}:/var/cache/fonts WEB2C={!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}/web2c TEXPSHEADERS=.:{!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}/{dvips,fonts/{enc,type1,type3}}// TEXCONFIG={!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}/dvips// ENCFONTS=.:{!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}/fonts/enc// TEXFONTMAPS=.:{!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}/fonts/map// ==== kpathsea variables (from environment only; ok if no output here) ==== TEXINPUTS=/usr/lib/ocaml/ocamldoc: # kpsewhich --var-value=TEXMFMAIN /var/lib/texmf # ll /usr/share/texmf/web2c total 372K -rw-r--r-- 1 root root 31K 2007-10-30 13:50 aleph.pool -rw-r--r-- 1 root root 5.2K 2007-10-30 13:49 amiga-pl.tcx lrwxrwxrwx 1 root root 30 2007-10-30 13:51 context.cnf -> /etc/texmf/web2c.d/context.cnf -rw-r--r-- 1 root root 1.0K 2007-10-30 13:49 cp1250cs.tcx -rw-r--r-- 1 root root 5.5K 2007-10-30 13:49 cp1250pl.tcx -rw-r--r-- 1 root root 5.0K 2007-10-30 13:49 cp1250t1.tcx -rw-r--r-- 1 root root 3.5K 2007-10-30 13:49 cp227.tcx -rw-r--r-- 1 root root 985 2007-10-30 13:49 cp852-cs.tcx -rw-r--r-- 1 root root 5.7K 2007-10-30 13:49 cp852-pl.tcx -rw-r--r-- 1 root root 3.0K 2007-10-30 13:49 cp8bit.tcx -rw-r--r-- 1 root root 603 2007-10-30 13:49 empty.tcx lrwxrwxrwx 1 root root 28 2007-10-30 13:51 fmtutil.cnf -> /etc/texmf/web2c/fmtutil.cnf -rw-r--r-- 1 root root 5.3K 2007-10-30 13:49 il1-t1.tcx -rw-r--r-- 1 root root 986 2007-10-30 13:49 il2-cs.tcx -rw-r--r-- 1 root root 5.5K 2007-10-30 13:49 il2-pl.tcx -rw-r--r-- 1 root root 5.0K 2007-10-30 13:49 il2-t1.tcx -rw-r--r-- 1 root root 920 2007-10-30 13:49 kam-cs.tcx -rw-r--r-- 1 root root 895 2007-10-30 13:49 kam-t1.tcx -rw-r--r-- 1 root root 5.8K 2007-10-30 13:49 macce-pl.tcx -rw-r--r-- 1 root root 5.7K 2007-10-30 13:49 macce-t1.tcx -rw-r--r-- 1 root root 5.9K 2007-10-30 13:49 maz-pl.tcx -rw-r--r-- 1 root root 22K 2007-10-30 13:50 mf.pool lrwxrwxrwx 1 root root 28 2007-10-30 13:51 mktex.cnf -> /etc/texmf/web2c.d/mktex.cnf -rwxr-xr-x 1 root root 1.4K 2007-10-30 13:50 mktexdir -rw-r--r-- 1 root root 328 2007-10-30 13:50 mktexdir.opt -rwxr-xr-x 1 root root 7.7K 2007-10-30 13:50 mktexnam -rw-r--r-- 1 root root 3.8K 2007-10-30 13:50 mktexnam.opt -rw-r--r-- 1 root root 4.7K 2007-10-30 13:50 mktex.opt -rwxr-xr-x 1 root root 1.8K 2007-10-30 13:50 mktexupd -rw-r--r-- 1 root root 2.3K 2007-10-30 13:49 natural.tcx -rw-r--r-- 1 root root 30K 2007-10-30 13:50 omega.pool -rw-r--r-- 1 root root 39K 2007-10-30 13:50 pdftex.pool -rw-r--r-- 1 root root 3.4K 2007-10-30 13:49 tcvn-t5.tcx lrwxrwxrwx 1 root root 26 2007-10-30 13:51 texmf.cnf -> /etc/texmf/web2c/texmf.cnf -rw-r--r-- 1 root root 28K 2007-10-30 13:49 texmf.cnf-4WIN -rw-r--r-- 1 root root 27K 2007-10-30 13:50 tex.pool lrwxrwxrwx 1 root root 27 2007-10-30 13:51 updmap.cfg -> /etc/texmf/web2c/updmap.cfg -rw-r--r-- 1 root root 3.4K 2007-10-30 13:49 viscii-t5.tcx -rw-r--r-- 1 root root 31K 2007-10-30 13:50 xetex.pool
Created attachment 134768 [details] emerge --info (Sorry I should have spit the last message better.) Here's my emerge --info as well. I was able to get more of the packages install using emerge --resume --skipfirst. Most of the failures were exactly the same. (I think that one may have been different.) I still have the following left: # emerge -pv app-text/texlive These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild N ] dev-texlive/texlive-latex-2007 USE="-doc" 0 kB [ebuild N ] dev-texlive/texlive-metapost-2007 USE="-doc" 0 kB [ebuild N ] dev-texlive/texlive-formatsextra-2007 USE="-doc" 0 kB [ebuild N ] dev-tex/chktex-1.6.3-r1 USE="-debug -doc" 0 kB [ebuild N ] dev-texlive/texlive-mathextra-2007 USE="-doc" 0 kB [ebuild N ] dev-texlive/texlive-htmlxml-2007-r2 USE="-doc" 0 kB [ebuild N ] dev-texlive/texlive-context-2007 USE="-doc" 0 kB [ebuild R ] app-text/texlive-2007 USE="X context extra games graphics humanities music omega png pstricks publishers science xetex xml -cjk -cyrillic -doc" LINGUAS="en -af -ar -bg -bn -cs -cy -da -de -el -en_GB -eo -es -et -fi -fr -he -hi -hr -hsb -hy -id -is -it -ja -ko -la -ml -mn -nl -no -pl -pt -ro -ru -sk -sl -sr -sv -ta -th -tr -uk -vi -zh" 0 kB
My emerge output adds nothimng but this (In reply to comment #1) > the output of: kpsewhich --var-value=TEXMFMAIN > (should be /usr/share/texmf) is /var/lib/texmf on my system, too
(In reply to comment #3) > # kpsewhich --var-value=TEXMFMAIN > /var/lib/texmf ouch, this looks wrong, fmtutil will not find mktexdir, thus the directories will not be created. could you give me the contents of the directory: /etc/texmf/texmf.d and attach the file: /etc/texmf/web2c/texmf.cnf
Created attachment 134784 [details] /etc/texmf/web2c/texmf.cnf > could you give me the contents of the directory: /etc/texmf/texmf.d > and attach the file: /etc/texmf/web2c/texmf.cnf texmf.d is " ============================================================================ " Netrw Directory Listing (netrw v109) " /etc/texmf/texmf.d " Sorted by name " Sort sequence: [\/]$,\.h$,\.c$,\.cpp$,\.[a-np-z]$,*,\.info$,\.swp$,\.o$\.obj$,\.bak$ " Quick Help: <F1>:help -:go up dir D:delete R:rename s:sort-by x:exec " ============================================================================ ../ ./ 00header.cnf 00texmf.cnf 05searchpaths.cnf 10standardpaths.cnf 15options.cnf 20sizes.cnf
(In reply to comment #7) > 00texmf.cnf ^^^^^^^^^^^^ isnt it a stray file from tetex ? try 'equery belongs' on it. I think you can delete it, as stated on http://dev.gentoo.org/~aballier/migrationhowto.xml it gets in the way of texmf-update and sets wrong paths. imho you should remove all the texlive stuff you have installed and follow the above guide.
> it gets in the way of texmf-update and sets wrong paths. I confirm the full installation works now. Thanks!
*** Bug 197762 has been marked as a duplicate of this bug. ***
(In reply to comment #8) > it gets in the way of texmf-update and sets wrong paths. I hadn't realized I had to run texmf-update myself. After running that, this error here went away for me as well. Thanks!