As per title, package does not build due to missing folder: * Building format texmf/fmtutil/format.metafont.cnf fmtutil: format directory `/var/tmp/portage/dev-texlive/texlive-basic-2008/work/texmf-var/web2c' does not exist. using build to step through the emerge sequence confirms that the folder texmf-var is not present: hofstadter texlive-basic # ll /var/tmp/portage/dev-texlive/texlive-basic-2008/work total 12K drwxr-xr-x 4 root root 4.0K 2008-11-07 11:26 texmf drwxr-xr-x 9 root root 4.0K 2008-11-07 11:26 texmf-dist drwxr-xr-x 3 root root 4.0K 2008-11-07 11:26 tlpkg hofstadter texlive-basic # Reproducible: Always Steps to Reproduce: Th dir seems not to exist anywhere either: hofstadter texlive-basic # find /var/tmp/portage/dev-texlive/texlive-basic-2008/work/ -type d -name web2c
Please post your `emerge --info' too.
i'll need the output of: kpsewhich --var-value=TEXMFMAIN and: ls /etc/texmf/texmf.d
Sorry, that was very lame from me, here is the requested info (emerge --info, kpsewhich and ls of folder): Note: the system is Sabayon based but texlive is being installed using emerge. hofstadter texlive-basic # emerge --info Portage 2.2_rc13 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.8_p20080602-r0, 2.6.26-sabayon x86_64) ================================================================= System uname: Linux-2.6.26-sabayon-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5 Timestamp of tree: Fri, 07 Nov 2008 17:00:02 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-Os -march=x86-64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-Os -march=x86-64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://letdie.ele.etsmtl.ca/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.utf8" LDFLAGS="" LINGUAS="en fr" MAKEOPTS="-s -j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sabayon" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7Zip X a52 aac aalib accessibility acl acpi aiglx aim alsa amd64 artswrappersuid asf audiofile avahi berkdb bidi bluetooth bzip2 cairo cdda cddb cdr chm cjk cli colordiff commercial config_wizard cpudetection cracklib crypt css cups dbox2 dbus device-mapper dga dri dts dv dvb dvd dvdr dvdread dvi dxr3 encode exscalibar extramodules fam fame fat ffmpeg fftw firefox flac flash foomatic-db fortran freetype gcj gdbm gif gimpprint gnutls gphoto2 gpm gs gsm gstreamer gtk hal hfs iconv icq ieee1394 imap inotify ipod ipv6 irc irda isdnlog jabber jack jfs jingle joystick jpeg kde kdeenablefinal kdehiddenvisibility kerberos kickoff kipi kpathsea lame lcd libao libnotify live lj lm_sensors logitech-mouse lzo mad mail midi mikmod mjpeg mmx mng mozdevelop mp3 mp3rtp mpeg msn mudflap musepack musicbrainz ncurses network new-login nls nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp pam pcmcia pcre pda perl png povray ppds pppd pulseaudio pwdb python qt3 qt3support qt4 quotas rar rdesktop readline reflection reiserfs rss scanner sdl session slp sms speex spell spl spreadsheet sse sse2 ssl startup-notification stream svg switch_all_desktops sysfs tcpd theora tiff tracker truetype udev unicode usb v4l v4l2 visualization voice vorbis weather wifi wmf x264 xcb xfs xine xinerama xml xorg xpm xprint xulrunner xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS hofstadter texlive-basic # kpsewhich --var-value=TEXMFMAIN /var/lib/texmf hofstadter texlive-basic # ls /etc/texmf/texmf.d 00header.cnf 00texmf.cnf 05searchpaths.cnf 10standardpaths.cnf 15options.cnf 20sizes.cnf
(In reply to comment #3) > hofstadter texlive-basic # kpsewhich --var-value=TEXMFMAIN > /var/lib/texmf > hofstadter texlive-basic # ls /etc/texmf/texmf.d > [...] 00texmf.cnf [...] my bet would be you should have read: http://www.gentoo.org/proj/en/tex/texlive-migration-guide.xml and especially: http://www.gentoo.org/proj/en/tex/texlive-migration-guide.xml#doc_chap4_sect3 then ;) quickfix: remove 00texmf.cnf, run texmf-update and try again
Well, I blush in shame as this was indeed the problem and didn't remember there was a procedure to switch latex distributions. Sorry for the white noise...