Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90334 - lilypond-2.5.2 fails to emerge due to metafont problem
Summary: lilypond-2.5.2 fails to emerge due to metafont problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
: 107092 116318 120499 121593 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-24 23:42 UTC by Joerg Erdmenger
Modified: 2006-03-27 16:13 UTC (History)
8 users (show)

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


Attachments
patched lilypond-2.5.2.ebuild (lilypond-2.5.2.ebuild,3.19 KB, text/plain)
2005-05-19 06:52 UTC, Andre Kloth
Details
lilypond-2.5.2-metafont-rules.patch (lilypond-2.5.2-metafont-rules.patch,449 bytes, patch)
2005-05-19 06:54 UTC, Andre Kloth
Details | Diff
alt. patch (lilypond-2.5.2-mftrace-compat.patch,1.40 KB, patch)
2006-03-08 12:30 UTC, Falk Rohsiepe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Erdmenger 2005-04-24 23:42:57 UTC
make[1]: Entering directory `/var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/mf'
mf-nowin "\mode:=laserjet; nonstopmode; input feta11.mf;"
This is METAFONT, Version 2.71828 (Web2C 7.5.4)
kpathsea: Running mktexfmt mf-nowin.base
fmtutil: no info for format `mf-nowin'.
I can't find the base file `mf-nowin.base'!
make[1]: *** [out/feta11.tfm] Error 1
make[1]: Leaving directory `/var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/mf'
make: *** [all] Error 2

Reproducible: Always
Steps to Reproduce:
1. emerge lilypond

Actual Results:  
emerge fails

Expected Results:  
successfully finishing the emerge

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.3.20040420-r0,
2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.3-r1 [2.3.3 (#1, May 14 2004, 08:16:31)]
dev-lang/python:     2.3.3-r1
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.90.0.1.1-r3
sys-devel/libtool:   1.5.2-r5
virtual/os-headers:  2.6.7-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr
-frename-registers -fprefetch-loop-arrays -falign-functions=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr
-frename-registers -fprefetch-loop-arrays -falign-functions=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/myportage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 opengl xv linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Joerg Erdmenger 2005-04-25 01:20:24 UTC
ok I upgraded to tetex 3.0-r2 (from 3.0-r1) and now the problem has changed to

mftrace --encoding feta11.enc -I ./out/ --pfa --simplify feta11

error: getopt says: `option --pfa not recognized'

Usage: mftrace [OPTION]... FILE...

Generate Type1 or TrueType font from Metafont source.

Example:

   mftrace cmr10

Options:
  -h,--help                    This help
  -k,--keep                    Keep all output in directory mftrace.dir
     --keep-all                Really keep all output (implies --keep)
     --magnification=MAG       Set magnification for MF to MAG (default: 1000)
  -V,--verbose                 Verbose
  -v,--version                 Print version number
  -f,--formats=FMT1,FMT2,etc   Which formats to generate (choices: AFM, PFA, PFB, TTF, SVG)
     --simplify                Simplify using fontforge
     --gffile=FILE             Use gf FILE instead of running Metafont
  -I,--include=DIR             Add to path for searching files
     --glyphs=LIST             Process only these glyphs.  LIST is comma separated
     --tfmfile=FILE            Use FILE for the TFM file
  -e,--encoding=FILE           Use encoding file FILE
  -t,--truetype                Generate TrueType file (requires fontforge)
     --keep-trying             Don't stop if tracing fails
  -w,--warranty                show warranty and copyright
     --dos-kpath               try to use Miktex kpsewhich
     --potrace                 Use potrace
     --autotrace               Use autotrace
     --no-afm                  Don't read AFM file
     --noround                 Do not round coordinates of control points
                             to integer values (use with --grid)
     --grid=GRID               Set reciprocal grid size in em units


