Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220221 - dev-texlive/texlive-latex-2007 does not build: failed to build format texmf/fmtutil/format.latex.cnf
Summary: dev-texlive/texlive-latex-2007 does not build: failed to build format texmf/f...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-04 12:28 UTC by Martin Tesař
Modified: 2008-11-13 06:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
paludis -i texlive-latex (texlive-paludis.txt,17.02 KB, text/plain)
2008-11-13 06:36 UTC, Dave Bender
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Tesař 2008-05-04 12:28:12 UTC
===========================================
Local configuration file hyphen.cfg used
===========================================

(/var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf-dist/tex/generic/ba
bel/hyphen.cfg
I couldn't find the file language.dat, I will try the file hyphen.tex
! I can't find file `hyphen.tex'.
<to be read again>
                   \relax
l.343   \input hyphen.tex\relax

Please type another input file name:
! Emergency stop.
<to be read again>
                   \relax
l.343   \input hyphen.tex\relax

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.
###############################################################################

This is a summary of all `failed' messages and warnings:
`pdftex -ini  -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' failed
 *
 * ERROR: dev-texlive/texlive-latex-2007 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  188:  Called texlive-module_src_compile
 *             environment, line  288:  Called die
 * The specific snippet of code:
 *               TEXMFHOME="${S}/texmf:${S}/texmf-dist" fmtutil --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all || die "failed to build format ${i}";
 *  The die message:
 *   failed to build format texmf/fmtutil/format.latex.cnf
 *
* 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-texlive/texlive-latex-2007/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-texlive/texlive-latex-2007/temp/environment'.
 *


Reproducible: Always

Steps to Reproduce:
1.emerge texlive-latex

Actual Results:  
*
 * ERROR: dev-texlive/texlive-latex-2007 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  188:  Called texlive-module_src_compile
 *             environment, line  288:  Called die
 * The specific snippet of code:
 *               TEXMFHOME="${S}/texmf:${S}/texmf-dist" fmtutil --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all || die "failed to build format ${i}";
 *  The die message:
 *   failed to build format texmf/fmtutil/format.latex.cnf


Expected Results:  
dev-texlive/texlive-latex merged

# texconfig conf
=========================== version information ==========================
teTeX-src release:   (info not available)
teTeX-texmf release: (info not available)

==================== binaries found by searching $PATH ===================
PATH=/sbin:/bin:/usr/sbin:/usr/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: not found

=========================== active config files ==========================
//etc/texmf/dvips/config/config.ps
//etc/texmf/web2c/fmtutil.cnf
//etc/texmf/web2c/updmap.cfg
/usr/share/texmf/tex/generic/config/pdftexconfig.tex
/usr/share/texmf/web2c/mktex.cnf
/usr/share/texmf/web2c/texmf.cnf
XDvi: not found
config: 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=/usr/share/texmf
TEXMFDIST=/usr/share/texmf-dist
TEXMFLOCAL=/usr/local/share/texmf
TEXMFSYSVAR=//var/lib/texmf
TEXMFSYSCONFIG=//etc/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,!!//etc/texmf,!!//var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf-dist}
SYSTEXMF=/usr/local/share/texmf:/usr/share/texmf:/usr/share/texmf-dist:/usr/share/texmf-site
TEXMFDBS={/root/.texmf-config,/root/.texmf-var,/root/texmf,!!//etc/texmf,!!//var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf-dist}:/var/cache/fonts
WEB2C={/root/.texmf-config,/root/.texmf-var,/root/texmf,!!//etc/texmf,!!//var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf-dist}/web2c
TEXPSHEADERS=.:{/root/.texmf-config,/root/.texmf-var,/root/texmf,!!//etc/texmf,!!//var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf-dist}/{dvips,fonts/{enc,type1,type42,type3}}//
TEXCONFIG={/root/.texmf-config,/root/.texmf-var,/root/texmf,!!//etc/texmf,!!//var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf-dist}/dvips//
ENCFONTS=.:{/root/.texmf-config,/root/.texmf-var,/root/texmf,!!//etc/texmf,!!//var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf-dist}/fonts/enc//
TEXFONTMAPS=.:{/root/.texmf-config,/root/.texmf-var,/root/texmf,!!//etc/texmf,!!//var/lib/texmf,!!/usr/share/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf-dist}/fonts/map/{kpsewhich,pdftex,dvips,}//

==== kpathsea variables (from environment only; ok if no output here) ====


# emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-tuxonice-r1 x86_64)
=================================================================
System uname: 2.6.25-tuxonice-r1 x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
Timestamp of tree: Sun, 04 May 2008 05:34:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     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.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.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -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/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo/ http://ftp.public.fix.fi/gentoo/"
LINGUAS="en cs"
MAKEOPTS="-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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa amd64 anthy arts automount bash-completion berkdb bidi bluetooth branding cairo canna cdr cjk cli cracklib crypt cups dbus divx djvu doc dri dvd dvdr dvdread dvi eds emboss encode esd evo fam fbsplash ffmpeg firefox flac foomaticdb fortran freewnn gdbm gif gpm gstreamer hal hdaps hddtemp ibmacpi iconv immqt-bc isdnlog iwlwifi jabber jpeg kde kdexdeltas kerberos ldap lm_sensors mad midi mikmod mmx mng mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline realmedia reflection samba scanner sdl session snmp spell spl sse sse2 ssl svg tcpd tiff truetype unicode vorbis wifi wmp xml xorg xosd xv zlib" ALSA_CARDS="hda-intel" 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="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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Martin Tesař 2008-05-04 12:33:20 UTC
As for /var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf-var/web2c - there is only empty pdftex directory.
Comment 2 Martin Wegner 2008-05-07 18:25:33 UTC
I have the same problem here, paludis fails with this message:

>>> Done src_unpack
>>> Starting src_compile
 * Building format texmf/fmtutil/format.latex.cnf
fmtutil: format directory `/var/tmp/paludis/dev-texlive-texlive-latex-2007/work/texmf-var/web2c' does not exist.

!!! ERROR in dev-texlive/texlive-latex-2007:
!!! In texlive-module_src_compile at line 1470
!!! failed to build format texmf/fmtutil/format.latex.cnf

!!! Call stack:
!!!    * texlive-module_src_compile (/var/tmp/paludis/dev-texlive-texlive-latex-2007/temp/loadsaveenv:1470)
!!!    * src_compile (/var/tmp/paludis/dev-texlive-texlive-latex-2007/temp/loadsaveenv:1394)
!!!    * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:49)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:460)
!!!    * main (/usr/libexec/paludis/ebuild.bash:479)

diefunc: making ebuild PID 20612 exit with error
die trap: exiting with error.

Install error:
  * In program paludis (--dl-reinstall if-use-changed --continue-on-failure if-satisfied --log-level warning) -i texlive:
  * When performing install action from command line:
  * When executing install task:
  * When installing 'dev-texlive/texlive-latex-2007:0::gentoo':
  * Install error: Install failed for 'dev-texlive/texlive-latex-2007:0::gentoo'

$ emerge --info
Portage 2.1.5_rc7 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r2, 2.6.25-gentoo-r2-mw x86_64)
=================================================================
System uname: 2.6.25-gentoo-r2-mw x86_64 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
Timestamp of tree: Tue, 06 May 2008 17:15:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r6, 2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.3
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -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/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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS=""
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd unicode xorg 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 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" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64      mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis       sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Alexis Ballier gentoo-dev 2008-05-10 14:13:31 UTC
(In reply to comment #0)
> (/var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf-dist/tex/generic/ba
> bel/hyphen.cfg
> I couldn't find the file language.dat, I will try the file hyphen.tex
> ! I can't find file `hyphen.tex'.

hmm those files should be provided by texlive-basic; is it installed ?
If yes, what files did it install ?
Comment 4 Alexis Ballier gentoo-dev 2008-05-10 14:16:06 UTC
(In reply to comment #2)

> `/var/tmp/paludis/dev-texlive-texlive-latex-2007/work/texmf-var/web2c' does not
> exist.

different issue, probably due to an unclean uninstall, please refer to:
http://www.gentoo.org/proj/en/tex/texlive-migration-guide.xml#doc_chap4_sect3
Comment 5 Martin Tesař 2008-05-12 06:28:50 UTC
(In reply to comment #3)
> (In reply to comment #0)
> > (/var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf-dist/tex/generic/ba
> > bel/hyphen.cfg
> > I couldn't find the file language.dat, I will try the file hyphen.tex
> > ! I can't find file `hyphen.tex'.
> 
> hmm those files should be provided by texlive-basic; is it installed ?
> If yes, what files did it install ?
> 

Yes, it is installed. But thanks to your information I reemerged texlive-basic and now texlive-latex installs fine.

Sorry for reporting my fault as bug. The problem is, that I cannot get the list of all required packages for my texlive installation (I remembered texlive-core, but not texlive-basic). Is there any such list available after you have texlive installed, just for the case you have to repair your installation? When I tried to reemerge texlive package, it stopped because of texlive-latex.

Thanks a lot again. 
Comment 6 Alexis Ballier gentoo-dev 2008-05-12 06:46:02 UTC
(In reply to comment #5)
> Sorry for reporting my fault as bug. The problem is, that I cannot get the list
> of all required packages for my texlive installation (I remembered
> texlive-core, but not texlive-basic). Is there any such list available after
> you have texlive installed, just for the case you have to repair your
> installation?

I dont know how you managed to not have texlive-basic when installing texlive-latex; almost all dev-texlive ebuilds depend on it so your package manager should install it.
The list should be the deps of any ebuild as they have to be installable alone and have correct deps ;)

Marking as worksforme then
Comment 7 Dave Bender 2008-11-13 06:36:35 UTC
Created attachment 171611 [details]
paludis -i texlive-latex