Doc build failure

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Doc build failure

Harmath Dénes
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 problem? Did anyone else encounter this?

Thanks in advance,
Dénes Harmath (Hungarian translator)

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Doc build failure

Harmath Dénes
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_ "$@"

Dénes Harmath (hu)

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re: Doc build failure

John Mandereau
Le jeudi 05 novembre 2009 à 12:29 +0100, Harmath Dénes a écrit :
> 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_ "$@"

I'm glad you found the solution.  Please report next doc build failures
on lilypond-devel list, where many more people may be able to tackle
this kind of issue.

Best,
John

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re: Doc build failure

Harmath Dénes
Um, there was a misunderstanding here... This is not the solution; I  
just explained why it is

pngtopnm_: Error writing single byte sample to file

instead of

pngtopnm: Error writing single byte sample to file

The problem still persists. So is it OK if I post this to the devel  
list too?

Dénes

On 2009.11.05., at 15:10, John Mandereau wrote:

> Le jeudi 05 novembre 2009 à 12:29 +0100, Harmath Dénes a écrit :
>> 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_ "$@"
>
> I'm glad you found the solution.  Please report next doc build  
> failures
> on lilypond-devel list, where many more people may be able to tackle
> this kind of issue.
>
> Best,
> John



Loading...