Report bugs to hanwen@cs.uu.nl
make[1]: *** [out/feta11.pfa] Error 2
make[1]: Leaving directory `/var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/mf'
make: *** [all] Error 2

!!! ERROR: media-sound/lilypond-2.5.2 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

I'm not very much of a tex person nor do I have a clue about make but I something tells me that it might be a problem of using tetex 3 rather than version two - haven't tested that yet though. Needs to be fixed anyway ...
Comment 2 Jess Aunsbjørn 2005-05-02 16:19:06 UTC
Have the same problem, just with diferent "font"

make[1]: Entering directory `/var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/mf'
mf-nowin "\mode:=laserjet; nonstopmode; input feta11.mf;"
This is METAFONT, Version 2.71828 (Web2C 7.5.4)
kpathsea: Running mktexfmt mf-nowin.base
fmtutil: no info for format `mf-nowin'.
I can't find the base file `mf-nowin.base'!
make[1]: *** [out/feta11.tfm] Error 1
make[1]: Leaving directory `/var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/mf'
make: *** [all] Error 2

!!! ERROR: media-sound/lilypond-2.5.2 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 3 Andre Kloth 2005-05-19 05:22:31 UTC
I have the same problem as Joerg, but with tetex 2.0.2-r6.
Comment 4 Andre Kloth 2005-05-19 06:52:00 UTC
Created attachment 59304 [details]
patched lilypond-2.5.2.ebuild
Comment 5 Andre Kloth 2005-05-19 06:54:38 UTC
Created attachment 59305 [details, diff]
lilypond-2.5.2-metafont-rules.patch

mftrace does not need the --pfa option. --pfa is already the default value. I
do not know, why this really happens, but when I remove --pfa it compiles
without problems.
Comment 6 Matthew Schulkind 2005-05-23 11:09:00 UTC
That patch didn't help here.

Calculating dependencies ...done!
>>> emerge (1 of 2) media-sound/lilypond-2.5.2 to /
>>> md5 files   ;-) lilypond-2.5.2.ebuild
>>> md5 files   ;-) files/digest-lilypond-2.5.2
>>> md5 files   ;-) files/lilypond-2.5.2-metafont-rules.patch
>>> md5 src_uri ;-) lilypond-2.5.2.tar.gz
>>> Unpacking source...
>>> Unpacking lilypond-2.5.2.tar.gz to /var/tmp/portage/lilypond-2.5.2/work
 * Applying lilypond-2.5.2-metafont-rules.patch ...                       [ ok ]
>>> Source unpacked.


....


mf-nowin "\mode:=laserjet; nonstopmode; input feta11.mf;
This is METAFONT, Version 2.71828 (Web2C 7.5.4)
kpathsea: Running mktexfmt mf-nowin.base
fmtutil: no info for format `mf-nowin'.
I can't find the base file `mf-nowin.base'!
make[1]: *** [out/feta11.tfm] Error 1
make[1]: Leaving directory `/var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/mf'
make: *** [all] Error 2




Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.4.29 i686)
=================================================================
System uname: 2.4.29 i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar  5 2005, 16:39:19)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-mp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.cc.columbia.edu/pub/linux/gentoo/distro
ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp-mirror.internap.com/pub/gentoo/ http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr
crypt cscope cups curl divx4linux doc dts dvd dvdr eds emacs emboss encode esd
fam fame flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2
gtkhtml guile imagemagick imap imlib ipv6 jack java jpeg junit kde ldap libg++
libwww lirc mad mikmod mjpeg mmx motif mozilla mp3 mpeg mysql ncurses nls ogg
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl
slang snmp spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts usb videos vorbis wxwindows x86 xine xml xml2 xmms xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 7 Jan Essert 2005-09-12 10:30:58 UTC
Since it's been 3 months I'd like to add that for me this bug persists: 
 
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make 
rule. 
mf-nowin "\mode:=laserjet; nonstopmode; input feta11.mf;" 
This is METAFONT, Version 2.71828 (Web2C 7.5.4) 
kpathsea: Running mktexfmt mf-nowin.base 
fmtutil: no info for format `mf-nowin'. 
I can't find the base file `mf-nowin.base'! 
make[1]: *** [out/feta11.tfm] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/mf' 
make: *** [all] Error 2 
 
Running a pure ~x86 system, emerge info: 
Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.13-gentoo i686) 
================================================================= 
System uname: 2.6.13-gentoo i686 AMD Athlon(tm) processor 
Gentoo Base System version 1.12.0_pre8 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.4 [enabled] 
dev-lang/python:     2.4.1-r1 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer -m3dnow -mmmx" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/initng /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer -m3dnow -mmmx 
-fvisibility-inlines-hidden" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv 
usersandbox" 
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
ftp://mirror.nutsmaas.nl/gentoo/ http://mirror.isp.net.au/pub/gentoo/ 
http://ftp.easynet.nl/mirror/gentoo/" 
LANG="de_DE.utf8" 
LC_ALL="de_DE.utf8" 
LINGUAS="de" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo-x86-portage/" 
USE="x86 3dnow 3dnowext X aalib acpi alsa apache2 avi berkdb bitmap-fonts cdr 
crypt cups curl divx4linux dvd dvdr eds emboss encode fam flac foomaticdb 
fortran gdbm gif gstreamer gtk2 guile icq imagemagick jabber java jpeg kde 
kdeenablefinal kdexdeltas libg++ libwww mad maildir mbox mikmod mmx mmxext mp3 
mpeg musepack mysql ncurses nls nptl nvidia offensive ogg oggvorbis opengl 
oscar pam pda pdflib perl pic png python qt quicktime readline real sdl spell 
ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb videos 
vorbis xine xml2 xv xvid xvmc zlib linguas_de userland_GNU kernel_linux 
elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS 
Comment 8 Jean Bréfort 2005-09-12 10:41:05 UTC
We should use now 2.6.x which compiles fine at least on x86 and amd64.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-09-24 07:41:09 UTC
*** Bug 107092 has been marked as a duplicate of this bug. ***
Comment 10 Ole Christian Tvedt 2005-11-13 12:37:52 UTC
I got the
  make[1]: *** [out/feta11.pfa] Error 2
error, and as far as I can see, it's because the mftrace interface has changed.
lilypond versions <=2.5 needs mftrace 1.0, not 1.1.

This is my solution:
echo ">app-text/mftrace-1.0.34" >> /etc/portage/package.mask

Now all I have to do is remember to remove that line from package.mask when
lilypond 2.6 hits portage... :P
Comment 11 Ed Davison 2005-12-14 11:08:54 UTC
> lilypond versions <=2.5 needs mftrace 1.0, not 1.1.

> This is my solution:
> echo ">app-text/mftrace-1.0.34" >> /etc/portage/package.mask

This fixed it for me as well.  Using mftrace 1.1 does not work for lilypond
version 2.5.2 but mftrace 1.0 does.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2005-12-21 13:08:34 UTC
*** Bug 116318 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-01-27 01:15:17 UTC
*** Bug 120499 has been marked as a duplicate of this bug. ***
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2006-02-04 14:02:56 UTC
*** Bug 121593 has been marked as a duplicate of this bug. ***
Comment 15 Falk Rohsiepe 2006-03-08 12:30:24 UTC
Created attachment 81715 [details, diff]
alt. patch

mftrace 1.1.17 (and presumably other versions) does not support --pfa nor --pfb options. Instead, use --formats=PFA,PFB