Error in building documentation

classic Classic list List threaded Threaded
27 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Error in building documentation

Walter Garcia-Fontes
I created a clean repository from master. "make" ran without
errors. But "make LANG='ca' doc" aborts with an error, it looks like in building
snippets. As I said I haven't changed anything in this repository, its
the clone of the current master.
 It stops at this stage:

command failed: /sources/lilypond/build/out/bin/lilypond
-I /sources/lilypond/input/regression  -dbackend=eps
--formats=ps,png,pdf -djob-count=6 -dinclude-eps-fonts -dgs-load-fonts
--header=doctitle --header=doctitleca --header=texidoc
--header=texidocca -dcheck-internal-types -ddump-signatures
-danti-alias-factor=2 -I  "./"  -I
"/sources/lilypond/build/input/regression"  -I
"/sources/lilypond/input/regression" --formats=eps
-deps-box-padding=3.000000  -dread-file-list -dno-strip-output-dir
"/sources/lilypond/build/out/lybook-db/snippet-names--7016673326107815321.ly"

The log produced is:

logfile lilypond-multi-run-5.log (exit 1):
f3/lily-b1a0e9ce-1.eps'...
Converting to `./f3/lily-b1a0e9ce-1.pdf'...
Writing ./f3/lily-b1a0e9ce-systems.texi...
Writing ./f3/lily-b1a0e9ce-systems.tex...
Writing ./f3/lily-b1a0e9ce-systems.count...
Processing `./56/lily-44b4b5eb.ly'
Parsing...
Renaming input to:
`/home/wgarcia/sources/lilypond/input/regression/chord-name-minor.ly'
Interpreting music...
Preprocessing graphical objects...
Calculating line breaks...
Drawing systems...
Writing header field `texidoc' to `./56/lily-44b4b5eb.texidoc'...
Writing ./56/lily-44b4b5eb-1.signature
Layout output to `./56/lily-44b4b5eb.eps'...
Converting to `./56/lily-44b4b5eb.pdf'...
Converting to PNG...
Layout output to `./56/lily-44b4b5eb-1.eps'...
Converting to `./56/lily-44b4b5eb-1.pdf'...
Writing ./56/lily-44b4b5eb-systems.texi...
Writing ./56/lily-44b4b5eb-systems.tex...
Writing ./56/lily-44b4b5eb-systems.count...
Processing `./snippet-map--7016673326107815321.ly'
Parsing...
fatal error: failed files: "c0/lily-c236818d.ly 55/lily-c61e089a.ly
16/lily-fb4bd50d.ly"
logfile lilypond-multi-run-1.log (exit 1):
/a6/lily-436997bb-2.eps'...
Layout output to `./a6/lily-436997bb-3.eps'...
Layout output to `./a6/lily-436997bb-4.eps'...
Layout output to `./a6/lily-436997bb-5.eps'...
Layout output to `./a6/lily-436997bb-6.eps'...
Layout output to `./a6/lily-436997bb-7.eps'...
Layout output to `./a6/lily-436997bb-8.eps'...
Layout output to `./a6/lily-436997bb-9.eps'...
Layout output to `./a6/lily-436997bb-10.eps'...
Converting to `./a6/lily-436997bb-1.pdf'...
Converting to `./a6/lily-436997bb-2.pdf'...
Converting to `./a6/lily-436997bb-3.pdf'...
Converting to `./a6/lily-436997bb-4.pdf'...
Converting to `./a6/lily-436997bb-5.pdf'...
Converting to `./a6/lily-436997bb-6.pdf'...
Converting to `./a6/lily-436997bb-7.pdf'...
Converting to `./a6/lily-436997bb-8.pdf'...
Converting to `./a6/lily-436997bb-9.pdf'...
Converting to `./a6/lily-436997bb-10.pdf'...
Writing ./a6/lily-436997bb-systems.texi...
Writing ./a6/lily-436997bb-systems.tex...
Writing ./a6/lily-436997bb-systems.count...
fatal error: failed files: "1b/lily-703d6aa3.ly"
fatal error: Children (5 1) exited with errors.


--
Walter Garcia-Fontes
L'Hospitalet de Llobregat



Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

David Kastrup
Walter Garcia-Fontes <[hidden email]> writes:

> I created a clean repository from master. "make" ran without
> errors. But "make LANG='ca' doc" aborts with an error, it looks like in building
> snippets. As I said I haven't changed anything in this repository, its
> the clone of the current master.
>  It stops at this stage:
>
> command failed: /sources/lilypond/build/out/bin/lilypond
> -I /sources/lilypond/input/regression  -dbackend=eps
> --formats=ps,png,pdf -djob-count=6 -dinclude-eps-fonts -dgs-load-fonts
> --header=doctitle --header=doctitleca --header=texidoc
> --header=texidocca -dcheck-internal-types -ddump-signatures
> -danti-alias-factor=2 -I  "./"  -I
> "/sources/lilypond/build/input/regression"  -I
> "/sources/lilypond/input/regression" --formats=eps
> -deps-box-padding=3.000000  -dread-file-list -dno-strip-output-dir
> "/sources/lilypond/build/out/lybook-db/snippet-names--7016673326107815321.ly"

[...]
> fatal error: failed files: "c0/lily-c236818d.ly 55/lily-c61e089a.ly
> 16/lily-fb4bd50d.ly"
[..]

> fatal error: failed files: "1b/lily-703d6aa3.ly"
> fatal error: Children (5 1) exited with errors.

That would be "profile-property-access.ly" I think (which includes
typography-demo.ly).  Preceded by "utf-8.ly" and "typography-demo.ly".

That suggests a problem with your fonts and/or utf-8 input: all of those
files include a variety of scripts (Kyrillic, Hebrew, and some other
stuff).

--
David Kastrup


Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

Federico Bruni-3
In reply to this post by Walter Garcia-Fontes
Hi Walter

You know that you should work on branch translation for translation
patches, right?
I've chceked out master and the below command compiles successfully.

You must look for more information in order to understand what's going
on.

Il giorno gio 19 nov 2015 alle 20:08, Walter Garcia-Fontes
<[hidden email]> ha scritto:

> I created a clean repository from master. "make" ran without
> errors. But "make LANG='ca' doc" aborts with an error, it looks like
> in building
> snippets. As I said I haven't changed anything in this repository, its
> the clone of the current master.
>  It stops at this stage:
>
> command failed: /sources/lilypond/build/out/bin/lilypond
> -I /sources/lilypond/input/regression  -dbackend=eps
> --formats=ps,png,pdf -djob-count=6 -dinclude-eps-fonts -dgs-load-fonts
> --header=doctitle --header=doctitleca --header=texidoc
> --header=texidocca -dcheck-internal-types -ddump-signatures
> -danti-alias-factor=2 -I  "./"  -I
> "/sources/lilypond/build/input/regression"  -I
> "/sources/lilypond/input/regression" --formats=eps
> -deps-box-padding=3.000000  -dread-file-list -dno-strip-output-dir
> "/sources/lilypond/build/out/lybook-db/snippet-names--7016673326107815321.ly"

Try opening this file

>
> The log produced is:
>
> logfile lilypond-multi-run-5.log (exit 1):
> f3/lily-b1a0e9ce-1.eps'...
> Converting to `./f3/lily-b1a0e9ce-1.pdf'...
> Writing ./f3/lily-b1a0e9ce-systems.texi...
> Writing ./f3/lily-b1a0e9ce-systems.tex...
> Writing ./f3/lily-b1a0e9ce-systems.count...
> Processing `./56/lily-44b4b5eb.ly'
> Parsing...
> Renaming input to:
> `/home/wgarcia/sources/lilypond/input/regression/chord-name-minor.ly'
> Interpreting music...
> Preprocessing graphical objects...
> Calculating line breaks...
> Drawing systems...
> Writing header field `texidoc' to `./56/lily-44b4b5eb.texidoc'...
> Writing ./56/lily-44b4b5eb-1.signature
> Layout output to `./56/lily-44b4b5eb.eps'...
> Converting to `./56/lily-44b4b5eb.pdf'...
> Converting to PNG...
> Layout output to `./56/lily-44b4b5eb-1.eps'...
> Converting to `./56/lily-44b4b5eb-1.pdf'...
> Writing ./56/lily-44b4b5eb-systems.texi...
> Writing ./56/lily-44b4b5eb-systems.tex...
> Writing ./56/lily-44b4b5eb-systems.count...
> Processing `./snippet-map--7016673326107815321.ly'
> Parsing...
> fatal error: failed files: "c0/lily-c236818d.ly 55/lily-c61e089a.ly
> 16/lily-fb4bd50d.ly"
> logfile lilypond-multi-run-1.log (exit 1):
> /a6/lily-436997bb-2.eps'...
> Layout output to `./a6/lily-436997bb-3.eps'...
> Layout output to `./a6/lily-436997bb-4.eps'...
> Layout output to `./a6/lily-436997bb-5.eps'...
> Layout output to `./a6/lily-436997bb-6.eps'...
> Layout output to `./a6/lily-436997bb-7.eps'...
> Layout output to `./a6/lily-436997bb-8.eps'...
> Layout output to `./a6/lily-436997bb-9.eps'...
> Layout output to `./a6/lily-436997bb-10.eps'...
> Converting to `./a6/lily-436997bb-1.pdf'...
> Converting to `./a6/lily-436997bb-2.pdf'...
> Converting to `./a6/lily-436997bb-3.pdf'...
> Converting to `./a6/lily-436997bb-4.pdf'...
> Converting to `./a6/lily-436997bb-5.pdf'...
> Converting to `./a6/lily-436997bb-6.pdf'...
> Converting to `./a6/lily-436997bb-7.pdf'...
> Converting to `./a6/lily-436997bb-8.pdf'...
> Converting to `./a6/lily-436997bb-9.pdf'...
> Converting to `./a6/lily-436997bb-10.pdf'...
> Writing ./a6/lily-436997bb-systems.texi...
> Writing ./a6/lily-436997bb-systems.tex...
> Writing ./a6/lily-436997bb-systems.count...
> fatal error: failed files: "1b/lily-703d6aa3.ly"
> fatal error: Children (5 1) exited with errors.

and this ly file, which should be within out-www/






Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

Federico Bruni-3
In reply to this post by David Kastrup
Il giorno gio 19 nov 2015 alle 20:41, David Kastrup <[hidden email]> ha
scritto:
>>  fatal error: failed files: "1b/lily-703d6aa3.ly"
>>  fatal error: Children (5 1) exited with errors.
>
> That would be "profile-property-access.ly" I think (which includes
> typography-demo.ly).  Preceded by "utf-8.ly" and "typography-demo.ly".

How can you guess the file name from that cryptic file name?!? Are you
The One? :-)

>
> That suggests a problem with your fonts and/or utf-8 input: all of
> those
> files include a variety of scripts (Kyrillic, Hebrew, and some other
> stuff).

Walter, texlive-cyrillic is installed?
Perhaps removed by accident during an upgrade?





Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

David Kastrup
Federico Bruni <[hidden email]> writes:

> Il giorno gio 19 nov 2015 alle 20:41, David Kastrup <[hidden email]> ha
> scritto:
>>>  fatal error: failed files: "1b/lily-703d6aa3.ly"
>>>  fatal error: Children (5 1) exited with errors.
>>
>> That would be "profile-property-access.ly" I think (which includes
>> typography-demo.ly).  Preceded by "utf-8.ly" and "typography-demo.ly".
>
> How can you guess the file name from that cryptic file name?!? Are you
> The One? :-)

Well, I checked out master, made "make doc", killed it after a minute or
so (after it wrote out all the files), then did

find -name lily-703d6aa3.ly

and looked into the file with the full filename cranked out by the find
command (mere laziness since I cannot remember where LilyPond puts its
lilypond-book cache; one could have just looked in there by adding the
file name from Walter) which has a "\sourcefilename" statement with the
original source file name somewhere.

>> That suggests a problem with your fonts and/or utf-8 input: all of
>> those files include a variety of scripts (Kyrillic, Hebrew, and some
>> other stuff).
>
> Walter, texlive-cyrillic is installed?
> Perhaps removed by accident during an upgrade?

--
David Kastrup


Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

Federico Bruni-3
Il giorno gio 19 nov 2015 alle 20:53, David Kastrup <[hidden email]> ha
scritto:
> Well, I checked out master, made "make doc", killed it after a minute
> or
> so (after it wrote out all the files), then did
>
> find -name lily-703d6aa3.ly
>
> and looked into the file with the full filename cranked out by the
> find
> command

I thought that the file names were randomly generated and each
compilation had different names for the same snippet so I did not even
try to find it on my computer.



Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

David Kastrup
Federico Bruni <[hidden email]> writes:

> Il giorno gio 19 nov 2015 alle 20:53, David Kastrup <[hidden email]> ha
> scritto:
>> Well, I checked out master, made "make doc", killed it after a
>> minute or
>> so (after it wrote out all the files), then did
>>
>> find -name lily-703d6aa3.ly
>>
>> and looked into the file with the full filename cranked out by the
>> find
>> command
>
> I thought that the file names were randomly generated and each
> compilation had different names for the same snippet so I did not even
> try to find it on my computer.

No, they are generated with a checksum over the whole content.  The idea
behind this is that snippets occuring identically multiple times in
different manuals (including translations) are only compiled once by
LilyPond.  So the file name is a hashed representation of the original
file/fragment contents.

--
David Kastrup


Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

Walter Garcia-Fontes
In reply to this post by Federico Bruni-3
* Federico Bruni, [hidden email] [19/11/15 20:49]:
> Il giorno gio 19 nov 2015 alle 20:41, David Kastrup <[hidden email]> ha
> >That would be "profile-property-access.ly" I think (which includes
> >typography-demo.ly).  Preceded by "utf-8.ly" and "typography-demo.ly".
> >That suggests a problem with your fonts and/or utf-8 input: all of those
> >files include a variety of scripts (Kyrillic, Hebrew, and some other
> >stuff).
>
> Walter, texlive-cyrillic is installed?
> Perhaps removed by accident during an upgrade?

Thanks David and Federico.

This is a new system where I set a new repository. I had to install
anew all dependencies for compiling Lilypond and documentation.

texlive-cyrillic was here (actually texlive-lang-cyrillic, this is a
Debian system). Just in case I installed texlive-all.

What wasn't installed from the dependencies described in lilypond.org
was xfonts-bolkhov-75dpi, but installing it, doing a "make clean",
recompiling everything, and it aborted exactly at the same point.

I will keep trying.

--
Walter Garcia-Fontes
L'Hospitalet de LLobregat



Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

Walter Garcia-Fontes
* Walter Garcia-Fontes, [hidden email] [20/11/15 07:24]:

> * Federico Bruni, [hidden email] [19/11/15 20:49]:
> > Il giorno gio 19 nov 2015 alle 20:41, David Kastrup <[hidden email]> ha
> > >That would be "profile-property-access.ly" I think (which includes
> > >typography-demo.ly).  Preceded by "utf-8.ly" and "typography-demo.ly".
> > >That suggests a problem with your fonts and/or utf-8 input: all of those
> > >files include a variety of scripts (Kyrillic, Hebrew, and some other
> > >stuff).
> >
> > Walter, texlive-cyrillic is installed?
> > Perhaps removed by accident during an upgrade?
>
> Thanks David and Federico.
>
> This is a new system where I set a new repository. I had to install
> anew all dependencies for compiling Lilypond and documentation.
>
> texlive-cyrillic was here (actually texlive-lang-cyrillic, this is a
> Debian system). Just in case I installed texlive-full.
>
> What wasn't installed from the dependencies described in lilypond.org
> was xfonts-bolkhov-75dpi, but installing it, doing a "make clean",
> recompiling everything, and it aborted exactly at the same point.
> I will keep trying.

Still getting this error. I have texlive-full with all fonts. Then I
installed xfonts-* just in case, all the possible fonts for xorg. I
also made sure I have all the fonts mentioned in the "building the
documentation" section of the manual.

I also saw fonts-ipafont mentioned in one of the files failing in the
log and I installed that too, but the compilation keeps aborting in
the same place.

It dies always here:
/sources/lilypond/build/scripts/build/out/extract_texi_filenames
-I ./out-www -I /sources/lilypond/input/regression  -q -o
/sources/lilypond/build/./out-www/xref-maps
out-www/AAA-intro-regression.texi
command failed: /sources/lilypond/build/out/bin/lilypond
-I /sources/lilypond/input/regression  -dbackend=eps
--formats=ps,png,pdf -djob-count=9 -dinclude-eps-fonts -dgs-load-fonts
--header=doctitle --header=doctitleca --header=texidoc
--header=texidocca -dcheck-internal-types -ddump-signatures
-danti-alias-factor=2 -I  "./"  -I
"/sources/lilypond/build/input/regression"  -I
"/sources/lilypond/input/regression" --formats=eps
-deps-box-padding=3.000000  -dread-file-list -dno-strip-output-dir
"/sources/lilypond/build/out/lybook-db/snippet-names-627304319780340468.ly"
Child returned 1
Error ignored by lilylib
Error trapped by lilypond-book

And the log says:
GNU LilyPond 2.19.32

Forking into jobs:  (14951 14950 14949 14948 14947 14946 14945 14944 14943)
logfile lilypond-multi-run-8.log (exit 1):
ng to PNG...
Layout output to `./dc/lily-b18a0bbd-1.eps'...
Converting to `./dc/lily-b18a0bbd-1.pdf'...
Writing ./dc/lily-b18a0bbd-systems.texi...
Writing ./dc/lily-b18a0bbd-systems.tex...
Writing ./dc/lily-b18a0bbd-systems.count...
Processing `./a1/lily-2532f52b.ly'
Parsing...
Renaming input to: `/sources/lilypond/input/regression/easy-notation-accidentals.ly'
Interpreting music...
Preprocessing graphical objects...
Calculating line breaks...
Drawing systems...
Writing header field `texidoc' to `./a1/lily-2532f52b.texidoc'...
Writing ./a1/lily-2532f52b-1.signature
Layout output to `./a1/lily-2532f52b.eps'...
Converting to `./a1/lily-2532f52b.pdf'...
Converting to PNG...
Layout output to `./a1/lily-2532f52b-1.eps'...
Converting to `./a1/lily-2532f52b-1.pdf'...
Writing ./a1/lily-2532f52b-systems.texi...
Writing ./a1/lily-2532f52b-systems.tex...
Writing ./a1/lily-2532f52b-systems.count...
Processing `./snippet-map-627304319780340468.ly'
Parsing...
fatal error: failed files: "16/lily-fb4bd50d.ly"
logfile lilypond-multi-run-5.log (exit 1):
..
Converting to `./f3/lily-b1a0e9ce-1.pdf'...
Writing ./f3/lily-b1a0e9ce-systems.texi...
Writing ./f3/lily-b1a0e9ce-systems.tex...
Writing ./f3/lily-b1a0e9ce-systems.count...
Processing `./29/lily-e0ac5d9b.ly'
Parsing...
Renaming input to: `/sources/lilypond/input/regression/center-title.ly'
Interpreting music...
Preprocessing graphical objects...
Calculating line breaks...
Drawing systems...
Writing header field `texidoc' to `./29/lily-e0ac5d9b.texidoc'...
Writing ./29/lily-e0ac5d9b-1.signature
Writing ./29/lily-e0ac5d9b-2.signature
Layout output to `./29/lily-e0ac5d9b.eps'...
Converting to `./29/lily-e0ac5d9b.pdf'...
Converting to PNG...
Layout output to `./29/lily-e0ac5d9b-1.eps'...
Layout output to `./29/lily-e0ac5d9b-2.eps'...
Converting to `./29/lily-e0ac5d9b-1.pdf'...
Converting to `./29/lily-e0ac5d9b-2.pdf'...
Writing ./29/lily-e0ac5d9b-systems.texi...
Writing ./29/lily-e0ac5d9b-systems.tex...
Writing ./29/lily-e0ac5d9b-systems.count...
fatal error: failed files: "c0/lily-c236818d.ly"
logfile lilypond-multi-run-2.log (exit 1):
y-43739b77.eps'...
Converting to `./28/lily-43739b77.pdf'...
Converting to PNG...
Layout output to `./28/lily-43739b77-1.eps'...
Converting to `./28/lily-43739b77-1.pdf'...
Writing ./28/lily-43739b77-systems.texi...
Writing ./28/lily-43739b77-systems.tex...
Writing ./28/lily-43739b77-systems.count...
Processing `./56/lily-44b4b5eb.ly'
Parsing...
Renaming input to: `/sources/lilypond/input/regression/chord-name-minor.ly'
Interpreting music...
Preprocessing graphical objects...
Calculating line breaks...
Drawing systems...
Writing header field `texidoc' to `./56/lily-44b4b5eb.texidoc'...
Writing ./56/lily-44b4b5eb-1.signature
Layout output to `./56/lily-44b4b5eb.eps'...
Converting to `./56/lily-44b4b5eb.pdf'...
Converting to PNG...
Layout output to `./56/lily-44b4b5eb-1.eps'...
Converting to `./56/lily-44b4b5eb-1.pdf'...
Writing ./56/lily-44b4b5eb-systems.texi...
Writing ./56/lily-44b4b5eb-systems.tex...
Writing ./56/lily-44b4b5eb-systems.count...
fatal error: failed files: "55/lily-c61e089a.ly"
logfile lilypond-multi-run-1.log (exit 1):
s'...
Converting to `./38/lily-a4bfbc04-1.pdf'...
Writing ./38/lily-a4bfbc04-systems.texi...
Writing ./38/lily-a4bfbc04-systems.tex...
Writing ./38/lily-a4bfbc04-systems.count...
Processing `./d9/lily-8594dd6a.ly'
Parsing...
Renaming input to: `/sources/lilypond/input/regression/note-line.ly'
Interpreting music...
Preprocessing graphical objects...
Calculating line breaks...
Drawing systems...
Writing header field `texidoc' to `./d9/lily-8594dd6a.texidoc'...
Writing ./d9/lily-8594dd6a-1.signature
Writing ./d9/lily-8594dd6a-2.signature
Layout output to `./d9/lily-8594dd6a.eps'...
Converting to `./d9/lily-8594dd6a.pdf'...
Converting to PNG...
Layout output to `./d9/lily-8594dd6a-1.eps'...
Layout output to `./d9/lily-8594dd6a-2.eps'...
Converting to `./d9/lily-8594dd6a-1.pdf'...
Converting to `./d9/lily-8594dd6a-2.pdf'...
Writing ./d9/lily-8594dd6a-systems.texi...
Writing ./d9/lily-8594dd6a-systems.tex...
Writing ./d9/lily-8594dd6a-systems.count...
fatal error: failed files: "1b/lily-703d6aa3.ly"
fatal error: Children (8 5 2 1) exited with errors.



