Doc build failure: pngtopnm: Error writing single byte sample to file

View: New views
14 Messages — Rating Filter:   Alert me  

Doc build failure: pngtopnm: Error writing single byte sample to file

by thSoft :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I finally tried to build the docs myself again after older failed  
attempts to be able to test my translations locally. I'm on OS X 10.5  
using MacPorts with latest LilyPond development binary installed.  
After installing the required dependencies via MacPorts and following  
the instructions of http://kainhofer.com/~lilypond/Documentation/contributor/Building-documentation.html#Building-documentation-without-compiling-LilyPond 
, the last command (nice make LILYPOND_EXTERNAL_BINARY=/Applications/
LilyPond-dev.app/Contents/Resources/bin/lilypond doc) fails with the  
following error message:

Invoking `pngtopnm ./fa/lily-f024223a.png.old | pnmscale -reduce 2 2>/
dev/null | pnmtopng -compression 9 2>/dev/null > ./fa/lily-
f024223a.png'...
pngtopnm_: Error writing single byte sample to file
GS exited with status: 32256command failed: /Applications/LilyPond-
dev.app/Contents/Resources/bin/lilypond -I ./ -I ./out-www -I ../../
input -I /Users/thsoft/Development/lilypond-translation/Documentation -
I /Users/thsoft/Development/lilypond-translation/Documentation/
snippets -I ../../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 -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/input/regression"  -I  "/Users/thsoft/Development/
lilypond-translation/input/regression"  -I  "/Users/thsoft/Development/
lilypond-translation/input/regression/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.000000  -dread-file-
list -dno-strip-output-dir  "/Users/thsoft/Development/lilypond-
translation/out/lybook-db/snippet-names--89582432.ly"
Child returned 1
make[3]: *** [out-www/collated-files.texi] Error 1
make[2]: *** [WWW-1] Error 2
make[1]: *** [WWW-1] Error 2
make: *** [doc-stage-1] Error 2

What could be the solution? Did anyone else encounter this?

(
FYI, the command is pngtopnm_ because I had to create a script for  
pngtopnm to run correctly as described in http://kainhofer.com/~lilypond/Documentation/contributor/Building-documentation.html#Building-documentation-without-compiling-LilyPond 
. So I renamed pngtopnm to pngtopnm_ and created /opt/local/bin/
pngtopnm with the following contents:

export DYLD_LIBRARY_PATH=/opt/local/lib
exec /opt/local/bin/pngtopnm_ "$@"
)

Thanks in advance,
Dénes Harmath

_______________________________________________
lilypond-devel mailing list
lilypond-devel@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Doc build failure: pngtopnm: Error writing single byte sample to file

by Graham Percival-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm suspicious about renaming pngtopnm_.  Just leave /opt/ alone, and
make the pngtopnm and pnmtopng scripts as directed.  As long as the
location of those two scripts comes before /opt/local/bin in your
path, you'll be fine.

Cheers,
- Graham


2009/11/5 Harmath Dénes <harmathdenes@...>:

> Hi all,
>
> I finally tried to build the docs myself again after older failed attempts
> to be able to test my translations locally. I'm on OS X 10.5 using MacPorts
> with latest LilyPond development binary installed. After installing the
> required dependencies via MacPorts and following the instructions of
> http://kainhofer.com/~lilypond/Documentation/contributor/Building-documentation.html#Building-documentation-without-compiling-LilyPond,
> the last command (nice make
> LILYPOND_EXTERNAL_BINARY=/Applications/LilyPond-dev.app/Contents/Resources/bin/lilypond
> doc) fails with the following error message:
>
> Invoking `pngtopnm ./fa/lily-f024223a.png.old | pnmscale -reduce 2
> 2>/dev/null | pnmtopng -compression 9 2>/dev/null >
> ./fa/lily-f024223a.png'...
> pngtopnm_: Error writing single byte sample to file
> GS exited with status: 32256command failed:
> /Applications/LilyPond-dev.app/Contents/Resources/bin/lilypond -I ./ -I
> ./out-www -I ../../input -I
> /Users/thsoft/Development/lilypond-translation/Documentation -I
> /Users/thsoft/Development/lilypond-translation/Documentation/snippets -I
> ../../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
> -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/input/regression"  -I
>  "/Users/thsoft/Development/lilypond-translation/input/regression"  -I
>  "/Users/thsoft/Development/lilypond-translation/input/regression/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.000000  -dread-file-list
> -dno-strip-output-dir
>  "/Users/thsoft/Development/lilypond-translation/out/lybook-db/snippet-names--89582432.ly"
> Child returned 1
> make[3]: *** [out-www/collated-files.texi] Error 1
> make[2]: *** [WWW-1] Error 2
> make[1]: *** [WWW-1] Error 2
> make: *** [doc-stage-1] Error 2
>
> What could be the solution? Did anyone else encounter this?
>
> (
> FYI, the command is pngtopnm_ because I had to create a script for pngtopnm
> to run correctly as described in
> http://kainhofer.com/~lilypond/Documentation/contributor/Building-documentation.html#Building-documentation-without-compiling-LilyPond.
> So I renamed pngtopnm to pngtopnm_ and created /opt/local/bin/pngtopnm with
> the following contents:
>
> export DYLD_LIBRARY_PATH=/opt/local/lib
> exec /opt/local/bin/pngtopnm_ "$@"
> )
>
> Thanks in advance,
> Dénes Harmath
>
> _______________________________________________
> lilypond-devel mailing list
> lilypond-devel@...
> http://lists.gnu.org/mailman/listinfo/lilypond-devel
>


_______________________________________________
lilypond-devel mailing list
lilypond-devel@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Doc build failure: pngtopnm: Error writing single byte sample to file

by thSoft :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

