Adapted lilypond-2.0.3.ebuild to the new 2.2.0: -not sure of the location of the vim tools Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 28625 [details] lilypond-2.2.0.ebuild
On my system the ebuild stops with this error message: [...] Reading checksum from `out/parmesan26.tfm' mftrace --encoding feta11.enc -I ./out/ --pfa --simplify feta11 mftrace 1.0.19 Font `feta11'... /usr/lib/python2.3/site-packages/mftrace/tfm.py:8: FutureWarning: x<<y losing bits or changing sign will return a long in Python 2.4 and up cs = cs + (ord (b) << shift) Using encoding file: `./out/feta11.enc' Running Metafont... Tracing bitmaps... [33][34][35][36][37][38][39][40][41][42][43][44][45][46][47][48][49][50][51][52][53][54][55][56][57][58][59][60][61][62][63][64][65][66][67][68][69][70][71][72][73][74][75][76][77][78][79][80][81][82][83][84][85][86][87][88][89][90][91][92][93][94][95][96][97][98][99][100][101][102][103][104][105][106][107][108][109][110][111][112][113][114][115][116][117][118][119][120][121][122][123][124][125][126][127][128][129][130][131][132][133][134][135][136][137][138][139][140][141][142][143][144][145][146][147][148][149][150][151][152][153][154][155][156][157][158][159][160][161][162][163][164][165][166][167][168][169][170][171][172][173][174][175][176][177][178][179][180][181][182][183][184] Assembling font to `feta11.pfa'... This is t1asm 1.2. t1asm: invalid option -- - usage: t1asm [-b] [-l block-length] [input [output]] -b means output in PFB format, otherwise PFA format. The block length applies to the length of blocks in the PFB output file; the default is to use the largest possible. error: t1asm: command exited with value 256 Traceback (most recent call last): File "/usr/bin/mftrace", line 1042, in ? autotrace_font (basename, gf_fontname, metric, glyph_range, encoding, magnification) File "/usr/bin/mftrace", line 558, in autotrace_font to_type1 (t1os, font_bbox, fontname, encoding, magnification, 1) File "/usr/bin/mftrace", line 672, in to_type1 system ('t1asm %s mftrace.t1asm %s' % (opt, outname)) File "/usr/bin/mftrace", line 231, in system error (msg) File "/usr/bin/mftrace", line 122, in error raise _ ("Exiting ... ") Exiting ... make[1]: *** [out/feta11.pfa] Error 1 make[1]: Leaving directory `/var/tmp/portage/lilypond-2.2.0/work/lilypond-2.2.0/mf' make: *** [all] Error 2 !!! ERROR: media-sound/lilypond-2.2.0 failed. !!! Function src_compile, Line 46, Exitcode 2 !!! emake failed The version of freetype (contains t1asm) is 2.1.4. Further information: # emerge -pv lilypond These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] media-sound/lilypond-2.2.0 [2.0.3] -doc 0 kB [1] Total size of downloads: 0 kB Portage overlays: [1] /usr/local/portage # emerge info Portage 2.0.50-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.3-mm2) ================================================================= System uname: 2.6.3-mm2 i686 Pentium III (Katmai) Gentoo Base System version 1.4.3.10 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa apache2 apm arts avi berkdb cap cdr crypt cups doc dvd encode flac foomaticdb gdbm ggi gif gphoto2 gpm gtk2 guile imagemagick imlib jack jack-tmpfs java jpeg kde ladcca lcms libg++ libwww mad maildir mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl pam pdflib perl pic png python qt quicktime readline samba sdl slang speex spell sse ssl svga tcltk tcpd tetex tiff truetype usb wmf x86 xml xml2 xmms xv zlib"
Hmmm. The error looks a lot like bug 85830. Can you try that fix? This 2.2.0 ebuild works for me with and without USE="doc".
Mike, the bug number you refer to is incorrect.
The bug number in Mike's comment should be bug 35830
$ t1asm --version This is t1asm 1.2. t1asm: invalid option -- - usage: t1asm [-b] [-l block-length] [input [output]] -b means output in PFB format, otherwise PFA format. The block length applies to the length of blocks in the PFB output file; the default is to use the largest possible. mki@ghoul mki $ mftrace --version mftrace 1.0.19 $ etcat versions t1utils [ Results for search key : t1utils ] [ Candidate applications found : 3 ] Only printing found installed programs. * app-text/t1utils : [ ] 1.23 (0) [ ] 1.25 (0) [ ~I] 1.28 (0) $ etcat versions mftrace [ Results for search key : mftrace ] [ Candidate applications found : 2 ] Only printing found installed programs. * app-text/mftrace : [ ] 1.0.10 (1) [ I] 1.0.19 (1) So I should have the newest versions of t1utils and mftrace installed. emerge lilypond still terminates with the same error message.
I emerged t1utils and mftrace. This resulted in reemerging exactly the same versions. But now I get $ t1asm --version t1asm (LCDF t1utils) 1.28 Copyright (C) 1992-2003 I. Lee Hetherington, Eddie Kohler et al. This is free software; see the source for copying conditions. There is NO warranty, not even for merchantability or fitness for a particular purpose. which shows that I got a newer version, and emerge lilypond worked now. I have problems with my system clock which sometimes changes. Probably the last time the clock was wrong, and the new version of t1enc got not installed because emerge thougt that the old one was newer. Nevertheless, I think there should be depencencies on the correct versions of t1lib and ftrace in the lilypond ebuild. Now I have a new problem, on an iBook. I get these only when compiling with +doc. Compiling with -doc works. This is the error message: Now processing `lily-1275752377.ly' Parsing... input renamed to: `beam-break.ly' Interpreting music... [2] Preprocessing graphical objects... Calculating line breaks... lilypond-bin: ../flower/include/array.hh:149: T& Array<T>::elem_ref(int) const [with T = Quant_score]: Assertion `i >=0&&i<size_' failed. lilypond-book: error: `lilypond-bin' failed (signal 6) Traceback (most recent call last): File "/var/tmp/portage/lilypond-2.2.0/work/lilypond-2.2.0/scripts/lilypond-book.py", line 1042, in ? main () File "/var/tmp/portage/lilypond-2.2.0/work/lilypond-2.2.0/scripts/lilypond-book.py", line 1039, in main do_file (files[0]) File "/var/tmp/portage/lilypond-2.2.0/work/lilypond-2.2.0/scripts/lilypond-book.py", line 958, in do_file process_snippets (process_cmd, outdated) File "/var/tmp/portage/lilypond-2.2.0/work/lilypond-2.2.0/scripts/lilypond-book.py", line 793, in process_snippets ly.system (string.join ([cmd] + names)) File "/var/tmp/portage/lilypond-2.2.0/work/lilypond-2.2.0/share/lilypond/python/lilylib.py", line 335, in system exit (status) File "/var/tmp/portage/lilypond-2.2.0/work/lilypond-2.2.0/share/lilypond/python/lilylib.py", line 130, in exit raise _ ('Exiting (%d)...') % i Exiting (6)... make[3]: *** [out-www/collated-files.texi] Error 1 rm out-www/collated-files.texi make[3]: Leaving directory `/var/tmp/portage/lilypond-2.2.0/work/lilypond-2.2.0/input/regression' make[2]: *** [WWW] Error 2 make[2]: Leaving directory `/var/tmp/portage/lilypond-2.2.0/work/lilypond-2.2.0/input' make[1]: *** [WWW] Error 2 make[1]: Leaving directory `/var/tmp/portage/lilypond-2.2.0/work/lilypond-2.2.0' make: *** [web] Error 2 !!! ERROR: media-sound/lilypond-2.2.0 failed. !!! Function src_compile, Line 49, Exitcode 2 !!! make web failed $ emerge info Portage 2.0.50-r5 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.2_rc1-benh1) ================================================================= System uname: 2.6.2_rc1-benh1 ppc 0 Gentoo Base System version 1.4.3.12 distcc 2.11.2 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/lib/pbbuttons /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt" DISTDIR="/usr/portage/distfiles" FEATURES="ccache" GENTOO_MIRRORS="<your_mirror_here> http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib apache2 apm arts berkdb caps crypt cups doc dvd encode flac foomaticdb gdbm gif gphoto2 gpm gtk2 guile imlib jack jack-tmpfs java jpeg kde ladcca lcms libwww mad maildir mitshm motif mozilla mpeg mysql ncurses nls oggvorbis opengl pam pdflib perl png ppc python qt radeon readline samba sdl slang speex spell ssl tcpd tetex tiff truetype usb video_cards_radeon wmf xml xml2 xmms xv zlib"
Oops. Sorry about the wrong number. lilypond requires >=app-text/mftrace-1.0.19 which requires >=app-text/t1utils-1.25, which I think is appropriate. I notice, however: # emerge unmerge t1utils # emerge -p lilypond These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-sound/lilypond-2.2.0 # emerge -p -u lilypond These are the packages that I would merge, in order: Calculating dependencies ...done! # emerge -p mftrace These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] app-text/t1utils-1.25 [ebuild R ] app-text/mftrace-1.0.19 I can't get t1utils to emerge by emerging lilypond unless I use --update --deep. I'm assuming this is okay, but I don't know if there is a better way to deal with these kind of situations. What version of python is running on the ibook?
on the ibook: # python -V Python 2.3.2 # emerge -p python These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] dev-python/python-docs-2.3.3 [2.3.2] [ebuild U ] dev-lang/python-2.3.3-r1 [2.3.2-r2]
An update of python did not solve the problem.
The build process went fine on my system. Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo-r2) ================================================================= System uname: 2.6.3-gentoo-r2 i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.4.10 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -frerun-loop-opt -falign-functions=4 -fforce-mem -funroll-loops -ffast-math -finline-functions -foptimize-sibling-calls -m3dnow -mmmx" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -frerun-loop-opt -falign-functions=4 -fforce-mem -funroll-loops -ffast-math -finline-functions -foptimize-sibling-calls -m3dnow -mmmx -Wno-deprecated" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow X acl acpi alsa apache2 apm autofs avi berkdb cdr crypt cups dvd encode esd foomaticdb gd gdbm gif gimpprint gnome gpm gtk gtk2 guile imap imlib innodb ipv6 jack java jikes jpeg kde ldap libg++ libwww mad maildir mbox memlimit mikmod mmx mozilla moznocompose moznoirc mpeg mysql ncurses nls nowin oggvorbis opengl pam parse-clocks pdflib perl png ppds python qt quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tetex truetype unicode vim-with-x x86 xml2 xmms xv xvid zlib"
Aron, could you please look at the ebuild?
Should be adapted to 2.2.1 anyway.
Yep, I'm finally looking at this today :-)
Thanks for the ebuild, Maarten. Sorry for the long wait. I've put lilypond-2.2.1.ebuild into portage, only modified the vim/emacs stuff a little bit.
bah humpback! "emerge -puvD world" offered me "lilypond 2.0.3" tonight after an "emerge sync". I have 1.8.2 installed. So I took the bait and it croaked in the same place as listed in this bug. I uninstalled "t1utils" and "mftrace", then re-tried the "emerge -uv lilypond". It worked (after reinstalling "t1utils" and "mftrace", of course.) What gives?? Incidentally, I'm not planning on trying ACCEPT_KEYWORDS="~x86" to get the latest lilypond; that drags in a couple hundred megabytes, including a bunch of gnome 2.6.1, later versions of Perl and lots of other bleeding edge stuff.
hi, lilypond requires >=imagemagick-6.0 (two versions are pending: bug 52345 and bug48510) , which is not yet commited to CVS. Should this bug stay resolved fixed?
Using the new 2.2.1 ebuild, I still get the error I described at comment #7 (on ppc, and with +doc). Should I post a seperate bug report on this?
Michael, I think the issue you're confronting is a separate problem related to python on ppc. If you don't mind posting a separate bug, I think that would be appropriate. The imagemagick problem however should re-open this bug temporarily.
Florian, what leads you to believe that the latest ImageMagick is required?
No mention of ImageMagick version number here: http://lilypond.org/doc/v2.2/Documentation/topdocs/out-www/INSTALL.html#TOC5 ImageMagick is only needed to build doc anyway.
I opened a new bug report: http://bugs.gentoo.org/show_bug.cgi?id=52681 Also, I want to point you to another bug I had with 2.2.0. http://bugs.gentoo.org/show_bug.cgi?id=40306. Since my +doc compilation doesn't work, I cannot check if this bug still is present in 2.2.1. It would be nice if anyone could do this.
Please bump to 2.2.2 when working on this
Created attachment 32656 [details] lilypond-2.2.2.ebuild
ok, I've updated to 2.2.2, thanks for the ebuild