--
Walter Garcia-Fontes




Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

David Kastrup
Walter Garcia-Fontes <[hidden email]> writes:

> Parsing...
> fatal error: failed files: "16/lily-fb4bd50d.ly"

"one-line-breaking.ly"

Again includes typography-demo.ly.

> fatal error: failed files: "c0/lily-c236818d.ly"

utf-8.ly.  We had that already.

How about running

out/bin/lilypond input/regression/utf-8.ly

manually and see what kind of diagnostic output you get?  The bulk
compilations are quite less verbose overall.

--
David Kastrup


Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

Walter Garcia-Fontes
* David Kastrup, [hidden email] [20/11/15 17:27]:
> "one-line-breaking.ly"

Compiles fine directly with lilypond.

> Again includes typography-demo.ly.
>
> > fatal error: failed files: "c0/lily-c236818d.ly"
>
> utf-8.ly.  We had that already.>
> How about running
>
> out/bin/lilypond input/regression/utf-8.ly

Also compiles fine.

Thanks David, still not being able to pass the above error, I
installed some additional cyrillic fonts just in case, but it didn't
help.

Thanks anyway, I will keep trying,
Walter


--
Walter Garcia-Fontes
L'Hospitalet de Llobregat



Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

David Kastrup
Walter Garcia-Fontes <[hidden email]> writes:

