Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366593 - dev-texlive/texlive-basic-2008-r1 fails with kpathsea:Running mktexmf cmr10 ! I can't find file `cmr10'
Summary: dev-texlive/texlive-basic-2008-r1 fails with kpathsea:Running mktexmf cmr10 !...
Status: RESOLVED DUPLICATE of bug 262177
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-09 13:37 UTC by Lori
Modified: 2011-05-16 11:46 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lori 2011-05-09 13:37:35 UTC
I have a fresh Gentoo install on an amd64 system, using the default/linux/amd64/10.0/desktop/kde profile. When emerging texlive-2008, the package texlive-basic-2008-r1 fails with the following message:

 * Building format texmf/fmtutil/format.metafont.cnf
fmtutil: running `mf-nowin -ini   -jobname=mf -progname=mf -translate-file=cp227.tcx mf.ini' ...
This is METAFONT, Version 2.718281 (Web2C 7.5.7) (INIMF)
(/usr/share/texmf/web2c/cp227.tcx)

(/var/tmp/portage/dev-texlive/texlive-basic-2008-r1/work/texmf-dist/metafont/co
nfig/mf.ini
(/var/tmp/portage/dev-texlive/texlive-basic-2008-r1/work/texmf-dist/metafont/ba
se/plain.mf
Preloading the plain base, version 2.71: preliminaries,
 basic constants and mathematical macros,
 macros for converting from device-independent units to pixels,
 macros and tables for various modes of operation,
 macros for drawing and filling,
 macros for proof labels and rules,
 macros for character and font administration,
and a few last-minute items.)
(/var/tmp/portage/dev-texlive/texlive-basic-2008-r1/work/texmf-dist/metafont/mi
sc/modes.mf) )
Beginning to dump on file mf.base
 (base=mf 2011.5.9)
2225 strings of total length 30199
11864 memory locations dumped; current usage is 3658&7844
1004 symbolic tokens
Transcript written on mf.log.
fmtutil: /var/tmp/portage/dev-texlive/texlive-basic-2008-r1/work/texmf-var/web2c/metafont/mf.base installed.
 * Building format texmf/fmtutil/format.tex.cnf
fmtutil: running `tex -ini   -jobname=tex -progname=tex tex.ini' ...
This is TeX, Version 3.1415926 (Web2C 7.5.7) (INITEX)

(/var/tmp/portage/dev-texlive/texlive-basic-2008-r1/work/texmf-dist/tex/plain/c
onfig/tex.ini
(/var/tmp/portage/dev-texlive/texlive-basic-2008-r1/work/texmf-dist/tex/plain/b
ase/plain.tex Preloading the plain format: codes, registers, parameters,
fonts,
kpathsea: Running mktextfm cmr10
/usr/share/texmf/web2c/mktexnam: Could not map source abbreviation  for cmr10.
/usr/share/texmf/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cmr10
This is METAFONT, Version 2.718281 (Web2C 7.5.7)


kpathsea: Running mktexmf cmr10
! I can't find file `cmr10'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input cmr10
                                                  
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input cmr10
                                                  
Transcript written on mfput.log.
grep: cmr10.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input cmr10' failed to make cmr10.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font \tenrm=cmr10 not loadable: Metric (TFM) file not found.
<to be read again> 
                   \font 
l.401 \font
           \preloaded=cmr9
? 
! Emergency stop.
<to be read again> 
                   \font 
l.401 \font
           \preloaded=cmr9
No pages of output.
Transcript written on tex.log.
Error: `tex -ini  -jobname=tex -progname=tex tex.ini' failed

###############################################################################
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
  /var/tmp/portage/dev-texlive/texlive-basic-2008-r1/work/texmf-var/web2c
for details.
###############################################################################

This is a summary of all `failed' messages and warnings:
`tex -ini  -jobname=tex -progname=tex tex.ini' failed
 * ERROR: dev-texlive/texlive-basic-2008-r1 failed (compile phase):
 *   failed to build format texmf/fmtutil/format.tex.cnf
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2298:  Called texlive-module_src_compile
 *   environment, line 2878:  Called die
 * The specific snippet of code:
 *               VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var" env -u TEXINPUTS fmtutil --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all || die "failed to build format ${i}";
 * 
 * If you need support, post the output of 'emerge --info =dev-texlive/texlive-basic-2008-r1',
 * the complete build log and the output of 'emerge -pqv =dev-texlive/texlive-basic-2008-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-texlive/texlive-basic-2008-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-texlive/texlive-basic-2008-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-texlive/texlive-basic-2008-r1/work'

>>> Failed to emerge dev-texlive/texlive-basic-2008-r1, Log file:

>>>  '/var/tmp/portage/dev-texlive/texlive-basic-2008-r1/temp/build.log'

I checked bug 262177, which is very similar (if not the same), closed as RESOLVED, but I can't find any information that could help me solve the issue. Looking through the forums and Google wasn't helpful either.

# emerge --info 
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, libc-0-r0, 2.6.38.4-zen x86_64)
=================================================================
System uname: Linux-2.6.38.4-zen-x86_64-Pentium-R-_Dual-Core_CPU_E6800_@_3.33GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 09 May 2011 07:45:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.11.3
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo-euetib.upc.es/mirror/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ca de en en_US es hu ro"
MAKEOPTS="-j3"
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.es.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cscope cups cxx dbus djvu dri dts dvd dvdr emboss encode exif fam firefox flac fontconfig fortran ftp gdbm gdu gif git gpm graphviz gtk hddtemp iconv icu ipv6 java javascript jpeg kde kpathsea lcms ldap libnotify lzma mad mmx mng modules mp3 mp4 mpeg mpi mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline samba sdl session spell sqlite sse sse2 sse3 ssl ssse3 startup-notification subversion svg symlink sysfs tcpd threads tiff truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid xvmc 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 cgi cgid 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ca de en en_US es hu ro" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-12 21:22:15 UTC
Please attach the entire build log to this bug report.
Comment 2 Lori 2011-05-12 21:39:35 UTC
In the meanwhile I solved the issue by editing /usr/portage/eclass/texlive-module.eclass, adding the lines suggested in Comment #27 https://bugs.gentoo.org/show_bug.cgi?id=262177#c27 of bug 262177.

I'm not sure why that patch did not end up in portage, maybe it conflicts with the newer versions?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-16 11:16:14 UTC
OK.

*** This bug has been marked as a duplicate of bug 262177 ***
Comment 4 Lori 2011-05-16 11:46:16 UTC
Does this mean that texlive-module.eclass will not be updated in portage with those lines fixing this bug? Considering that 2008 is the stable version of texlive and that people hit this bug on a fresh install, the file should definitely be fixed, IMHO.