Re: recent make doc failure

2011-11-30 Thread Julien Rioux

On 29/11/2011 6:15 PM, Graham Percival wrote:

On Tue, Nov 29, 2011 at 05:28:37PM -0500, Julien Rioux wrote:

This is a sequential make and make doc. The latter stops with the
error message given below. Extract_texi_filename is the last thing
that runs correctly and then make tries to copy a file from the
build dir instead of the source dir. Does anybody else experience
this?


I've seen some mentions of this from the arch linux guy, but I
can't recall if a proper bug report made its way into the tracker.


Just looking for some confirmation so that I can identify if I did
something wrong or not.
cp -p web.texi out-www/web.texi
cp: cannot stat `web.texi': No such file or directory
make[3]: *** [out-www/web.texi] Error 1
make[3]: Leaving directory


I similar messages in Dec 2009 or 2010 with lilybuntu 1.1 (old
version).  Only occurred when running inside virtualbox.  The
problem went away when ubuntu sent out a kernel upgrade.
Seriously.

If it's the same bug, then running "make doc" again should
complete the fr/ translations, but die on the de/ or es/ ones.  If
you repeat "make doc" 7 or 8 times, you'll end up with the
complete docs.




Ah yeah, I forgot to test that. I already nuked the build dir, but I'll 
try it next time.



I can't see anything wrong in what you're doing, and I think there
*is* some kind of dependency problem.  You're the best person to
debug those!
incidently, I have no problems making doc, so I suspect some kind
of timing / dependency order issue.

Cheers,
- Graham


Thank you for checking. So something setup-dependent. Bliss.

Cheers,
Julien

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: recent make doc failure

2011-11-30 Thread Julien Rioux

On 29/11/2011 6:24 PM, James wrote:

Julien

On 29 November 2011 22:28, Julien Rioux  wrote:


Hi all,

In a fresh checkout I run
./autogen.sh --noconfigure
mkdir build0
cd build0
../configure --disable-optimising
make&&  make doc

This is a sequential make and make doc. The latter stops with the error
message given below. Extract_texi_filename is the last thing that runs
correctly and then make tries to copy a file from the build dir instead of
the source dir. Does anybody else experience this?



No. I've just done a full doc build from current master with no problems.



Thanks for checking. I take note.

Cheers,
Julien

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: recent make doc failure

2011-11-29 Thread Graham Percival
On Tue, Nov 29, 2011 at 05:28:37PM -0500, Julien Rioux wrote:
> This is a sequential make and make doc. The latter stops with the
> error message given below. Extract_texi_filename is the last thing
> that runs correctly and then make tries to copy a file from the
> build dir instead of the source dir. Does anybody else experience
> this?

I've seen some mentions of this from the arch linux guy, but I
can't recall if a proper bug report made its way into the tracker.

> Just looking for some confirmation so that I can identify if I did
> something wrong or not.
> cp -p web.texi out-www/web.texi
> cp: cannot stat `web.texi': No such file or directory
> make[3]: *** [out-www/web.texi] Error 1
> make[3]: Leaving directory

I similar messages in Dec 2009 or 2010 with lilybuntu 1.1 (old
version).  Only occurred when running inside virtualbox.  The
problem went away when ubuntu sent out a kernel upgrade.
Seriously.

If it's the same bug, then running "make doc" again should
complete the fr/ translations, but die on the de/ or es/ ones.  If
you repeat "make doc" 7 or 8 times, you'll end up with the
complete docs.


I can't see anything wrong in what you're doing, and I think there
*is* some kind of dependency problem.  You're the best person to
debug those!
incidently, I have no problems making doc, so I suspect some kind
of timing / dependency order issue.

Cheers,
- Graham

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: recent make doc failure

2011-11-29 Thread James
Julien

On 29 November 2011 22:28, Julien Rioux  wrote:

> Hi all,
>
> In a fresh checkout I run
> ./autogen.sh --noconfigure
> mkdir build0
> cd build0
> ../configure --disable-optimising
> make && make doc
>
> This is a sequential make and make doc. The latter stops with the error
> message given below. Extract_texi_filename is the last thing that runs
> correctly and then make tries to copy a file from the build dir instead of
> the source dir. Does anybody else experience this?
>

No. I've just done a full doc build from current master with no problems.

-- 
--

James
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


recent make doc failure

2011-11-29 Thread Julien Rioux

Hi all,

In a fresh checkout I run
./autogen.sh --noconfigure
mkdir build0
cd build0
../configure --disable-optimising
make && make doc

This is a sequential make and make doc. The latter stops with the error 
message given below. Extract_texi_filename is the last thing that runs 
correctly and then make tries to copy a file from the build dir instead 
of the source dir. Does anybody else experience this?