> * David Kastrup, [hidden email] [20/11/15 17:27]:
>> "one-line-breaking.ly"
>
> Compiles fine directly with lilypond.
>
>> Again includes typography-demo.ly.
>>
>> > fatal error: failed files: "c0/lily-c236818d.ly"
>>
>> utf-8.ly.  We had that already.>
>> How about running
>>
>> out/bin/lilypond input/regression/utf-8.ly
>
> Also compiles fine.
>
> Thanks David, still not being able to pass the above error, I
> installed some additional cyrillic fonts just in case, but it didn't
> help.

In typography-demo.ly, I read

  % Font settings for Cyrillic and Hebrew
  % Linux Libertine fonts contain Cyrillic and Hebrew glyphs.
  #(define fonts
    (set-global-fonts
     #:roman "Linux Libertine O,serif"
     #:sans "Linux Biolinum O,sans-serif"
     #:typewriter "Linux Libertine Mono O,monospace"

The question is why this kind of thing would fail when compiling the
docs but work when used directly.

--
David Kastrup


Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

Walter Garcia-Fontes
In reply to this post by Walter Garcia-Fontes
* David Kastrup, [hidden email] [24/11/15 18:43]:

> Walter Garcia-Fontes <[hidden email]> writes:
> In typography-demo.ly, I read
>
>   % Font settings for Cyrillic and Hebrew
>   % Linux Libertine fonts contain Cyrillic and Hebrew glyphs.
>   #(define fonts
>     (set-global-fonts
>      #:roman "Linux Libertine O,serif"
>      #:sans "Linux Biolinum O,sans-serif"
>      #:typewriter "Linux Libertine Mono O,monospace"
>

Yes, same question I have, I have fonts-linuxlibertine installed:

$ apt-cache policy fonts-linuxlibertine
fonts-linuxlibertine:
  Installed: 5.3.0-2
  Candidate: 5.3.0-2
  Version table:
 *** 5.3.0-2 0

Walter

--
Walter Garcia-Fontes
L'Hospitalet de Llobregat


Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

Walter Garcia-Fontes
In reply to this post by David Kastrup
* David Kastrup, [hidden email] [24/11/15 18:43]:

> In typography-demo.ly, I read
>
>   % Font settings for Cyrillic and Hebrew
>   % Linux Libertine fonts contain Cyrillic and Hebrew glyphs.
>   #(define fonts
>     (set-global-fonts
>      #:roman "Linux Libertine O,serif"
>      #:sans "Linux Biolinum O,sans-serif"
>      #:typewriter "Linux Libertine Mono O,monospace"
>
> The question is why this kind of thing would fail when compiling the
> docs but work when used directly.

This one goes through fine:

$ lilypond ./sources/lilypond/input/regression/typography-demo.ly
GNU LilyPond 2.19.32
Processing `./sources/lilypond/input/regression/typography-demo.ly'
Parsing...
Interpreting music...[8]
Preprocessing graphical objects...
Interpreting music...
MIDI output to `typography-demo.midi'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `/tmp/lilypond-69Pljt'...
Converting to `typography-demo.pdf'...
Deleting `/tmp/lilypond-69Pljt'...
Success: compilation successfully completed


--
Walter Garcia-Fontes
L'Hospitalet de Llobregat


Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

Federico Bruni-3
Il giorno mer 25 nov 2015 alle 9:35, Walter Garcia-Fontes
<[hidden email]> ha scritto:
> This one goes through fine:
>
> $ lilypond ./sources/lilypond/input/regression/typography-demo.ly

You are running some lilypond executable installed in your system, not
the compiled executable which is used by make doc. You should use this
command:

cd $LILYPOND_GIT
./out/bin/lilypond ...

>
> GNU LilyPond 2.19.32
> Processing `./sources/lilypond/input/regression/typography-demo.ly'
> Parsing...
> Interpreting music...[8]
> Preprocessing graphical objects...
> Interpreting music...
> MIDI output to `typography-demo.midi'...
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...
> Layout output to `/tmp/lilypond-69Pljt'...
> Converting to `typography-demo.pdf'...
> Deleting `/tmp/lilypond-69Pljt'...
> Success: compilation successfully completed






Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

Walter Garcia-Fontes
* Federico Bruni, [hidden email] [25/11/15 10:32]:

> Il giorno mer 25 nov 2015 alle 9:35, Walter Garcia-Fontes
> <[hidden email]> ha scritto:
> >This one goes through fine:
> >
> >$ lilypond ./sources/lilypond/input/regression/typography-demo.ly
>
> You are running some lilypond executable installed in your system, not the
> compiled executable which is used by make doc. You should use this command:
>
> cd $LILYPOND_GIT
> ./out/bin/lilypond ...
>

Thanks again Federico, I tried your suggestion, but as I said I made a
"make install" with my compiled binary, so I'm using the compiled
binary. In any case I tried just in case:

./out/bin/lilypond  /sources/lilypond/input/regression/typography-demo.ly
GNU LilyPond 2.19.32
Processing
`/home/wgarcia/sources/lilypond/input/regression/typography-demo.ly'
Parsing...
Interpreting music...[8]
Preprocessing graphical objects...
Interpreting music...
MIDI output to `typography-demo.midi'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `/tmp/lilypond-kFmEMY'...
Converting to `typography-demo.pdf'...
Deleting `/tmp/lilypond-kFmEMY'...
Success: compilation successfully completed

--
Walter Garcia-Fontes
L'Hospitalet de Llobregat


Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

Walter Garcia-Fontes
In reply to this post by David Kastrup
* David Kastrup, [hidden email] [24/11/15 18:43]:

> In typography-demo.ly, I read
>
>   % Font settings for Cyrillic and Hebrew
>   % Linux Libertine fonts contain Cyrillic and Hebrew glyphs.
>   #(define fonts
>     (set-global-fonts
>      #:roman "Linux Libertine O,serif"
>      #:sans "Linux Biolinum O,sans-serif"
>      #:typewriter "Linux Libertine Mono O,monospace"
>
> The question is why this kind of thing would fail when compiling the
> docs but work when used directly.

Still struggling to clear this error. I ran lilypond directly on the
file that creates the error (called
./sources/lilypond/build/out/lybook-db/16/lily-fb4bd50d.ly)
which has this content:

%% Generated by lilypond-book.py
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************



\paper {
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
 
}


% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename
% "/home/wgarcia/sources/lilypond/input/regression/one-line-breaking.ly"
\sourcefileline 0
\version "2.16.0"

\header {
  texidoc = "The @var{ly:one-line-breaking} algorithm puts everything
  on one line."
}

\paper { page-breaking = #ly:one-line-breaking }

\include "typography-demo.ly"



% ****************************************************************
% end ly snippet
% ****************************************************************


It fails telling me that "one-line-breaking.ly" cannot find
"typography-demo.ly", I pasted the full log here, after running
lilypond in verbose mode:

http://pastebin.com/wf5C2xNe

I see all the two files above in the same directory:
./sources/lilypond/input/regression/

Thanks,

--
Walter Garcia-Fontes
L'Hospitalet de Llobregat


Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

Walter Garcia-Fontes
I'm still struggling to compile the documentation. My repository is in
Ubuntu 15.10, so maybe there are some updated libraries or fonts
causing this, but I still haven't been able to figure out what is
causing the compilation to abort. It stops at building snippets, the
last lines of the log show:

-- log --

Processing `./55/lily-c61e089a.ly'
Parsing...
Renaming input to:
`/home/user/sources/lilypond/input/regression/typography-demo.ly'
Interpreting music...[8]
Preprocessing graphical objects...
Interpreting music...
MIDI output to `./55/lily-c61e089a.midi'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Writing header field `texidoc' to `./55/lily-c61e089a.texidoc'...
Layout output to `./55/lily-c61e089a.eps'...
Converting to `./55/lily-c61e089a.pdf'...
warning: `(gs -q -dNOSAFER -dEPSCrop -dCompatibilityLevel=1.4
-dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite
-sOutputFile=./55/lily-c61e089a.pdf -c.setpdfwrite
-f./55/lily-c61e089a.eps)' failed (256)
 
fatal error: failed files: "55/lily-c61e089a.ly 16/lily-fb4bd50d.ly
1b/lily-703d6aa3.ly c0/lily-c236818d.ly"

-- end log --

I tried "lilypond lily-c61e089a.ly" and it compiles fine, and also
"lilypond --ps lily-c61e089a.ly" and also compiles fine.

I also tried

gs -q -dNOSAFER -dEPSCrop -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH
-r1200 -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite
-sOutputFile=./55/lily-c61e089a.pdf -c.setpdfwrite -f./55/lily-c61e089a.eps

from the command line and apart from warnings it creates the eps file
fine.

If anybody has some idea on how to debug this further it would be
great, the full log is in

http://pastebin.com/Ji7v0tqu

--
Walter Garcia-Fontes




Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

Federico Bruni-3
Il giorno ven 26 feb 2016 alle 13:58, Walter Garcia-Fontes
<[hidden email]> ha scritto:
> I'm still struggling to compile the documentation. My repository is in
> Ubuntu 15.10, so maybe there are some updated libraries or fonts
> causing this, but I still haven't been able to figure out what is
> causing the compilation to abort. It stops at building snippets, the
> last lines of the log show:

Hi Walter

I guess that you should try running out/bin/lilypond on the following
files and see what happens:

fatal error: failed files: "55/lily-c61e089a.ly 16/lily-fb4bd50d.ly
1b/lily-703d6aa3.ly c0/lily-c236818d.ly"

Anyway, IIUC this is a problem specific of Ubuntu, right?
In that case, I'm afraid I cannot help.
LilyDev is not an option for you?





Reply | Threaded
Open this post in threaded view
|

Re: Error in building documentation

Walter Garcia-Fontes
* Federico Bruni, [hidden email] [26/02/16 14:36]:
> I guess that you should try running out/bin/lilypond on the following files
> and see what happens:
>
> fatal error: failed files: "55/lily-c61e089a.ly 16/lily-fb4bd50d.ly
> 1b/lily-703d6aa3.ly c0/lily-c236818d.ly"
>
> Anyway, IIUC this is a problem specific of Ubuntu, right?
> In that case, I'm afraid I cannot help.
> LilyDev is not an option for you?

Thanks, I tried it and these files compile all fine from the command
line with lilypond. I think in any case the script is failing in
converting the eps file to pdf with ghostscript, but when I try this
from the command line, it also finishes fine. So I'm really puzzled.

I may setup a virtual machine, but I prefer to have my development
environment in my main computer, and up to recently I never had
problems in building my own development environment, it only started
failing in this last version of Ubuntu.

--
Walter Garcia-Fontes




12