Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13396 - media-sound/lilypond-1.6.6 fails to compile
Summary: media-sound/lilypond-1.6.6 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 12554 13789
Blocks:
  Show dependency tree
 
Reported: 2003-01-06 19:04 UTC by Jon M. Hanson
Modified: 2003-02-22 11:57 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 Jon M. Hanson 2003-01-06 19:04:41 UTC
In trying to emerge Lilypond to my Gentoo system I got the following error:

make[1]: Leaving directory `/var/tmp/portage/lilypond-1.6.6/work/lilypond-1.6.6/
lily'
make[1]: Entering directory `/var/tmp/portage/lilypond-1.6.6/work/lilypond-1.6.6
/mf'
/var/tmp/portage/lilypond-1.6.6/work/lilypond-1.6.6/stepmake/stepmake/generic-ta
rgets.make:133: out/dummy.dep: No such file or directory
mkdir -p ./out
touch ./out/dummy.dep
make[1]: Leaving directory `/var/tmp/portage/lilypond-1.6.6/work/lilypond-1.6.6/
mf'
make[1]: Entering directory `/var/tmp/portage/lilypond-1.6.6/work/lilypond-1.6.6
/mf'
mf "\mode:=laserjet; nonstopmode; input feta-braces0.mf;"
This is METAFONT, Version 2.7182 (Web2C 7.3.1)
I can't find the base file `mf.base'!
make[1]: *** [out/feta-braces0.tfm] Error 1
make[1]: Leaving directory `/var/tmp/portage/lilypond-1.6.6/work/lilypond-1.6.6/
mf'
make: *** [all] Error 2

!!! ERROR: media-sound/lilypond-1.6.6 failed.
!!! Function src_compile, Line 70, Exitcode 2
!!! emake failed
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2003-01-08 08:26:33 UTC
I'm looking into this.  Could you please post the output of "emerge info" on
your system?

Thanks,
Aron
Comment 2 Jon M. Hanson 2003-01-08 08:41:20 UTC
Here is the information you requested:

karen root # emerge info
Portage 2.0.46-r4 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
USE="x86 oss apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx mpeg ncu
rses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib alsa gdbm be
rkdb slang readline arts tetex svga tcltk java guile X sdl gpm tcpd pam libwww s
sl perl python esd imlib oggvorbis gtk qt kde motif opengl -3dnow acpi cdr dvd g
photo2 gtk2 imap mozilla sse"
ARCH="x86"
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"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X
11/xkb /usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j1"
JDK_HOME="/opt/blackdown-jdk-1.3.1"
JAVA_HOME="/opt/blackdown-jdk-1.3.1"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2003-01-08 13:30:11 UTC
I've repeated this problem (on Gentoo/Alpha actually) and I'm working on
figuring out a solution...  This used to work!
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2003-01-18 11:16:52 UTC
I believe this is fixed by depending on tetex-1.0.7-r12 (just changed this
morning).  Please give it a try and let me know.

Aron
Comment 5 Oliver Schoett 2003-01-18 18:25:15 UTC
Compilation still fails:

make PACKAGE=LILYPOND package=lilypond -C include all && true
make[2]: Entering directory
`/var/tmp/portage/lilypond-1.6.6/work/lilypond-1.6.6/lily/include'
true
make[2]: Leaving directory
`/var/tmp/portage/lilypond-1.6.6/work/lilypond-1.6.6/lily/include'
rm out/parser.cc
make[1]: Leaving directory
`/var/tmp/portage/lilypond-1.6.6/work/lilypond-1.6.6/lily'
make[1]: Entering directory `/var/tmp/portage/lilypond-1.6.6/work/lilypond-1.6.6/mf'
/var/tmp/portage/lilypond-1.6.6/work/lilypond-1.6.6/stepmake/stepmake/generic-targets.make:133:
out/dummy.dep: No such file or directory
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
mkdir -p ./out
touch ./out/dummy.dep
make[1]: Leaving directory `/var/tmp/portage/lilypond-1.6.6/work/lilypond-1.6.6/mf'
make[1]: Entering directory `/var/tmp/portage/lilypond-1.6.6/work/lilypond-1.6.6/mf'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
mf "\mode:=laserjet; nonstopmode; input feta-braces0.mf;"
This is METAFONT, Version 2.7182 (Web2C 7.3.1)
I can't find the base file `mf.base'!
make[1]: *** [out/feta-braces0.tfm] Error 1
make[1]: Leaving directory `/var/tmp/portage/lilypond-1.6.6/work/lilypond-1.6.6/mf'
make: *** [all] Error 2

!!! ERROR: media-sound/lilypond-1.6.6 failed.
!!! Function src_compile, Line 70, Exitcode 2
!!! emake failed
Comment 6 Aron Griffis (RETIRED) gentoo-dev 2003-01-18 21:38:28 UTC
Hi,

My apologies for the bogus fix.  I had tested but my installation wasn't clean
when I tried, so it worked for me.

I've made another update to the tetex ebuild which I think will fix the problem
you're seeing.  If you don't mind, give it another try and let me know.  You
will need to manually remerge tetex since I didn't bump the revision again...

emerge sync
emerge tetex
emerge lilypond

Thanks,
Aron
Comment 7 Oliver Schoett 2003-01-19 07:38:30 UTC
Yes, I now managed to build lilypond-1.6.6 without problem.
Comment 8 Aron Griffis (RETIRED) gentoo-dev 2003-01-19 07:46:33 UTC
Great!  Sorry for the long holdup on this one.  Have fun composing...

Aron
Comment 9 Jon M. Hanson 2003-01-19 17:14:42 UTC
TeTeX compiles fine for me now but I'm still having some kind of problem with
Lilypond. In the "emerge lilypond" phase I get the following error:

/usr/bin/python ../buildscripts/mf-to-table.py
--package=/var/tmp/portage/lilypond-1.6.6/work/lilypond-1.6.6 --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 237, in ?
    write_afm_metric (afm, g,m)
  File "../buildscripts/mf-to-table.py", line 115, in write_afm_metric
    write_afm_char_metric (file,m)
  File "../buildscripts/mf-to-table.py", line 104, 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.6/work/lilypond-1.6.6/mf'
make: *** [all] Error 2

!!! ERROR: media-sound/lilypond-1.6.6 failed.
!!! Function src_compile, Line 70, Exitcode 2
!!! emake failed

I cleaned out all of the files in /usr/portage/distfiles and did an "emerge
sync" before doing the "emerge tetex" and "emerge lilypond".
Comment 10 Aron Griffis (RETIRED) gentoo-dev 2003-01-19 19:03:11 UTC
Okay, this isn't a lilypond problem per se, it's really a Python problem.  The
bug you're hitting is described in bug 12554.  Go take a look and tell me what
you think.  I don't think I can reproduce this problem.

Aron
Comment 11 Jon M. Hanson 2003-01-19 21:53:20 UTC
I looked at 12554 and was able to reproduce that Python problem on my system as
descibed in the description of that bug. I concur that this isn't a problem with
Lilypond's ebuild script.
Comment 12 Aron Griffis (RETIRED) gentoo-dev 2003-02-22 11:57:50 UTC
All the bugs blocking this have been fixed.  Closing this bug.