aborting...
command failed: /Applications/LilyPond-dev.app/Contents/Resources/bin/
lilypond -I ./ -I ./out-www -I ../../input -I /Users/thsoft/
Development/lilypond-translation/Documentation -I /Users/thsoft/
Development/lilypond-translation/Documentation/snippets -I ../../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 -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/input/regression"  -I  "/Users/thsoft/Development/
lilypond-translation/input/regression"  -I  "/Users/thsoft/Development/
lilypond-translation/input/regression/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.000000  -dread-file-
list -dno-strip-output-dir  "/Users/thsoft/Development/lilypond-
translation/out/lybook-db/snippet-names--89582432.ly"
Child was terminated by signal 6
make[3]: *** [out-www/collated-files.texi] Error 1
make[2]: *** [WWW-1] Error 2
make[1]: *** [WWW-1] Error 2
make: *** [doc-stage-1] Error 2

Why is Century Schoolbook L Italic assumed to be in /Library/Fonts/
Verdana.ttf?! (Of course it exists, but it's the Verdana font.)

---

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
make --no-builtin-rules -C ../scripts/build out=
true
make --no-builtin-rules out=www WWW-1
make[1]: *** No rule to make target `/Users/thsoft/Development/
lilypond-translation/out/bin/lilypond', needed by `out-www/
internals.texi'.  Stop.
make: *** [doc-stage-1] Error 2

Does this kind of build require a successful full build of the  
documentation? If so, this must be mentioned in http://lilypond.org/doc/v2.13/Documentation/contributor/Building-documentation#Building-documentation-without-compiling-LilyPond 
!

Dénes Harmath

On 2009.11.05., at 17:10, Graham Percival wrote:

> I'm suspicious about renaming pngtopnm_.  Just leave /opt/ alone, and
> make the pngtopnm and pnmtopng scripts as directed.  As long as the
> location of those two scripts comes before /opt/local/bin in your
> path, you'll be fine.
>
> Cheers,
> - Graham


_______________________________________________
lilypond-devel mailing list
lilypond-devel@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Doc build failure: pngtopnm: Error writing single byte sample to file

by Graham Percival-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/5 Harmath Dénes <harmathdenes@...>:
> 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?

> 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?

> Does this kind of build require a successful full build of the
> documentation?

No, but if you want to use the built-in binary, you first need to
build the binary.

Cheers,
- Graham


_______________________________________________
lilypond-devel mailing list
lilypond-devel@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Doc build failure: pngtopnm: Error writing single byte sample to file

by thSoft :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2009.11.05., at 18:06, Graham Percival wrote:

> 2009/11/5 Harmath Dénes <harmathdenes@...>:
>> 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.000000  -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@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Doc build failure: pngtopnm: Error writing single byte sample to file

by Graham Percival-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 cut&paste 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@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Parent Message unknown Re: Doc build failure: pngtopnm: Error writing single byte sample to file

by Graham Percival-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Doc build failure: pngtopnm: Error writing single byte sample to file

by thSoft :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 cut&paste 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@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Doc build failure: pngtopnm: Error writing single byte sample to file

by Graham Percival-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 cut&paste 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@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Doc build failure: pngtopnm: Error writing single byte sample to file

by thSoft :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Doc build failure: pngtopnm: Error writing single byte sample to file

by Graham Percival-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Doc build failure: pngtopnm: Error writing single byte sample to file

by thSoft :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Build failure on OS X 10.6: libguile missing

by thSoft :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Today, I updated to OS X 10.6.2 and wanted to see if it can build LilyPond or the docs. Unfortunately, already when running autogen.sh, I got the following error:

ERROR: Please install required programs:  libguile (libguile-dev, guile-devel or guile-dev package).

The relevant output lines are:

checking for guile-config... guile-config
checking guile-config version... 1.8.7
checking guile compile flags... -I/opt/local/include -I/opt/local/include -D_THREAD_SAFE
checking guile link flags... -I/opt/local/include -D_THREAD_SAFE  -L/opt/local/lib -lguile -lltdl -L/opt/local/lib -lgmp -lm -lltdl
checking libguile.h usability... yes
checking libguile.h presence... yes
checking for libguile.h... yes
checking for scm_boot_guile in -lguile... no
checking for scm_boot_guile... no
checking GUILE rational bugfix... ok

Guile 1.8.7 is installed via MacPorts. Of course /opt/local/bin is in the path. I thought of more solutions or workarounds:
1. install guile-dev via MacPorts - but there is no such package
2. make LilyPond see the libraries in /opt/local/lib, since libguile is in there - is it what configure needs?
Is one of them reasonable or executable somehow?

Thanks in advance,
Dénes Harmath

_______________________________________________
lilypond-devel mailing list
lilypond-devel@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Build failure on OS X 10.6: libguile missing

by Jan Nieuwenhuizen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Op dinsdag 10-11-2009 om 23:38 uur [tijdzone +0100], schreef Harmath
Dénes:

> checking GUILE rational bugfix... ok

>From this message, it seems that the right Guile installation is
found.

However, as these earlier messages show,

> checking for scm_boot_guile in -lguile... no
> checking for scm_boot_guile... no

something is wrong with scm_boot_guile detection.

The thing to do here would be to look at config.log, figure out
what is going wrong, device a fix, test it, and send us a patch.
However, considering you did not know yet about config.log,
this may be a long road for you ;-)  Consider that you may
have to read /a lot/ of documentation and gain some experience
to get past errors that are more sublte.

Greetings,
Jan.

--
Jan Nieuwenhuizen <janneke@...> | GNU LilyPond - The music typesetter
Avatar®: http://AvatarAcademy.nl    | http://lilypond.org



_______________________________________________
lilypond-devel mailing list
lilypond-devel@...
http://lists.gnu.org/mailman/listinfo/lilypond-devel