Cannot build changes.pdf anymore

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

Cannot build changes.pdf anymore

Malte Meyn-3
Hi list,

I used to build the changes document like this:

$ cd ~/lilypond/build/Documentation/ && touch
../../Documentation/changes.tely && time make -j5 CPU_COUNT=5 out=www
out-www/changes.pdf

This doesn’t work anymore for me, even after a fresh

$ cd ~/lilypond
$ rm -rf build
$ ./autogen.sh --noconfigure
$ mkdir build
$ cd build
$ ../configure
$ make -j5 CPU_COUNT=5

You can see the tail of the resulting output below. (The last message
says “[…] error 1 make: *** file out-www/changes.pdf is deleted”.) What
is going on there? Where can I start to search for the error?

Cheers,
Malte

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

langdefs.py: warning: lilypond-doc gettext domain not found.
Making Documentation/out-www/changes.pdf < texi
Error: /invalidfileaccess in --file--
Operand stack:
    (/usr/share/fonts/TTF/VeraBI.ttf)   (r)
Execution stack:
    %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
  --nostringval--   false   1   %stopped_push   1990   1   3
%oparray_pop   1989   1   3   %oparray_pop   1977   1   3   %oparray_pop
   1833   1   3   %oparray_pop   --nostringval--   %errorexec_pop
.runexec2   --nostringval--   --nostringval--   --nostringval--   2
%stopped_push   --nostringval--
Dictionary stack:
    --dict:731/1123(ro)(G)--   --dict:0/20(G)--   --dict:76/200(L)--
Current allocation mode is local
Last OS error: Permission denied
Current file position is 227
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
make: *** [/home/malte/lilypond/stepmake/stepmake/texinfo-rules.make:87:
out-www/changes.pdf] Fehler 1
make: *** Datei „out-www/changes.pdf“ wird gelöscht

real 11m12,214s
user 30m27,213s
sys 5m35,049s

Reply | Threaded
Open this post in threaded view
|

Re: Cannot build changes.pdf anymore

Malte Meyn-3


Am 23.11.19 um 12:23 schrieb Malte Meyn:

> Hi list,
>
> I used to build the changes document like this:
>
> $ cd ~/lilypond/build/Documentation/ && touch
> ../../Documentation/changes.tely && time make -j5 CPU_COUNT=5 out=www
> out-www/changes.pdf
>
> This doesn’t work anymore for me, even after a fresh
>
> $ cd ~/lilypond
> $ rm -rf build
> $ ./autogen.sh --noconfigure
> $ mkdir build
> $ cd build
> $ ../configure
> $ make -j5 CPU_COUNT=5
>
> You can see the tail of the resulting output below. (The last message
> says “[…] error 1 make: *** file out-www/changes.pdf is deleted”.) What
> is going on there? Where can I start to search for the error?
>
> Cheers,
> Malte
out-www/changes.tmp.pdf is generated but it has font problems:
Emmentaler fonts are not embedded.

