Writing index file refman.idx No file refman.aux. (/usr/share/texmf/tex/latex/base/ts1cmr.fd) [1] [2]kpathsea: Running mktextfm ecbx2488 mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecbx2488 This is METAFONT, Version 2.7182 (Web2C 7.4.5) kpathsea: Running mktexmf ecbx2488 ACCESS DENIED open_wr: /var/cache/fonts/source/jknappen/ec/mf19957.tmp /usr/bin/mktexmf: line 92: mf19957.tmp: Permission denied chmod: cannot access `mf19957.tmp': No such file or directory ACCESS DENIED unlink: /var/cache/fonts/source/jknappen/ec/ecbx2488.mf rm: cannot remove `ecbx2488.mf': Permission denied mv: cannot stat `mf19957.tmp': No such file or directory mktexmf: /var/cache/fonts/source/jknappen/ec/ecbx2488.mf: successfully generated. /usr/share/texmf/web2c/mktexupd: /var/cache/fonts/source/jknappen/ec/ecbx2488.mf not a file. warning: kpathsea: mktexpk output `/var/cache/fonts/source/jknappen/ec/ecbx2488.mf' instead of a filename. ! I can't find file `ecbx2488'. <*> ...ljfour; mag:=1; nonstopmode; input ecbx2488 Please type another input file name ! Emergency stop. <*> ...ljfour; mag:=1; nonstopmode; input ecbx2488 Transcript written on mfput.log. mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecbx2488' failed. kpathsea: Appending font creation commands to missfont.log. ! Font T1/cmr/bx/n/24.88=ecbx2488 at 24.88pt not loadable: Metric (TFM) file no t found. <to be read again> relax l.27 \tableofcontents ? the build stops at this point Reproducible: Always Steps to Reproduce: 1. emerge libcaca 2. 3. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo-r2) ================================================================= System uname: 2.6.3-gentoo-r2 i686 mobile AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.3.13p1 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /lib/modules /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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 /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acl acpi afs alsa apache2 apm arts avi berkdb bonobo cdr crypt cscope cups curl dga directfb doc dvd emacs encode esd ethereal evo fbcon firebird flash foomaticdb freetds gb gd gdbm ggi gif gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile imap imlib informix innodb ipv6 jack java jikes joystick jpeg kde kerberos ladcca lcm ldap leim libg++ libgda libwww lirc mad maildir mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi mule mysql nas ncurses nhc98 nls oci8 odbc oggvorbis opengl oss pam pcmcia pda pdflib perl plotutils png pnp postgres ppds prelude python qt quicktime readline ruby ruby18 samba sasl scanner sdl slang slp snmp socks5 spell ssl svga tcltk tcpd tetex tiff truetype usb wmf wxwindows x86 xface xinerama xml2 xmms xosd xv zeo zlib"
From http://forums.gentoo.org/viewtopic.php?t=152825&highlight=libcaca : USE="-doc" makes the errors go away. (It works for me as well.)
First: http://bugs.gentoo.org/show_bug.cgi?id=46243 appears to be a duplicate of this bug. The /var/cache/fonts directory can be changed either through texconfig or $VARTEXFONTS. In order to build libcaca's ps documentation you'll need to change the cache directory to somewhere inside PORTAGE_TMPDIR. The easiest way to do this is to modify src_compile like this: --- libcaca-0.9.ebuild-vanilla 2004-04-16 10:08:25.073628616 -0700 +++ libcaca-0.9.ebuild 2004-04-16 10:08:48.245106016 -0700 @@ -18,6 +18,7 @@ X? ( virtual/x11 )" src_compile() { + export VARTEXFONTS="${T}/fonts" econf \ `use_enable doc` \ `use_enable ncuses` \ @@ -26,6 +27,7 @@ `use_enable X x11` \ || die emake || die + unset VARTEXFONTS } Unfortunately this method will force the new fonts to be recreated each emerge as the cache is temporary. A more permanent solution would be to use `kpsewhich -expand-var='$VARTEXFONTS'` or --expand-var='$TEXMFMAIN' and put the new fonts in ${D}/$TEXFONTS . I'll try to put a patch together later today, but I'm still trying to figure out how to detect whether or not to use vartexfonts vs. texmfmain.
*** Bug 46243 has been marked as a duplicate of this bug. ***
added the temp fix until a more perm solution can be found ... please re-open in that case ;)