The last time I did a git pull was this weekend. The git HEAD gives me 
a228baa1e5bb0f0d65c371e7da5076a7d8f58a5e, I am not saying anything is 
wrong with this commit, just that this is the first time I experience 
this make doc failure.


Just looking for some confirmation so that I can identify if I did 
something wrong or not.


Thanks,
Julien

/home/jrioux/git/lilypond/build0/scripts/build/out/extract_texi_filenames -o 
/home/jrioux/git/lilypond/build0/./out-www/xref-maps -I ./out-www -I 
/home/jrioux/git/lilypond/Documentation/fr -I 
/home/jrioux/git/lilypond/Documentation/fr/included -I 
/home/jrioux/git/lilypond/Documentation -I 
/home/jrioux/git/lilypond/build0/Documentation/./out-www 
--master-map-file=/home/jrioux/git/lilypond/build0/./out-www/xref-maps/usage.xref-map 
out-www/usage.texi

extract_texi_filenames.py: Processing out-www/usage.texi
writing: 
/home/jrioux/git/lilypond/build0/./out-www/xref-maps/usage.fr.xref-map

cp -p web.texi out-www/web.texi
cp: cannot stat `web.texi': No such file or directory
make[3]: *** [out-www/web.texi] Error 1
make[3]: Leaving directory 
`/home/jrioux/git/lilypond/build0/Documentation/fr'

make[2]: *** [WWW-1] Error 2
make[2]: Leaving directory `/home/jrioux/git/lilypond/build0/Documentation'
make[1]: *** [WWW-1] Error 2
make[1]: Leaving directory `/home/jrioux/git/lilypond/build0'
make: *** [doc-stage-1] Error 2


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: make doc failure on fresh build tree

2011-11-07 Thread Peekay Ex
Hello,

On Tue, Nov 8, 2011 at 1:35 AM, Colin Campbell  wrote:
> On 11-11-07 12:46 PM, Adam Spiers wrote:
>>
>> On Mon, Nov 7, 2011 at 7:34 PM, Neil Puttock  wrote:
>>>
>>> On 7 November 2011 19:32, Graham Percival
>>>  wrote:
>>>
 Failing either of these, I guess we're into git bisect time, which
 of course sucks for doc-building if you're not Phil or James.  I
 know that Phil can build the docs, but hopefully James' computer
 will fail in this same way?
