dev-tex/xmltex-1.9-r2 fails to build Reproducible: Always Steps to Reproduce: 1. emerge -uvDN world (xmltex is pulled in as a dependency of texlive) Actual Results: This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) (INITEX) %&-line parsing enabled. kpathsea: Running mktexfmt pdflatex.fmt tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found. fmtutil: config file `fmtutil.cnf' not found. Sorry, I can't find the format `pdflatex.fmt'; will try `pdfxmltex.fmt'. kpathsea: Running mktexfmt pdfxmltex.fmt tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found. fmtutil: config file `fmtutil.cnf' not found. I can't find the format file `pdfxmltex.fmt'! Error: `pdftex -ini -jobname=pdfxmltex -progname=pdfxmltex &pdflatex pdfxmltex.ini' failed ############################################################################### fmtutil: Error! Not all formats have been built successfully. Visit the log files in directory /var/tmp/portage/dev-tex/xmltex-1.9-r2/work/xmltex/base/texmf-var/web2c for details. ############################################################################### This is a summary of all `failed' messages and warnings: `pdftex -ini -jobname=xmltex -progname=xmltex &latex xmltex.ini' failed `pdftex -ini -jobname=pdfxmltex -progname=pdfxmltex &pdflatex pdfxmltex.ini' failed * * ERROR: dev-tex/xmltex-1.9-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2576: Called die * The specific snippet of code: * TEXMFHOME="${S}" fmtutil --cnffile "${FILESDIR}/format.${PN}.cnf" --fmtdir "${S}/texmf-var/web2c" --all || die "failed to build format ${PN}" * The die message: * failed to build format xmltex * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-tex/xmltex-1.9-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tex/xmltex-1.9-r2/temp/environment'. * Expected Results: xmltex should be built and installed # emerge --info Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-1.12.11.1 Timestamp of tree: Sat, 31 Oct 2009 02:45:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [enabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de en" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnowext X a52 aac acl acpi alsa amd64 apache2 arts bash-completion berkdb bittorrent bluetooth branding bzip2 cairo cddb cdr cli consolekit cracklib crypt cups dbus device-mapper dhcp dia doc dri dts dvd dvdr eds emboss emerald encode evo fam firefox flac fortran ftp gdbm gif gnome gpm gstreamer gtk hal iconv idn imlib ipv6 isdnlog jabber java jpeg jpeg2k kde kde4 kdehiddenvisibility ldap libnotify lm_sensors lzma mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png postgres postscript ppds pppd python qt3 qt3support qt4 quicktime rar rdesktop readline reflection rss sasl sdl session speex spell spl sse sse2 ssl startup-notification subversion svg sysfs tcpd theora thumbnail thunar tiff truetype unicode usb vorbis wacom webkit wmf x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="radeon mach64 fbdev vesa nv radeonhd" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 208821 [details] The build log
Which tex distibution are you using? The missing files are provided by app-text/texlive-core on my system.
I'm using Texlive, though so far without the xml use-flag. That only got added after I switched to the new 10.0 profile.
CCing tex@g.o @tex guys: Any idea what that could be? There is a bug with the same error, but another package (bug 291395).
This problem appears with a number of other ebuilds, gnuplot for example is affected as well. The files in question are in fact present on my system, one in /usr/share/texmf/web2c/fmtutil.cnf (symlinked to /etc/texmf/web2c/fmtutil.cnf), the other in /usr/share/texmf/texconfig/tcfmgr.map, but that doesn't seem to help at all. Both these files do, in fact, belong to texlive-core. Remerging texlive-core doesn't help.
(In reply to comment #4) > CCing tex@g.o > > @tex guys: Any idea what that could be? There is a bug with the same error, but > another package (bug 291395). > show 'texconfig conf' output if you dont get TEXMFMAIN set to /usr/share/texmf then you should probably have a look at http://www.gentoo.org/proj/en/tex/texlive-migration-guide.xml
Created attachment 209448 [details] Output of texconfig conf
I have created a new attachment for the output of texconfig conf on my machine. (By the way, is it normal for there to be that many warning messages in there?) TEXMFMAIN /is/ set to /usr/share/texmf.
(In reply to comment #8) > I have created a new attachment for the output of texconfig conf on my machine. > > (By the way, is it normal for there to be that many warning messages in there?) no its not; what do you get when running 'mktexlsr' as root?
> what do you get when running 'mktexlsr' as root? This is the output of mktexlsr # mktexlsr warning: kpathsea: No usable entries in //etc/texmf/ls-R. warning: kpathsea: See the manual for how to generate ls-R. warning: kpathsea: No usable entries in //var/lib/texmf/ls-R. warning: kpathsea: See the manual for how to generate ls-R. warning: kpathsea: No usable entries in /usr/share/texmf/ls-R. warning: kpathsea: See the manual for how to generate ls-R. warning: kpathsea: No usable entries in /usr/share/texmf-site/ls-R. warning: kpathsea: See the manual for how to generate ls-R. warning: kpathsea: No usable entries in /usr/share/texmf-dist/ls-R. warning: kpathsea: See the manual for how to generate ls-R. warning: kpathsea: No usable entries in /usr/share/texmf-doc/ls-R. warning: kpathsea: See the manual for how to generate ls-R. mktexlsr: //etc/texmf/ls-R lacks magic string. Skipping... mktexlsr: /usr/share/texmf/ls-R lacks magic string. Skipping... mktexlsr: /usr/share/texmf-dist/ls-R lacks magic string. Skipping... mktexlsr: /usr/share/texmf-doc/ls-R lacks magic string. Skipping... mktexlsr: /usr/share/texmf-site/ls-R lacks magic string. Skipping... mktexlsr: //var/lib/texmf/ls-R lacks magic string. Skipping... mktexlsr: Done. And here is how /etc/texmf/ls-R looks: # cat /etc/texmf/ls-R :254 test/ftsbit.c:188 #, c-format msgid "Error while opening %s.\n" msgstr "Fehler beim �ffnen von %s.\n" #: test/ftlint.c:94 msgid "" "ftlint: Simple TrueType instruction tester -- part of the FreeType project" msgstr "" "ftlint: Ein einfacher TTF Instruktionen-Tester -- Teil des FreeType-Projekts" #: test/ftlint.c:99 #, c-format msgid "" "Usage: %s ppem fontname[.ttf|.ttc] [fontname2..]\n" "\n" msgstr "" "Verwendung: %s ppem Fontname[.ttf|.ttc] [Fontname2..]\n" "\n" #: test/ftlint.c:226 test/ftsbit.c:225 #, c-format msgid "Could not set point size to %d.\n" msgstr "Konnte die Schriftgr��e nicht auf %d Punkt setzen.\n" #: test/ftlint.c:239 msgid "" "Error with\n" " " msgstr "" "Fehler bei\n" " " #: test/ftlint.c:240 #, c-format msgid "glyph %4u: %s\n" msgstr "Glyph %4u: %s\n" #: test/ftlint.c:253 msgid "1 fail.\n" msgstr "einmal gescheitert.\n" #: test/ftlint.c:255 #, c-format msgid "%d fails.\n" msgstr "%d mal gescheitert.\n" #: test/ftmetric.c:70 msgid "" "ftmetric: Simple TTF metrics/gly
Seems you broke your ls-R files; this sounds like a fs corruption. Try deleting those files: (In reply to comment #10) > mktexlsr: //etc/texmf/ls-R lacks magic string. Skipping... > mktexlsr: /usr/share/texmf/ls-R lacks magic string. Skipping... > mktexlsr: /usr/share/texmf-dist/ls-R lacks magic string. Skipping... > mktexlsr: /usr/share/texmf-doc/ls-R lacks magic string. Skipping... > mktexlsr: /usr/share/texmf-site/ls-R lacks magic string. Skipping... > mktexlsr: //var/lib/texmf/ls-R lacks magic string. Skipping... and run mktexlsr again.
FYI - i had a very similar problem during a texlive update. I did not get the magic string messages but similar kpathsea errors. Deleting and recreating the files as suggested in comment #11 did work for me.