Compilation of media-sound/lilypond-2.2.1 crashes on PPC when the doc use-flag is set. With -doc, the compilation works. Reproducible: Always Steps to Reproduce: 1. Set use-flag doc 2. emerge lilypond Actual Results: The compilation crashes with this error message: Invoking `gs -sDEVICE=bbox -q -dNOPAUSE lily-461382764.eps -c quit 2>lily-461382764.eps.bbox'lilypond-book: error: `gs' failed (status 139) Traceback (most recent call last): File "/var/tmp/portage/lilypond-2.2.1/work/lilypond-2.2.1/scripts/lilypond-book.py", line 1042, in ? main () File "/var/tmp/portage/lilypond-2.2.1/work/lilypond-2.2.1/scripts/lilypond-book.py", line 1039, in main do_file (files[0]) File "/var/tmp/portage/lilypond-2.2.1/work/lilypond-2.2.1/scripts/lilypond-book.py", line 958, in do_file process_snippets (process_cmd, outdated) File "/var/tmp/portage/lilypond-2.2.1/work/lilypond-2.2.1/scripts/lilypond-book.py", line 799, in process_snippets ly.make_ps_images (i + '.eps', resolution=110) File "/var/tmp/portage/lilypond-2.2.1/work/lilypond-2.2.1/share/lilypond/python/lilylib.py", line 463, in make_ps_images bbox = get_bbox (ps_name) File "/var/tmp/portage/lilypond-2.2.1/work/lilypond-2.2.1/share/lilypond/python/lilylib.py", line 441, in get_bbox system (cmd, progress_p = 1) File "/var/tmp/portage/lilypond-2.2.1/work/lilypond-2.2.1/share/lilypond/python/lilylib.py", line 335, in system exit (status) File "/var/tmp/portage/lilypond-2.2.1/work/lilypond-2.2.1/share/lilypond/python/lilylib.py", line 130, in exit raise _ ('Exiting (%d)...') % i Exiting (35584)... make[3]: *** [out-www/lilypond.texi] Error 1 make[3]: Leaving directory `/var/tmp/portage/lilypond-2.2.1/work/lilypond-2.2.1/Documentation/user' make[2]: *** [WWW] Error 2 make[2]: Leaving directory `/var/tmp/portage/lilypond-2.2.1/work/lilypond-2.2.1/Documentation' make[1]: *** [WWW] Error 2 make[1]: Leaving directory `/var/tmp/portage/lilypond-2.2.1/work/lilypond-2.2.1' make: *** [web] Error 2 !!! ERROR: media-sound/lilypond-2.2.1 failed. !!! Function src_compile, Line 49, Exitcode 2 !!! make web failed Expected Results: Compilation should work fine. Hardware: iBook G3 Rev. 2.2, 800MHz # python -V Python 2.3.3 This bug previously was reported here: http://bugs.gentoo.org/show_bug.cgi?id=46701 It was suggested to open a new bug report. # emerge info Portage 2.0.50-r7 (default-ppc-2004.1, gcc-3.2.3, glibc-2.3.3_pre20040420-r0, 2.6.2_rc1-benh1) ================================================================= System uname: 2.6.2_rc1-benh1 ppc 750FX Gentoo Base System version 1.4.15 distcc 2.14 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5 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/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /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="ftp://gentoo.inode.at/source/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://gd.tuwien.ac.at/opsys/linux/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 aalib alsa apache2 apm arts audiofile berkdb caps crypt cups doc dvd encode flac foomaticdb gdbm gif gnome-libs gphoto2 gpm gtk2 guile icq imlib innodb jack jack-tmpfs java jpeg kde ladcca lcms libwww mad maildir mitshm motif mozilla mpeg mysql ncurses nls offensive oggvorbis opengl pam pdflib perl png ppc python qt radeon readline samba sasl sdl slang speex spell ssl tcltk tcpd tetex tiff truetype usb video_cards_radeon wmf xml xml2 xmms xv zlib"
looks like some bug in ghostscript...
Testing latest version with latest ghostscript against 2004.3 compiler.
I don't get lilypond or its dependency on guile to build at all
reproduced the problem here, still investigating how to solve it
Luca, what's the status?
seems building fine with the latest ghostscript/gcc, it takes too much time anyway.
no, there is another issue. sig6 after a LONG time
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.4/work/lilypond-2.2.4/scripts/lilypond-book.py", line 1045, in ? main () File "/var/tmp/portage/lilypond-2.2.4/work/lilypond-2.2.4/scripts/lilypond-book.py", line 1042, in main do_file (files[0]) File "/var/tmp/portage/lilypond-2.2.4/work/lilypond-2.2.4/scripts/lilypond-book.py", line 961, in do_file process_snippets (process_cmd, outdated) File "/var/tmp/portage/lilypond-2.2.4/work/lilypond-2.2.4/scripts/lilypond-book.py", line 796, in process_snippets ly.system (string.join ([cmd] + names)) File "/var/tmp/portage/lilypond-2.2.4/work/lilypond-2.2.4/share/lilypond/python/lilylib.py", line 335, in system exit (status) File "/var/tmp/portage/lilypond-2.2.4/work/lilypond-2.2.4/share/lilypond/python/lilylib.py", line 130, in exit raise _ ('Exiting (%d)...') % i Exiting (6)... make[3]: *** [out-www/collated-files.texi] Error 1
what about 2.2.6?
I'll try it. actually 2.4.0 requires some fonts and seems that there are problems building them... btw what about missing potrace (should it be a dep to mftrace?) Traceback (most recent call last): File "/usr/bin/mftrace", line 1184, in ? trace_font (basename, gf_fontname, metric, glyph_range, encoding, magnification) File "/usr/bin/mftrace", line 636, in trace_font success = trace_one ("char.pbm", '%s-%d' % (gf_fontname, a)) File "/usr/bin/mftrace", line 355, in trace_one status = system (trace_command (pbmfile, ''), 1) TypeError: 'NoneType' object is not callable
tested on x86, same result.
Building Lilypond 2.5.2 on x86 with USE="doc", emerge fails with the following error: Processing `lily-900763695.ly' Parsing... Renaming input to: `quote-transposition.ly' Interpreting music... Interpreting music... Interpreting music... ../../scripts/lilypond-book.py: warning: `lilypond' failed (signal 11) (ignored) ../../scripts/lilypond-book.py: error: Process lilypond -f tex --tex --header=texidoc -I ./input/test -e '(ly:set-option (quote internal-type-checking) #t)' -I /var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/input/regression -I /var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/input/regression -I /var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/input/regression/out-www -I /var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/input -I /var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/input/regression -I /var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/input/test -I /var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/input/tutorial -I /var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/mf/out -I /var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/mf/out exited unsuccessfully. Removing `./out-www/collated-files.texi' Traceback (most recent call last): File "../../scripts/lilypond-book.py", line 1431, in ? main () File "../../scripts/lilypond-book.py", line 1428, in main ly.exit (1) File "/var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/share/lilypond/python/lilylib.py", line 132, in exit raise _ ('Exiting (%d)...') % i Exiting (1)... make[3]: *** [out-www/collated-files.texi] Error 1 make[3]: Leaving directory `/var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/input/regression' make[2]: *** [WWW] Error 2 rm out-www/puer-fragment.ly out-www/paddy.ly out-www/simple.ly out-www/simple-song.ly out-www/les-nereides.ly out-www/wilhelmus.ly make[2]: Leaving directory `/var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2/input' make[1]: *** [WWW] Error 2 make[1]: Leaving directory `/var/tmp/portage/lilypond-2.5.2/work/lilypond-2.5.2' make: *** [web] Error 2
Still a problem w/ 2.8.0-r1?
too old