Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 24647

Summary: Python chokes on LilyPond build
Product: Gentoo Linux Reporter: Luke Maurer (Jyrinx) <Luke.Maurer>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mike
Priority: High    
Version: 1.4_rc4   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Luke Maurer (Jyrinx) 2003-07-17 02:19:40 UTC
All goes well building lilypond-1.6.9, until:

/usr/bin/python ../buildscripts/mf-to-table.py
--package=/var/tmp/portage/lilypond-1.6.9/work/lilypond-1.6.9 --outdir=./out
--dep ./out/feta11.dep  --afm ./out/feta11.afm  --enc ./out/feta11.enc --tex
./out/feta11.tex --ly ./out/feta11list.ly out/feta11.log
Reading checksum from `out/feta11.tfm'
Traceback (most recent call last):
  File "../buildscripts/mf-to-table.py", line 256, in ?
    write_afm_metric (afm, g, m)
  File "../buildscripts/mf-to-table.py", line 132, in write_afm_metric
    write_afm_char_metric (file,m)
  File "../buildscripts/mf-to-table.py", line 121, in write_afm_char_metric
    file.write ('C %d ; WX %d ; N  %s ;  B %d %d %d %d ;\n'% tup)
OverflowError: float too large to convert
make[1]: *** [out/feta11.tex] Error 1
make[1]: Leaving directory `/var/tmp/portage/lilypond-1.6.9/work/lilypond-1.6.9/mf'
make: *** [all] Error 2
 
!!! ERROR: media-sound/lilypond-1.6.9 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! emake failed
 
---

This looks different from bug #21305; no parser or lexer code seems to be involved.

Anyway, I'm running Python 2.2.3-r1 (and nearly everything else on the system is
up to date, too). (Also kernel 2.5.70, on the off-chance it matters ...)

Here's emerge info:

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.5.70 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.90GHz
GENTOO_MIRRORS="http://www.ibiblio.org/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/init.d /etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
gtkhtml gdbm berkdb slang readline arts nas java sdl gpm tcpd pam libwww ssl
perl python esd imlib oggvorbis motif opengl mozilla cdr X gtk gnome alsa -kde
-qt aalib apm dvd evo flash ggz guile jikes ldap libgda pcmcia pda pic plotutils
pnp samba slp sse svga tetex tiff trusted wmf tcltk acpi4linux moznoirc
moznocompose moznomail mozsvg gtk2 doc acl gstreamer bonobo"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache nostrip"

---

Luke Maurer
maurerl@carleton.edu
Comment 1 Luke Maurer (Jyrinx) 2003-07-17 12:27:30 UTC
Update: I just now tried compiling manually from the tarball (./configure; make all - nothing fancy); I get the same error.
Comment 2 Luke Maurer (Jyrinx) 2003-07-17 13:30:46 UTC
Same with LilyPond 1.6.11.
Comment 3 Luke Maurer (Jyrinx) 2003-07-17 13:49:38 UTC
And 1.7.24 (unstable).
Comment 4 Michael Ossmann 2003-07-17 20:30:52 UTC
You're not going to like this, but take a look at:

http://forums.gentoo.org/viewtopic.php?t=43373
Comment 5 Luke Maurer (Jyrinx) 2003-07-18 00:10:57 UTC
Oops ... guess that's what I get for going straight to BugZilla :-) ... (though I'd have never guessed it was such a low-level problem ...)

Anyway, that got me up to where bug #21305 kicks in - but as that was solved not thirteen hours ago, I'm now up and running. Thanks!
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-07-18 10:32:36 UTC
yep, i like it when bugs solve themselves. thanks mike

*** This bug has been marked as a duplicate of 18322 ***