changes.tmp.pdf (62K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Cannot build changes.pdf anymore

James Lowe-3
In reply to this post by Malte Meyn-3
Hello Malte,

On 23/11/2019 11:23, Malte Meyn wrote:
> Hi list,
>
> I used to build the changes document like this:
>
> $ cd ~/lilypond/build/Documentation/ && touch
> ../../Documentation/changes.tely && time make -j5 CPU_COUNT=5 out=www
> out-www/changes.pdf
>
> This doesn’t work anymore for me, even after a fresh

I don't like being 'that guy' but ... it works for me.

I built LP following your steps then did the commands below:

--snip--

james@Zeus:~/lilypond-git/build$ cd Documentation/
james@Zeus:~/lilypond-git/build/Documentation$ touch
../../Documentation/changes.tely
james@Zeus:~/lilypond-git/build/Documentation$ make -j7 CPU_COUNT=7
out=www out-www/changes.pdf

--snip--

I didn't use 'time' before make.

I also don't have any usr/share/fonts/TTF dir (which is in your output)
in case that matters.

James



>
> $ cd ~/lilypond
> $ rm -rf build
> $ ./autogen.sh --noconfigure
> $ mkdir build
> $ cd build
> $ ../configure
> $ make -j5 CPU_COUNT=5
>
> You can see the tail of the resulting output below. (The last message
> says “[…] error 1 make: *** file out-www/changes.pdf is deleted”.)
> What is going on there? Where can I start to search for the error?
>
> Cheers,
> Malte
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> langdefs.py: warning: lilypond-doc gettext domain not found.
> Making Documentation/out-www/changes.pdf < texi
> Error: /invalidfileaccess in --file--
> Operand stack:
>    (/usr/share/fonts/TTF/VeraBI.ttf)   (r)
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval--
> --nostringval--   2   %stopped_push   --nostringval-- --nostringval--
>  --nostringval--   false   1   %stopped_push 1990   1   3
> %oparray_pop   1989   1   3   %oparray_pop   1977 1   3   %oparray_pop
>   1833   1   3   %oparray_pop --nostringval--   %errorexec_pop
> .runexec2   --nostringval-- --nostringval--   --nostringval--   2
> %stopped_push --nostringval--
> Dictionary stack:
>    --dict:731/1123(ro)(G)--   --dict:0/20(G)-- --dict:76/200(L)--
> Current allocation mode is local
> Last OS error: Permission denied
> Current file position is 227
> GPL Ghostscript 9.50: Unrecoverable error, exit code 1
> make: ***
> [/home/malte/lilypond/stepmake/stepmake/texinfo-rules.make:87:
> out-www/changes.pdf] Fehler 1
> make: *** Datei „out-www/changes.pdf“ wird gelöscht
>
> real    11m12,214s
> user    30m27,213s
> sys    5m35,049s
>

Reply | Threaded
Open this post in threaded view
|

Re: Cannot build changes.pdf anymore

Dev mailing list
In reply to this post by Malte Meyn-3
Hi,

Am Samstag, den 23.11.2019, 12:23 +0100 schrieb Malte Meyn:
> Hi list,
>
> I used to build the changes document like this:
>
> $ cd ~/lilypond/build/Documentation/ && touch
> ../../Documentation/changes.tely && time make -j5 CPU_COUNT=5 out=www
> out-www/changes.pdf

is there a reason you're running directly in build/Documentation? I'd
guess that it's probably missing some dependencies that are correctly
built when just running "make doc" in build/.

Jonas

>
> This doesn’t work anymore for me, even after a fresh
>
> $ cd ~/lilypond
> $ rm -rf build
> $ ./autogen.sh --noconfigure
> $ mkdir build
> $ cd build
> $ ../configure
> $ make -j5 CPU_COUNT=5
>
> You can see the tail of the resulting output below. (The last message
> says “[…] error 1 make: *** file out-www/changes.pdf is deleted”.) What
> is going on there? Where can I start to search for the error?
>
> Cheers,
> Malte
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> langdefs.py: warning: lilypond-doc gettext domain not found.
> Making Documentation/out-www/changes.pdf < texi
> Error: /invalidfileaccess in --file--
> Operand stack:
>     (/usr/share/fonts/TTF/VeraBI.ttf)   (r)
> Execution stack:
>     %interp_exit   .runexec2   --nostringval--   --nostringval--
> --nostringval--   2   %stopped_push   --nostringval--   --nostringval--
>   --nostringval--   false   1   %stopped_push   1990   1   3
> %oparray_pop   1989   1   3   %oparray_pop   1977   1   3   %oparray_pop
>    1833   1   3   %oparray_pop   --nostringval--   %errorexec_pop
> .runexec2   --nostringval--   --nostringval--   --nostringval--   2
> %stopped_push   --nostringval--
> Dictionary stack:
>     --dict:731/1123(ro)(G)--   --dict:0/20(G)--   --dict:76/200(L)--
> Current allocation mode is local
> Last OS error: Permission denied
> Current file position is 227
> GPL Ghostscript 9.50: Unrecoverable error, exit code 1
> make: *** [/home/malte/lilypond/stepmake/stepmake/texinfo-rules.make:87:
> out-www/changes.pdf] Fehler 1
> make: *** Datei „out-www/changes.pdf“ wird gelöscht
>
> real 11m12,214s
> user 30m27,213s
> sys 5m35,049s
>

signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Cannot build changes.pdf anymore

Malte Meyn-3


Am 23.11.19 um 13:59 schrieb Jonas Hahnfeld:
> Am Samstag, den 23.11.2019, 12:23 +0100 schrieb Malte Meyn:
>> $ cd ~/lilypond/build/Documentation/ && touch
>> ../../Documentation/changes.tely && time make -j5 CPU_COUNT=5 out=www
>> out-www/changes.pdf
>
> is there a reason you're running directly in build/Documentation? I'd
> guess that it's probably missing some dependencies that are correctly
> built when just running "make doc" in build/.

Yes, I wanted to save time and build only that single document. For that
I followed the CG:
http://lilypond.org/doc/v2.19/Documentation/contributor/generating-documentation#building-a-single-document

Reply | Threaded
Open this post in threaded view
|

Re: Cannot build changes.pdf anymore

Dan Eble
On Nov 23, 2019, at 08:06, Malte Meyn <[hidden email]> wrote:
>
> Yes, I wanted to save time and build only that single document. For that I followed the CG: http://lilypond.org/doc/v2.19/Documentation/contributor/generating-documentation#building-a-single-document
>

I ran these commands in my build directory with HEAD at 658a69f548.

  139  rm -rf *
  140  ls -la # showed nothing hidden
  141  ~/lilypond-src/autogen.sh
  142  make -j3 CPU_COUNT=3
  143  find . -name changes.tely # not found in the build dir
  # 143.5 on the host system, touch ${src}/Documentation/changes.tely
  144  time make -j3 CPU_COUNT=3 -C Documentation out=www out-www/changes.pdf

The last command yielded a readable file in Documentation/out-www/changes.pdf.

Dan