Re: Doc build failure: pngtopnm: Error writing single byte sample to file
On 2009.11.09., at 17:16, Graham Percival wrote: Oh, I see now. It's in Documentation/snippets/ Thanks for the info. well, I'm at a loss as to why it can't compile. I guess you could report it on bug-lilypond, and hopefully somebody who has OSX can test it as well. Reported! In the meantime, I tried to build the docs in the Lilybuntu virtual machine. All kinds of builds work like a charm, including specifying external binary. Though building the docs takes several hours to run, but I presume, on a virtual machine, that's not too much. Dénes ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Doc build failure: pngtopnm: Error writing single byte sample to file
On 2009.11.05., at 23:02, Graham Percival wrote: Take a look at TOPDIR/out/lybook-db/aa/lily-0a4411fa.ly. What's in the file? Does the version number say 2.13.7 ? What happens if you copy the file to a new location, COMMENT OUT THE STUFF ABOVE start cutpaste section, and run lilypond on it normally? If this step fails, then it's a plain old lilypond crashes on this file bug report. I investigated in this. The file says \version 2.13.4 When trying to compile it, I got the following error: thSoft-MacBook:Temp thsoft$ /Applications/LilyPond-dev.app/Contents/ Resources/bin/lilypond lily-0a4411fa.ly GNU LilyPond 2.13.7 Processing `lily-0a4411fa.ly' Parsing... Renaming input to: `bar-chords-notation-for-guitar--with-text- spanner.ly' Interpreting music... Preprocessing graphical objects... Solving 1 page-breaking chunks...[1: 1 pages] Drawing systems... Layout output to `lily-0a4411fa.ps'... Converting to `./lily-0a4411fa.pdf'... `gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 - dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite - sOutputFile=./lily-0a4411fa.pdf -c .setpdfwrite -f lily-0a4411fa.ps' failed (256) error: failed files: lily-0a4411fa.ly Should I post this to the bugs list? Dénes Harmath ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Doc build failure: pngtopnm: Error writing single byte sample to file
On Mon, Nov 09, 2009 at 02:42:24PM +0100, Harmath Dénes wrote: On 2009.11.05., at 23:02, Graham Percival wrote: Take a look at TOPDIR/out/lybook-db/aa/lily-0a4411fa.ly. What's in the file? Does the version number say 2.13.7 ? What happens if you copy the file to a new location, COMMENT OUT THE STUFF ABOVE start cutpaste section, and run lilypond on it normally? If this step fails, then it's a plain old lilypond crashes on this file bug report. thSoft-MacBook:Temp thsoft$ /Applications/LilyPond-dev.app/Contents/ Resources/bin/lilypond lily-0a4411fa.ly GNU LilyPond 2.13.7 Processing `lily-0a4411fa.ly' Parsing... Renaming input to: `bar-chords-notation-for-guitar--with-text- spanner.ly' Interpreting music... Preprocessing graphical objects... Solving 1 page-breaking chunks...[1: 1 pages] Drawing systems... Layout output to `lily-0a4411fa.ps'... Converting to `./lily-0a4411fa.pdf'... `gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 - dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite - sOutputFile=./lily-0a4411fa.pdf -c .setpdfwrite -f lily-0a4411fa.ps' failed (256) error: failed files: lily-0a4411fa.ly Should I post this to the bugs list? Not unless you have a minimal example. I also hope that you noticed my warnings about COMMENTING OUT THE STUFF ABOVE THE CUT AND PASTE SECTION. If 2.13.7 really cannot compile a regression test, then it's a serious bug. Alternatively, what happens when you try to compile that file as found in input/regression/ ? Cheers, - Graham ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Doc build failure: pngtopnm: Error writing single byte sample to file
On 2009.11.09., at 15:49, Graham Percival wrote: Not unless you have a minimal example. I also hope that you noticed my warnings about COMMENTING OUT THE STUFF ABOVE THE CUT AND PASTE SECTION. Of course. Though only the line \include lilypond-book-preamble.ly had to be commented out. If 2.13.7 really cannot compile a regression test, then it's a serious bug. Alternatively, what happens when you try to compile that file as found in input/regression/ ? Hmm... There is the line \sourcefilename bar-chords-notation-for-guitar--with-text-spanner.ly in lily-0a4411fa.ly. But this file does not exist in input/regression... Dénes ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Doc build failure: pngtopnm: Error writing single byte sample to file
On Mon, Nov 09, 2009 at 04:28:24PM +0100, Harmath Dénes wrote: On 2009.11.09., at 15:49, Graham Percival wrote: Not unless you have a minimal example. I also hope that you noticed my warnings about COMMENTING OUT THE STUFF ABOVE THE CUT AND PASTE SECTION. Of course. Though only the line \include lilypond-book-preamble.ly had to be commented out. \sourcefilename bar-chords-notation-for-guitar--with-text-spanner.ly in lily-0a4411fa.ly. But this file does not exist in input/regression... Oh, I see now. It's in Documentation/snippets/ well, I'm at a loss as to why it can't compile. I guess you could report it on bug-lilypond, and hopefully somebody who has OSX can test it as well. Cheers, - Graham ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Doc build failure: pngtopnm: Error writing single byte sample to file
On 2009.11.05., at 18:06, Graham Percival wrote: 2009/11/5 Harmath Dénes harmathde...@gmail.com: You were right. I finally managed to put the scripts' location before /opt/local/bin in my path, and now it proceeds. But after a while, I get the following error: Pango-ERROR **: Unable to open font file /Library/Fonts/Verdana.ttf for font Century Schoolbook L Italic 3.0673828125, exiting Dunno. I know that OSX has various font issues. This was just fixed in GUB by using the latest freetype, fontconfig, pango, and fontforge. A similar solution might help for you? BTW, are you on OSX 10.5 or 10.6? My software environment: OS X 10.5.8 MacPorts 1.8.1 LilyPond 2.13.6 freetype 2.3.9 fontconfig 2.7.3 pango 1.24.5 fontforge 20090622 Seeing this, I wanted to build the manual without building all the ‘input/*’ stuff, but I get the following error: thSoft-MacBook:lilypond-translation thsoft$ cd Documentation/ thSoft-MacBook:Documentation thsoft$ make doc Don't you want EXTERNAL_BINARY in there? Aha... Yes, reasonable, though then the CG should mention it there too. So I tried this, but LilyPond failed to compile a snippet: error: failed files: aa/lily-0a4411fa.ly command failed: /Applications/LilyPond-dev.app/Contents/Resources/bin/ lilypond -dbackend=eps --formats=ps,png,pdf -dinclude-eps-fonts -dgs- load-fonts --header=doctitle --header=doctitlefr --header=doctitlees -- header=doctitlede --header=doctitlenl --header=doctitleja -- header=doctitlehu --header=texidoc --header=texidocfr -- header=texidoces --header=texidocde --header=texidocnl -- header=texidocja --header=texidochu -dcheck-internal-types -ddump- signatures -danti-alias-factor=2 -I /Users/thsoft/Development/ lilypond-translation/out/lybook-db -I /Users/thsoft/Development/ lilypond-translation/Documentation -I /Users/thsoft/Development/ lilypond-translation/Documentation -I /Users/thsoft/Development/ lilypond-translation/Documentation/out-www -I /Users/thsoft/ Development/lilypond-translation/input -I /Users/thsoft/ Development/lilypond-translation/Documentation -I /Users/thsoft/ Development/lilypond-translation/Documentation/snippets -I /Users/ thsoft/Development/lilypond-translation/input/regression -I /Users/ thsoft/Development/lilypond-translation/Documentation/included -I / Users/thsoft/Development/lilypond-translation/mf/out -I /Users/ thsoft/Development/lilypond-translation/mf/out -I /Users/thsoft/ Development/lilypond-translation/Documentation/pictures -I /Users/ thsoft/Development/lilypond-translation/Documentation/pictures/out- www --formats=eps --verbose -deps-box-padding=3.00 -dread-file- list -dno-strip-output-dir /Users/thsoft/Development/lilypond- translation/out/lybook-db/snippet-names-747035862.ly Child returned 1 make[1]: *** [out-www/snippets.texi] Error 1 make: *** [doc-stage-1] Error 2 What should I do? Dénes Harmath ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Doc build failure: pngtopnm: Error writing single byte sample to file
On Thu, Nov 05, 2009 at 10:53:55PM +0100, Harmath Dénes wrote: On 2009.11.05., at 18:06, Graham Percival wrote: BTW, are you on OSX 10.5 or 10.6? My software environment: That all looks typical. IIRC in gub we use freetype 2.3.11, but that was to workaround an OSX 10.6 bug, so it shouldn't affect you. thSoft-MacBook:Documentation thsoft$ make doc Don't you want EXTERNAL_BINARY in there? Aha... Yes, reasonable, though then the CG should mention it there too. Which page in particular? I thought the page about building the docs without compiling lilypond was fairly simple, but I confess that I don't know if anybody else has successfully completed it. If you could send a patch for this page (later, once it's working for you), that would be great. So I tried this, but LilyPond failed to compile a snippet: error: failed files: aa/lily-0a4411fa.ly Hmm. Sometimes the EXTERNAL_BINARY trick will fail because a snippet requires a newer version of lilypond. Take a look at TOPDIR/out/lybook-db/aa/lily-0a4411fa.ly. What's in the file? Does the version number say 2.13.7 ? What happens if you copy the file to a new location, COMMENT OUT THE STUFF ABOVE start cutpaste section, and run lilypond on it normally? If this step fails, then it's a plain old lilypond crashes on this file bug report. (you might want to grab the just-released 2.13.7, since this should be able to compile everything in the git tree at the moment) Cheers, - Graham ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: Doc build failure: pngtopnm: Error writing single byte sample to file
Please keep emails on the mailist. On Fri, Nov 06, 2009 at 12:22:57AM +0100, Harmath Dénes wrote: On 2009.11.05., at 23:02, Graham Percival wrote: That all looks typical. IIRC in gub we use freetype 2.3.11, but that was to workaround an OSX 10.6 bug, so it shouldn't affect you. Hmm, I'm just going to upgrade to 10.6 in the following days... ;) Shouldn't matter. Aha... Yes, reasonable, though then the CG should mention it there too. Which page in particular? I thought the page about building the I think it would be enough to say issue make LILYPOND_EXTERNAL_BINARY=/path/to/bin/lilypond doc instead of just issue make doc. But this may be refined if I finally get this working... I'm not certain I follow you, but I'll wait for the patch. Thanks for the notification. It would be good to announce development releases too on the website so that users could be notified via the feed. The number is updated here: http://lilypond.org/web/ There are very good reasons why I didn't add an announcement to the news section yet; see the lilypond-user mailist for details. So, with 2.13.7, the previous error is fixed, but this time I receive this one: ./notation/notation.texi:27: I can't find file `notation/pitches.texi'. @temp -@input notation/pitches.texi What could have gone wrong? Interesting. Could you do a make doc-clean, then a make EXTERANL... doc, and remind me exactly which directory you're building it in? Also, if anybody else wouldn't mind building the docs with EXTERNAL_BINARY, it would be nice to know if the general system is broken, or just something on Harmath's machine. Cheers, - Graham ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel