Bug 13396 - media-sound/lilypond-1.6.6 fails to compile
|
Bug#:
13396
|
Product: Gentoo Linux
|
Version: 1.4_rc2
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: agriffis@gentoo.org
|
Reported By: hansonj@jon-hanson.net
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: media-sound/lilypond-1.6.6 fails to compile
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-01-06 19:04 0000
|
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
I'm looking into this. Could you please post the output of "emerge info" on
your system?
Thanks,
Aron
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"
I've repeated this problem (on Gentoo/Alpha actually) and I'm working on
figuring out a solution... This used to work!
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
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
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
Yes, I now managed to build lilypond-1.6.6 without problem.
Great! Sorry for the long holdup on this one. Have fun composing...
Aron
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".
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
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.
All the bugs blocking this have been fixed. Closing this bug.