Cannot install dev-texlive/texlive-latex-2007 Reproducible: Always Steps to Reproduce: 1. emerge dev-texlive/texlive-latex Actual Results: >>> Compiling source in /var/tmp/portage/dev-texlive/texlive-latex-2007/work ... * Building format texmf/fmtutil/format.latex.cnf fmtutil: running `pdftex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' ... warning: Could not open char translation file `cp227.tcx'. This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (INITEX) %&-line parsing enabled. entering extended mode (/var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf-dist/tex/latex/late xconfig/latex.ini ! I can't find file `pdftexconfig'. l.7 \input pdftexconfig Please type another input file name: ! Emergency stop. l.7 \input pdftexconfig No pages of output. Transcript written on latex.log. Error: `pdftex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' failed ############################################################################### fmtutil: Error! Not all formats have been built successfully. Visit the log files in directory /var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf-var/web2c for details. ############################################################################### Expected Results: clean install # nice emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686) ================================================================= System uname: 2.6.22-gentoo-r9 i686 Pentium II (Deschutes) Timestamp of tree: Mon, 31 Mar 2008 05:00:01 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.3.6-r4, 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-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 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.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -mtune=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/config /var/bind /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/env.d /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/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -mtune=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.solnet.ch http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.ynet.sk/pub http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.romnet.org/gentoo/ http://gentoo.ITDNet.net/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.intergenia.de http://ftp.du.se/pub/os/gentoo" LINGUAS="de en fr es pt it en_GB en_IE" 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/local/portage" SYNC="rsync://portage/gentoo-portage" USE="aac apache2 avahi bash-completion bcmath berkdb bzip2 caps cdr cgi clamd cli cracklib crypt ctype cups curl curlwrappers dbus dri encode ethereal exif expat fastcgi ffmpeg flac flatfile foomaticdb fortran fpx ftp gd gdbm geoip gif gmp graphviz gs hardened hardenedphp iconv idled imagemagick imap imlib inifile innodb ipv6 isdnlog jbig jpeg jpeg2k lame latex lcms ldap libwww logrotate logwatch mad mhash midi milter mmap mmx mng mp3 mpeg mudflap mysql mysqli ncurses netpbm nls nptl nptlonly oav ogg openmp pam parse-clocks pcntl pcntpl pcre pdf pdflib perl php pic pie png pnp posix postgres ppds pppd python quicktime radius raw readline reflection ruby samba sasl session sharedext sharedmem simplexml slp snmp snortsam soap sockets sox speex spell spl sqlite sqlite3 ssl syslog sysvipc tcpd tetex theora tidy tiff transparent-proxy truetype truetype-fonts trusted type1-fonts unicode usb userlocales v4l vhosts vim-syntax virus-scan vorbis wddx wmf x264 x86 xine xml xml2 xmlrpc xorg xpm xsl xvid yaz zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access auth authn_dbm dbd ident imagemap authn_dbd authn_file authn_default authz_groupfile auth_anon authz_dbm authz_owner authz_default authz_user auth_digest authz_host alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate filter mime_magic cern_meta proxy_ajp proxy_balancer expires headers usertrack proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav_lock dav-fs vhost_alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so unique_id" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en fr es pt it en_GB en_IE" USERLAND="GNU" VIDEO_CARDS="vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 147975 [details] emerge output Output from ( nohup nice -n 19 emerge dev-texlive/texlive-latex & )
Created attachment 147977 [details] build.log A complete build log is located at '/var/tmp/portage/dev-texlive/texlive-latex-2007/temp/build.log'.
Created attachment 147979 [details] environment The ebuild environment file is located at '/var/tmp/portage/dev-texlive/texlive-latex-2007/temp/environment'.
I've read http://dev.gentoo.org/~aballier/migrationhowto.xml: - "texmf-update" doesn't helps - output of"kpsewhich --var-value=TEXMFMAIN" is "/usr/share/texmf" i've two other machines (same architecture) without this problem, but on one machine (where tetex-2 and -3 has been installed) emerge fails gracefully :( Any help/hint appreciated!
I need the output of: kpsewhich pdftexconfig.tex equery files texlive-core | grep pdftexconfig ls /etc/texmf/texmf.d/ texconfig conf
laokoon ~ # kpsewhich pdftexconfig.tex laokoon ~ # laokoon ~ # equery files texlive-core | grep pdftexconfig /usr/share/texmf/tex/generic/config/pdftexconfig.tex laokoon ~ # laokoon ~ # ls /etc/texmf/texmf.d/ 00header.cnf 05searchpaths.cnf 10standardpaths.cnf 15options.cnf 20sizes.cnf 25misc.cnf laokoon ~ # laokoon ~ # texconfig conf > texconfig.out 2> texconfig.err laokoon ~ # (i'll attach texconfig.out & texconfig.err)
Created attachment 148000 [details] output of "texconfig conf"
Created attachment 148002 [details] std error of "texconfig conf"
kpathsea seems seriously broken on your system, it doesn't want to find anything, could you please attach the file /usr/share/texmf/web2c/texmf.cnf and give me the output of a ls -l on it ?
Created attachment 148015 [details] /usr/share/texmf/web2c/texmf.cnf
laokoon ~ # ls -l /usr/share/texmf/web2c/ total 372 -rw-r--r-- 1 root root 30806 Apr 1 00:41 aleph.pool -rw-r--r-- 1 root root 5320 Apr 1 00:39 amiga-pl.tcx lrwxrwxrwx 1 root root 30 Apr 1 00:43 context.cnf -> /etc/texmf/web2c.d/context.cnf -rw-r--r-- 1 root root 1024 Apr 1 00:39 cp1250cs.tcx -rw-r--r-- 1 root root 5573 Apr 1 00:39 cp1250pl.tcx -rw-r--r-- 1 root root 5073 Apr 1 00:39 cp1250t1.tcx -rw-r--r-- 1 root root 3499 Apr 1 00:39 cp227.tcx -rw-r--r-- 1 root root 985 Apr 1 00:39 cp852-cs.tcx -rw-r--r-- 1 root root 5766 Apr 1 00:39 cp852-pl.tcx -rw-r--r-- 1 root root 2998 Apr 1 00:40 cp8bit.tcx -rw-r--r-- 1 root root 603 Apr 1 00:39 empty.tcx lrwxrwxrwx 1 root root 28 Apr 1 00:43 fmtutil.cnf -> /etc/texmf/web2c/fmtutil.cnf -rw-r--r-- 1 root root 5361 Apr 1 00:39 il1-t1.tcx -rw-r--r-- 1 root root 986 Apr 1 00:40 il2-cs.tcx -rw-r--r-- 1 root root 5572 Apr 1 00:40 il2-pl.tcx -rw-r--r-- 1 root root 5115 Apr 1 00:40 il2-t1.tcx -rw-r--r-- 1 root root 920 Apr 1 00:39 kam-cs.tcx -rw-r--r-- 1 root root 895 Apr 1 00:39 kam-t1.tcx -rw-r--r-- 1 root root 5909 Apr 1 00:40 macce-pl.tcx -rw-r--r-- 1 root root 5773 Apr 1 00:40 macce-t1.tcx -rw-r--r-- 1 root root 6013 Apr 1 00:39 maz-pl.tcx -rw-r--r-- 1 root root 22203 Apr 1 00:41 mf.pool lrwxrwxrwx 1 root root 28 Apr 1 00:43 mktex.cnf -> /etc/texmf/web2c.d/mktex.cnf -rw-r--r-- 1 root root 4763 Apr 1 00:40 mktex.opt -rwxr-xr-x 1 root root 1373 Apr 1 00:40 mktexdir -rw-r--r-- 1 root root 328 Apr 1 00:40 mktexdir.opt -rwxr-xr-x 1 root root 7787 Apr 1 00:40 mktexnam -rw-r--r-- 1 root root 3821 Apr 1 00:40 mktexnam.opt -rwxr-xr-x 1 root root 1741 Apr 1 00:40 mktexupd -rw-r--r-- 1 root root 2306 Apr 1 00:39 natural.tcx -rw-r--r-- 1 root root 30132 Apr 1 00:41 omega.pool -rw-r--r-- 1 root root 39440 Apr 1 00:41 pdftex.pool -rw-r--r-- 1 root root 3394 Apr 1 00:40 tcvn-t5.tcx -rw-r--r-- 1 root root 26786 Apr 1 00:41 tex.pool lrwxrwxrwx 1 root root 26 Apr 1 00:43 texmf.cnf -> /etc/texmf/web2c/texmf.cnf -rw-r--r-- 1 root root 27690 Apr 1 00:40 texmf.cnf-4WIN lrwxrwxrwx 1 root root 27 Apr 1 00:43 updmap.cfg -> /etc/texmf/web2c/updmap.cfg -rw-r--r-- 1 root root 3399 Apr 1 00:40 viscii-t5.tcx -rw-r--r-- 1 root root 31539 Apr 1 00:41 xetex.pool laokoon ~ #
weird, your configuration is perfectly sane. Just in case, whats the output of : ldd /usr/bin/kpsewhich and does rebuilding texlive-core helps by chance ?
laokoon ~ # ldd /usr/bin/kpsewhich linux-gate.so.1 => (0xb7f7a000) libkpathsea.so.4 => /usr/lib/libkpathsea.so.4 (0xb7f53000) libm.so.6 => /lib/libm.so.6 (0xb7f2d000) libc.so.6 => /lib/libc.so.6 (0xb7dfd000) /lib/ld-linux.so.2 (0xb7f7b000) laokoon ~ #
perhaps it could also help: which kpsewhich type kpsewhich
(In reply to comment #12) > weird, your configuration is perfectly sane. i cannot find any problem and scratching my head since days... > and does rebuilding texlive-core helps by chance ? hm: laokoon ~ # eix texlive-core [I] app-text/texlive-core Available versions: (~)2007-r12 {X doc} Installed versions: 2007-r12(00:43:45 04/01/08)(-X -doc) Homepage: http://tug.org/texlive/ Description: A complete TeX distribution laokoon ~ # (it seems to be pretty fresh, but i'll emerge it again now)
(In reply to comment #14) > perhaps it could also help: Of coure i'll help ;) > which kpsewhich > type kpsewhich laokoon ~ # which kpsewhich /usr/bin/kpsewhich laokoon ~ # type $_ kpsewhich is /usr/bin/kpsewhich laokoon ~ #
what do you get when you run mktexlsr ? and could you please attach (bzip'ed or something if its too big) the output of: KPATHSEA_DEBUG=-1 kpsewhich pdftexconfig.tex
laokoon ~ # mktexlsr mktexlsr: Updating //etc/texmf/ls-R... mktexlsr: Updating //var/lib/texmf/ls-R... mktexlsr: Updating /root/.texmf-config/ls-R... mktexlsr: Updating /root/.texmf-var/ls-R... mktexlsr: /usr/share/texmf/ls-R lacks magic string. Skipping... mktexlsr: Updating /usr/share/texmf-dist/ls-R... mktexlsr: Updating /usr/share/texmf-site/ls-R... mktexlsr: Updating /var/cache/fonts/ls-R... mktexlsr: Done. laokoon ~ #
Created attachment 148023 [details] error log of "KPATHSEA_DEBUG=-1 kpsewhich pdftexconfig.tex" (this is the err log; output is empty)
(In reply to comment #18) > mktexlsr: /usr/share/texmf/ls-R lacks magic string. Skipping... haha this is not normal. Could you try removing that file and run mktexlsr again to have it regenerated ?
laokoon ~ # rm /usr/share/texmf/ls-R laokoon ~ # mktexlsr mktexlsr: Updating //etc/texmf/ls-R... mktexlsr: Updating //var/lib/texmf/ls-R... mktexlsr: Updating /root/.texmf-config/ls-R... mktexlsr: Updating /root/.texmf-var/ls-R... mktexlsr: Updating /usr/share/texmf/ls-R... mktexlsr: Updating /usr/share/texmf-dist/ls-R... mktexlsr: Updating /usr/share/texmf-site/ls-R... mktexlsr: Updating /var/cache/fonts/ls-R... mktexlsr: Done. laokoon ~ #
(In reply to comment #20) > (In reply to comment #18) > > > mktexlsr: /usr/share/texmf/ls-R lacks magic string. Skipping... > > haha this is not normal. Could you try removing that file and run mktexlsr > again to have it regenerated ? i did this and the recompilation of texlive-core simultaneously and now texlive-latex and all the other package depended by texlive installed smoothly. Thank You very much! And if You're in Berlin sometimes You're invited to some beers or other drinks of Your choice ;)