>>>
>>> I've just finished building the docs without incident.
>>
>> I ran it again without -j2 and it completed fine.  *shrug*
>>
>> ___
>>
>
>
> ISTR there's a long standing problem with forking make doc, although the
> initial make to [roduce the binaries seems not to mind.
>

Yes there is or 'was' I've noticed that in the last few days I have
been running make -j7 I have *not* been getting those weird
'authors.texi' type errors or those 'file not found' type problems
that 'go away' running make again.

Every patch that has applied has passed make with no issues at all.
Whereas previously I'd have to run make twice nearly every time. So I
wonder if any recent build changes have made the difference.

-- 
--
James

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: make doc failure on fresh build tree

2011-11-07 Thread Colin Campbell

On 11-11-07 12:46 PM, Adam Spiers wrote:

On Mon, Nov 7, 2011 at 7:34 PM, Neil Puttock  wrote:

On 7 November 2011 19:32, Graham Percival  wrote:


Failing either of these, I guess we're into git bisect time, which
of course sucks for doc-building if you're not Phil or James.  I
know that Phil can build the docs, but hopefully James' computer
will fail in this same way?

I've just finished building the docs without incident.

I ran it again without -j2 and it completed fine.  *shrug*

___




ISTR there's a long standing problem with forking make doc, although the 
initial make to [roduce the binaries seems not to mind.


Colin

--
I've learned that you shouldn't go through life with a catcher's mitt on both 
hands.
You need to be able to throw something back.
-Maya Angelou, poet (1928- )


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: make doc failure on fresh build tree

2011-11-07 Thread Adam Spiers
On Mon, Nov 7, 2011 at 7:34 PM, Neil Puttock  wrote:
> On 7 November 2011 19:32, Graham Percival  wrote:
>
>> Failing either of these, I guess we're into git bisect time, which
>> of course sucks for doc-building if you're not Phil or James.  I
>> know that Phil can build the docs, but hopefully James' computer
>> will fail in this same way?
>
> I've just finished building the docs without incident.

I ran it again without -j2 and it completed fine.  *shrug*

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: make doc failure on fresh build tree

2011-11-07 Thread Neil Puttock
On 7 November 2011 19:32, Graham Percival  wrote:

> Failing either of these, I guess we're into git bisect time, which
> of course sucks for doc-building if you're not Phil or James.  I
> know that Phil can build the docs, but hopefully James' computer
> will fail in this same way?

I've just finished building the docs without incident.

Cheers,
Neil

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: make doc failure on fresh build tree

2011-11-07 Thread Graham Percival
On Mon, Nov 07, 2011 at 05:00:23PM +, Adam Spiers wrote:
> extract_texi_filenames.py: Processing out-www/snippets.texi
> Traceback (most recent call last):
>   File 
> "/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",
> line 304, in 
> Traceback (most recent call last):
>   File 
> "/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",

I've honestly never seen that kind of a warning.

> IOError: [Errno 2] No such file or directory: 'out-www/snippets.texi'

hmm.

First, it's possible that a change to a GNUmakefile could require
you to re-run autogen.sh and configure.

Second, it's just possible that your disk partition is out of
space.  (I lost half a day last week trying to track down an
apparent bug in imagemagick that just turned out to be my /tmp
being full)

Failing either of these, I guess we're into git bisect time, which
of course sucks for doc-building if you're not Phil or James.  I
know that Phil can build the docs, but hopefully James' computer
will fail in this same way?
(assuming it's not the autogen issue)

- Graham

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: make doc failure on fresh build tree

2011-11-07 Thread Phil Holmes
- Original Message - 
From: "Peekay Ex" 
To: "Phil Holmes" ; "Adam Spiers" 


Cc: 
Sent: Monday, November 07, 2011 5:26 PM
Subject: Re: make doc failure on fresh build tree


Hello,

On Mon, Nov 7, 2011 at 5:14 PM, Phil Holmes  wrote:

- Original Message - From: "Adam Spiers"

To: 
Sent: Monday, November 07, 2011 5:00 PM
Subject: make doc failure on fresh build tree



The below error was caused by 'make -j2 doc' on a fresh build tree -
any ideas?


/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames
-I ./out-www -I /home/adam/music/software/lilypond.git/Documentation
-I /home/adam/music/software/lilypond.git/Documentation -o
/home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps
out-www/extending.texi
The style file:
/home/adam/music/software/lilypond.git/Documentation/lily-bib.bst
Database file #1:

/home/adam/music/software/lilypond.git/Documentation/essay/engravingbib.bib

/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames
-I ./out-www -I /home/adam/music/software/lilypond.git/Documentation
-I /home/adam/music/software/lilypond.git/Documentation -o
/home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps
out-www/snippets.texi
extract_texi_filenames.py: Processing out-www/extending.texi
extract_texi_filenames.py: Processing out-www/snippets.texi
Traceback (most recent call last):
File
"/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",
line 304, in 
Traceback (most recent call last):
File
"/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",
line 304, in 
(lang_suffix, sections) = extract_sections (filename)
File
"/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",
line 142, in extract_sections
f = open (filename, 'r')
IOError: [Errno 2] No such file or directory: 'out-www/extending.texi'
(lang_suffix, sections) = extract_sections (filename)
File
"/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",
line 142, in extract_sections
f = open (filename, 'r')
IOError: [Errno 2] No such file or directory: 'out-www/snippets.texi'
make[2]: ***
[/home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps/extending.xref-map]
Error 1
make[2]: *** Waiting for unfinished jobs
make[2]: ***
[/home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps/snippets.xref-map]
Error 1
make[2]: Leaving directory
`/home/adam/.GIT/3rd-party/lilypond/build/Documentation'
make[1]: *** [WWW-1] Error 2
make[1]: Leaving directory `/home/adam/.GIT/3rd-party/lilypond/build'
make: *** [doc-stage-1] Error 2



Have you run make first?



and if you have - I've noticed that since I last did a make doc there
have been some translation merges, so what I do is roll back git to
before they were added and at least see if you can make doc there

The last known good commit that I did a full make doc on was

4bc910c81829ce9ae0a8c44d339bcdcf12d03802 about 2 days ago.




Latest master makes doc clean on my system.

--
Phil Holmes


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: make doc failure on fresh build tree

2011-11-07 Thread Peekay Ex
Hello,

On Mon, Nov 7, 2011 at 5:14 PM, Phil Holmes  wrote:
> - Original Message - From: "Adam Spiers"
> 
> To: 
> Sent: Monday, November 07, 2011 5:00 PM
> Subject: make doc failure on fresh build tree
>
>
>> The below error was caused by 'make -j2 doc' on a fresh build tree -
>> any ideas?
>>
>>
>> /home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames
>> -I ./out-www -I /home/adam/music/software/lilypond.git/Documentation
>> -I /home/adam/music/software/lilypond.git/Documentation -o
>> /home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps
>> out-www/extending.texi
>> The style file:
>> /home/adam/music/software/lilypond.git/Documentation/lily-bib.bst
>> Database file #1:
>>
>> /home/adam/music/software/lilypond.git/Documentation/essay/engravingbib.bib
>>
>> /home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames
>> -I ./out-www -I /home/adam/music/software/lilypond.git/Documentation
>> -I /home/adam/music/software/lilypond.git/Documentation -o
>> /home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps
>> out-www/snippets.texi
>> extract_texi_filenames.py: Processing out-www/extending.texi
>> extract_texi_filenames.py: Processing out-www/snippets.texi
>> Traceback (most recent call last):
>>  File
>> "/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",
>> line 304, in 
>> Traceback (most recent call last):
>>  File
>> "/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",
>> line 304, in 
>>       (lang_suffix, sections) = extract_sections (filename)
>>  File
>> "/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",
>> line 142, in extract_sections
>>   f = open (filename, 'r')
>> IOError: [Errno 2] No such file or directory: 'out-www/extending.texi'
>> (lang_suffix, sections) = extract_sections (filename)
>>  File
>> "/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",
>> line 142, in extract_sections
>>   f = open (filename, 'r')
>> IOError: [Errno 2] No such file or directory: 'out-www/snippets.texi'
>> make[2]: ***
>> [/home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps/extending.xref-map]
>> Error 1
>> make[2]: *** Waiting for unfinished jobs
>> make[2]: ***
>> [/home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps/snippets.xref-map]
>> Error 1
>> make[2]: Leaving directory
>> `/home/adam/.GIT/3rd-party/lilypond/build/Documentation'
>> make[1]: *** [WWW-1] Error 2
>> make[1]: Leaving directory `/home/adam/.GIT/3rd-party/lilypond/build'
>> make: *** [doc-stage-1] Error 2
>
>
> Have you run make first?
>

and if you have - I've noticed that since I last did a make doc there
have been some translation merges, so what I do is roll back git to
before they were added and at least see if you can make doc there

The last known good commit that I did a full make doc on was

4bc910c81829ce9ae0a8c44d339bcdcf12d03802 about 2 days ago.

regards

-- 
--
James

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: make doc failure on fresh build tree

2011-11-07 Thread Phil Holmes
- Original Message - 
From: "Adam Spiers" 

To: 
Sent: Monday, November 07, 2011 5:00 PM
Subject: make doc failure on fresh build tree



The below error was caused by 'make -j2 doc' on a fresh build tree -
any ideas?

/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames
-I ./out-www -I /home/adam/music/software/lilypond.git/Documentation
-I /home/adam/music/software/lilypond.git/Documentation -o
/home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps
out-www/extending.texi
The style file:
/home/adam/music/software/lilypond.git/Documentation/lily-bib.bst
Database file #1:
/home/adam/music/software/lilypond.git/Documentation/essay/engravingbib.bib
/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames
-I ./out-www -I /home/adam/music/software/lilypond.git/Documentation
-I /home/adam/music/software/lilypond.git/Documentation -o
/home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps
out-www/snippets.texi
extract_texi_filenames.py: Processing out-www/extending.texi
extract_texi_filenames.py: Processing out-www/snippets.texi
Traceback (most recent call last):
 File 
"/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",

line 304, in 
Traceback (most recent call last):
 File 
"/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",

line 304, in 
   (lang_suffix, sections) = extract_sections (filename)
 File 
"/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",

line 142, in extract_sections
   f = open (filename, 'r')
IOError: [Errno 2] No such file or directory: 'out-www/extending.texi'
(lang_suffix, sections) = extract_sections (filename)
 File 
"/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",

line 142, in extract_sections
   f = open (filename, 'r')
IOError: [Errno 2] No such file or directory: 'out-www/snippets.texi'
make[2]: *** 
[/home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps/extending.xref-map]

Error 1
make[2]: *** Waiting for unfinished jobs
make[2]: *** 
[/home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps/snippets.xref-map]

Error 1
make[2]: Leaving directory
`/home/adam/.GIT/3rd-party/lilypond/build/Documentation'
make[1]: *** [WWW-1] Error 2
make[1]: Leaving directory `/home/adam/.GIT/3rd-party/lilypond/build'
make: *** [doc-stage-1] Error 2



Have you run make first?

--
Phil Holmes



___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


make doc failure on fresh build tree

2011-11-07 Thread Adam Spiers
The below error was caused by 'make -j2 doc' on a fresh build tree -
any ideas?

/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames
-I ./out-www -I /home/adam/music/software/lilypond.git/Documentation
-I /home/adam/music/software/lilypond.git/Documentation -o
/home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps
out-www/extending.texi
The style file:
/home/adam/music/software/lilypond.git/Documentation/lily-bib.bst
Database file #1:
/home/adam/music/software/lilypond.git/Documentation/essay/engravingbib.bib
/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames
-I ./out-www -I /home/adam/music/software/lilypond.git/Documentation
-I /home/adam/music/software/lilypond.git/Documentation -o
/home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps
out-www/snippets.texi
extract_texi_filenames.py: Processing out-www/extending.texi
extract_texi_filenames.py: Processing out-www/snippets.texi
Traceback (most recent call last):
  File 
"/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",
line 304, in 
Traceback (most recent call last):
  File 
"/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",
line 304, in 
(lang_suffix, sections) = extract_sections (filename)
  File 
"/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",
line 142, in extract_sections
f = open (filename, 'r')
IOError: [Errno 2] No such file or directory: 'out-www/extending.texi'
(lang_suffix, sections) = extract_sections (filename)
  File 
"/home/adam/.GIT/3rd-party/lilypond/build/scripts/build/out/extract_texi_filenames",
line 142, in extract_sections
f = open (filename, 'r')
IOError: [Errno 2] No such file or directory: 'out-www/snippets.texi'
make[2]: *** 
[/home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps/extending.xref-map]
Error 1
make[2]: *** Waiting for unfinished jobs
make[2]: *** 
[/home/adam/.GIT/3rd-party/lilypond/build/./out-www/xref-maps/snippets.xref-map]
Error 1
make[2]: Leaving directory
`/home/adam/.GIT/3rd-party/lilypond/build/Documentation'
make[1]: *** [WWW-1] Error 2
make[1]: Leaving directory `/home/adam/.GIT/3rd-party/lilypond/build'
make: *** [doc-stage-1] Error 2

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Make doc failure

2009-11-13 Thread Matthias Kilian
On Fri, Nov 13, 2009 at 09:36:44PM +, Neil Puttock wrote:
> > I guess I could test this tomorrow.
> 
> Doesn't work for me unfortunately:
> 
> WARNING: Unable to find node 'Scheme tutorial' in book learning.
> cp /home/neil/lilypond/Documentation/css/*.css out-www/contributor/
> cp /home/neil/lilypond/Documentation/css/*.css out-www/notation/
> # fix links from other manuals to general
> find ./out-www -name "*.html" | xargs sed  -e 's/..\/general\//..\//' -i ''
> sed: can't read : No such file or directory
> make[2]: *** [local-WWW-2] Error 123

Of course, both lines with this find .. | xargs sed ... -i pattern
have to be changed, not only the one i mentioned in my mail.

Ciao,
Kili


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


Re: Make doc failure

2009-11-13 Thread Neil Puttock
2009/11/13 Graham Percival :

> I guess I could test this tomorrow.

Doesn't work for me unfortunately:

WARNING: Unable to find node 'Scheme tutorial' in book learning.
cp /home/neil/lilypond/Documentation/css/*.css out-www/contributor/
cp /home/neil/lilypond/Documentation/css/*.css out-www/notation/
# fix links from other manuals to general
find ./out-www -name "*.html" | xargs sed  -e 's/..\/general\//..\//' -i ''
sed: can't read : No such file or directory
make[2]: *** [local-WWW-2] Error 123

Regards,
Neil


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


Re: Make doc failure

2009-11-13 Thread Graham Percival
On Fri, Nov 13, 2009 at 10:08:36PM +0100, Matthias Kilian wrote:
> On Fri, Nov 13, 2009 at 08:31:34PM +, Carl Sorensen wrote:
> > @@ -146,8 +146,8 @@ local-WWW-1: $(OUT_TEXINFO_MANUALS) 
> > $(PDF_FILES) info
> >  
> >  local-WWW-2: txt-to-html $(OUT_HTML_FILES) $(DEEP_HTML_FILES) 
> > $(source-links) $(OM
> > # fix links from other manuals to general
> > -   find $(outdir) -name "*.html" | xargs sed -i 's/..\/general\//..\//'
> > -   ls $(outdir)/*.html | xargs sed -i 's/ > +   find $(outdir) -name "*.html" | xargs sed  -e 
> > 's/..\/general\//..\//' -i ''
> > +   ls $(outdir)/*.html | xargs sed  -e 's/ > -i ''
> >  endif
> 
> Please don't use -i on sed(1), it's not portable (so it wasn't
> portable in the original version). If you're brave, and if there
> are no files with "funny" names (containing linebreaks), you can
> use something like
> 
>   ls $(outdir)/*.html | while read f; do sed -e ... "$$f" > _ && mv _ 
> "$$f" done

I guess I could test this tomorrow.

It's looking like we'll end up with another directory structure
for the docs, so I might bite the bullet and hack the texi2html
init files directly.  However, I'm reluctant to do that with the
web-texi2html init file in such a bad shape.

Cheers,
- Graham


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


Re: Make doc failure

2009-11-13 Thread Matthias Kilian
On Fri, Nov 13, 2009 at 08:31:34PM +, Carl Sorensen wrote:
> @@ -146,8 +146,8 @@ local-WWW-1: $(OUT_TEXINFO_MANUALS) 
> $(PDF_FILES) info
>  
>  local-WWW-2: txt-to-html $(OUT_HTML_FILES) $(DEEP_HTML_FILES) 
> $(source-links) $(OM
> # fix links from other manuals to general
> -   find $(outdir) -name "*.html" | xargs sed -i 's/..\/general\//..\//'
> -   ls $(outdir)/*.html | xargs sed -i 's/ +   find $(outdir) -name "*.html" | xargs sed  -e 
> 's/..\/general\//..\//' -i ''
> +   ls $(outdir)/*.html | xargs sed  -e 's/ ''
>  endif

Please don't use -i on sed(1), it's not portable (so it wasn't
portable in the original version). If you're brave, and if there
are no files with "funny" names (containing linebreaks), you can
use something like

ls $(outdir)/*.html | while read f; do sed -e ... "$$f" > _ && mv _ 
"$$f" done

Ciao,
Kili


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


Re: Make doc failure

2009-11-13 Thread Carl Sorensen
raham Percival  percival-music.ca> writes:

> 
> On Thu, Oct 22, 2009 at 07:34:18AM -0600, Carl Sorensen wrote:
> > # fix links from other manuals to general
> > find ./out-www -name "*.html" | 
xargs sed -i 's/\.\.\/general\//\.\.\//'
> > sed: 1: "./out-www/All.html": invalid command code .
> 
> Mao.  IIRC you're on OSX?  Evidently this is a difference between
> GNU sed and BSD sed.
> 
> Out of interest, from Documentation, does
>sed -i 's/\.\.\/general\//\.\.\//' out-www/All.html
> work?  I'm not certain if that would change anything if it does,
> since the ./out-www comes from expanding $(outdir) in the
> makefile.

I finally got around to looking at this.  I needed to change the arguments
to sed.  I made the following patch to Documentation/GNUmakefile, and
things seem to work properly.

diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile
index 4e4bf89..dc1da96 100644
--- a/Documentation/GNUmakefile
+++ b/Documentation/GNUmakefile

 
@@ -146,8 +146,8 @@ local-WWW-1: $(OUT_TEXINFO_MANUALS) 
$(PDF_FILES) info
 
 local-WWW-2: txt-to-html $(OUT_HTML_FILES) $(DEEP_HTML_FILES) 
$(source-links) $(OM
# fix links from other manuals to general
-   find $(outdir) -name "*.html" | xargs sed -i 's/..\/general\//..\//'
-   ls $(outdir)/*.html | xargs sed -i 's/http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Make doc failure

2009-10-22 Thread Graham Percival
On Thu, Oct 22, 2009 at 07:34:18AM -0600, Carl Sorensen wrote:
> # fix links from other manuals to general
> find ./out-www -name "*.html" | xargs sed -i 's/\.\.\/general\//\.\.\//'
> sed: 1: "./out-www/All.html": invalid command code .

Mao.  IIRC you're on OSX?  Evidently this is a difference between
GNU sed and BSD sed.

Out of interest, from Documentation, does
   sed -i 's/\.\.\/general\//\.\.\//' out-www/All.html
work?  I'm not certain if that would change anything if it does,
since the ./out-www comes from expanding $(outdir) in the
makefile.

The *proper* solution, even disregarding this problem, is to
modify the targets of those links by rewriting texi2html's href
writer.  But I don't feel like wading into that perl at the
moment, so I just slapped the sed in there.

Hmm.  Any constructive thoughts, especially enthusiastic offers to
hack at the perl, would be appreciated.

Cheers,
- Graham


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


Make doc failure

2009-10-22 Thread Carl Sorensen
With current git, after make, make doc-clean, make doc I get

WARNING: Unable to find node 'Scheme tutorial' in book learning.
cp /Users/Carl/lilypond-working/Documentation/css/*.css out-www/contributor/
# fix links from other manuals to general
find ./out-www -name "*.html" | xargs sed -i 's/\.\.\/general\//\.\.\//'
sed: 1: "./out-www/All.html": invalid command code .
make[2]: *** [local-WWW-2] Error 1
make[1]: *** [WWW-2] Error 2
make: *** [doc] Error 2


Thanks,


carl



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


Re: make doc failure

2009-10-17 Thread Patrick McCarty
On 2009-10-17, Graham Percival wrote:
> On Sat, Oct 17, 2009 at 04:39:01PM +0200, Jean-Charles Malahieude wrote:
> > Here is the tail of the logs when trying to build the
> > documentation on a  fresh master with the last CVS of texi2html:
> 
> Hmm... don't use texi2html CVS?  :)

Yeah, texi2html CVS is broken for me...

I get this error:

$ texi2html
Global symbol "$result" requires explicit package name at /usr/bin/texi2html 
line 15157.
Global symbol "$result" requires explicit package name at /usr/bin/texi2html 
line 15161.
Global symbol "$result" requires explicit package name at /usr/bin/texi2html 
line 15164.
BEGIN not safe after errors--compilation aborted at /usr/bin/texi2html line 
15918.


I just reported the issue to the texi2html-bug list.

-Patrick


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


Re: make doc failure

2009-10-17 Thread Graham Percival
On Sat, Oct 17, 2009 at 04:39:01PM +0200, Jean-Charles Malahieude wrote:
> Here is the tail of the logs when trying to build the documentation on a  
> fresh master with the last CVS of texi2html:

Hmm... don't use texi2html CVS?  :)

> Undefined subroutine &main:: called at  
> /home/jcharles/GIT/Mentors/Documentation/lilypond-texi2html.init line 
> 718.

Evidently texi2html changed something in the way that init files
are supposed to be set up, but I'm not keeping up-to-date with its
development.  If you could look into this, that would be great!
(i.e. look at the recent changes in the texi2html source)


If texi2html 1.83 or 1.84 or whatever has been released, I have no
problem removing backwards compatibility from our init files and
requiring contributors to upgrade to 1.83.  I'm a bit leery to do
that with CVS versions, though.

Cheers,
- Graham


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


make doc failure

2009-10-17 Thread Jean-Charles Malahieude

Hi everybody!

Here is the tail of the logs when trying to build the documentation on a 
fresh master with the last CVS of texi2html:


==
home/jcharles/GIT/Mentors/./out-www/xref-maps out-www/collated-files.texi
ln -f /home/jcharles/GIT/Mentors/Documentation/css/lilypond-blue.css 
out-www/lilypond-blue.css
ln -f /home/jcharles/GIT/Mentors/Documentation/css/lilypond-ie-fixes.css 
out-www/lilypond-ie-fixes.css
ln -f /home/jcharles/GIT/Mentors/Documentation/css/lilypond-mccarty.css 
out-www/lilypond-mccarty.css
ln -f /home/jcharles/GIT/Mentors/Documentation/css/lilypond-web-alt1.css 
out-www/lilypond-web-alt1.css
ln -f /home/jcharles/GIT/Mentors/Documentation/css/lilypond-web-alt2.css 
out-www/lilypond-web-alt2.css
ln -f /home/jcharles/GIT/Mentors/Documentation/css/lilypond-web.css 
out-www/lilypond-web.css
ln -f /home/jcharles/GIT/Mentors/Documentation/css/lilypond.css 
out-www/lilypond.css
ln -f /home/jcharles/GIT/Mentors/Documentation/css/text-to-speech.css 
out-www/text-to-speech.css

extract_texi_filenames.py: Processing out-www/collated-files.texi
writing: 
/home/jcharles/GIT/Mentors/./out-www/xref-maps/collated-files.xref-map
SRC_DIR=. PERL_UNICODE=SD texi2html --I=. --I=./out-www -I 
/home/jcharles/GIT/Mentors/Documentation 
--I=/home/jcharles/GIT/Mentors/./out-www/xref-maps 
--init-file=/home/jcharles/GIT/Mentors/Documentation/lilypond-texi2html.init 
 --output=out-www/collated-files.html out-www/collated-files.texi
Undefined subroutine &main:: called at 
/home/jcharles/GIT/Mentors/Documentation/lilypond-texi2html.init line 718.

make[3]: *** [out-www/collated-files.html] Error 25
rm /home/jcharles/GIT/Mentors/./out-www/xref-maps/collated-files.xref-map
make[3]: Leaving directory `/home/jcharles/GIT/Mentors/input/regression'
make[2]: *** [WWW-2] Error 2
make[2]: Leaving directory `/home/jcharles/GIT/Mentors/input'
make[1]: *** [WWW-2] Error 2
make[1]: Leaving directory `/home/jcharles/GIT/Mentors'
make: *** [doc] Erreur 2

Compilation exited abnormally with code 2 at Sat Oct 17 16:21:41
=

I'm unfortunately unable to decrypt...

Cheers,
Jean-Charles




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


Re: make doc failure

2009-08-11 Thread Neil Puttock
2009/8/11 John Mandereau :

> Getting the Y-offset of InstrumentName seems to be really needed in this
> particular snippet; I'll probably push the dirty fix below to be able to
> complete the docs build (plus a FIXME in the texidoc) until this snippet
> is really fixed.

Sorry for the delay, John; if you can wait about ten minutes or so,
I'll have a patch ready.

I'll deal with the snippets separately, since I need to work out why
their positioning has changed since I pushed the original patch (I
think it's something to do with Joe's removal of minimum-Y-extent).

Cheers,
Neil


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


Re: make doc failure

2009-08-11 Thread John Mandereau
Le mardi 11 août 2009 à 15:44 +0200, John Mandereau a écrit :
> It looks like a grob suicides in Documentation/snippets/incipit.ly, as I
> get the backtrace below when issuing 'make doc'.  I suspect a check for
> SCM_UNSPECIFIED should be added either in the override in incipit.ly or
> in system-start-text::calc-y-offset definition, unless there should be
> no grob suicide, but then I have no clue.

Getting the Y-offset of InstrumentName seems to be really needed in this
particular snippet; I'll probably push the dirty fix below to be able to
complete the docs build (plus a FIXME in the texidoc) until this snippet
is really fixed.

diff --git a/Documentation/snippets/incipit.ly
b/Documentation/snippets/incipit.ly
index 3501ce2..df6d54b 100644
--- a/Documentation/snippets/incipit.ly
+++ b/Documentation/snippets/incipit.ly
@@ -29,7 +29,12 @@ incipit =
 \once \override Staff.InstrumentName #'self-alignment-Y = #UP
 \once \override Staff.InstrumentName #'Y-offset =
   #(lambda (grob)
- (+ 4 (system-start-text::calc-y-offset grob)))
+(let ((y-offset (system-start-text::calc-y-offset grob)))
+  (if (number? y-offset)
+(+ 4 y-offset)
+(begin
+ (ly:warning "grob committed suicide: ~a" grob)
+  4
 \once \override Staff.InstrumentName #'padding = #0.3
 \once \override Staff.InstrumentName #'stencil =
   #(lambda (grob)

-- 
John Mandereau 


signature.asc
Description: Ceci est une partie de message numériquement signée
___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


make doc failure

2009-08-11 Thread John Mandereau
Hi Neil,

It looks like a grob suicides in Documentation/snippets/incipit.ly, as I
get the backtrace below when issuing 'make doc'.  I suspect a check for
SCM_UNSPECIFIED should be added either in the override in incipit.ly or
in system-start-text::calc-y-offset definition, unless there should be
no grob suicide, but then I have no clue.


Backtrace:
In unknown file:
   ?:  0* [lilypond-main #]
In /home/lilydev/git/lily/master/out/share/lilypond/current/scm/lily.scm:
 660:  1* (let* ((failed #)) (if (ly:get-option #) (begin #)) ...)
 660:  2* [lilypond-all #]
 674:  3  (let* ((failed #) (separate-logs #) (ping-log #) ...)
(gc) ...)
 685:  4* [for-each # #]
In unknown file:
   ?:  5* [# "06/lily-d5b250b2.ly"]
In /home/lilydev/git/lily/master/out/share/lilypond/current/scm/lily.scm:
 687:  6* (let* (# # #) (if separate-logs #) (if ping-log #) ...)
 698:  7* [lilypond-file #
"06/lily-d5b250b2.ly"]
 725:  8  [catch ly-file-failed # #]
In unknown file:
   ?:  9* [#]
In /home/lilydev/git/lily/master/out/share/lilypond/current/scm/lily.scm:
 726: 10* [ly:parse-file "06/lily-d5b250b2.ly"]
In /home/lilydev/git/lily/master/out/share/lilypond/current/ly/init.ly:
  40: 11* (let* ((book-handler #)) (cond (# #) (# #)))
  43: 12  (cond (# #) (# #))
In 
/home/lilydev/git/lily/master/out/share/lilypond/current/scm/lily-library.scm:
...
 156: 13  [ly:book-process-to-systems # #< Output_def> ...]
In unknown file:
   ?: 14* [ly:axis-group-interface::height #]
   ?: 15* [# #]
In :
   5: 16* [+ 4 {#}]

:5:22: In procedure + in expression (+ 4
(system-start-text::calc-y-offset grob)):
:5:22: Wrong type: #

-- 
John Mandereau 


signature.asc
Description: Ceci est une partie de message numériquement signée
___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel