lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

intermittent (?) error with 'make' when working on (apparently) unbroken


From: Janek Warchoł
Subject: intermittent (?) error with 'make' when working on (apparently) unbroken new code.
Date: Thu, 16 Jun 2011 12:13:22 +0200

Hi,

i have encountered an error when working with new ambitus code (http://codereview.appspot.com/4609041/): i did some modifications (Rietveld patch sets 1-3) and everything worked fine, source compiled without any problems. But when i made more changes, saved them in working directory and tried to compile, make exited with an error:

[<string>]
[<string>]
[<string>]]
  [/home/janek/lilypond-git/ly/property-init.ly]
  [/home/janek/lilypond-git/ly/grace-init.ly]
  [/home/janek/lilypond-git/ly/midi-init.ly
   [/home/janek/lilypond-git/ly/performer-init.ly]]
  [/home/janek/lilypond-git/ly/paper-defaults-init.ly
   [/home/janek/lilypond-git/ly/titling-init.ly]]
  [/home/janek/lilypond-git/ly/engraver-init.ly]]
 [/home/janek/lilypond-git/ly/generate-documentation.ly[/home/janek/lilypond-git/build/out/share/lilypond/current/scm/documentation-lib.scm]
[/home/janek/lilypond-git/build/out/share/lilypond/current/scm/lily-sort.scm]
[/home/janek/lilypond-git/build/out/share/lilypond/current/scm/document-functions.scm]
[/home/janek/lilypond-git/build/out/share/lilypond/current/scm/document-translation.scm]
[/home/janek/lilypond-git/build/out/share/lilypond/current/scm/document-music.scm]
[/home/janek/lilypond-git/build/out/share/lilypond/current/scm/document-type-predicates.scm]
[/home/janek/lilypond-git/build/out/share/lilypond/current/scm/document-identifiers.scm]
[/home/janek/lilypond-git/build/out/share/lilypond/current/scm/document-backend.scm]
[/home/janek/lilypond-git/build/out/share/lilypond/current/scm/document-markup.scm]
Writing "internals.texi"...ERROR: In procedure procedure-name:
ERROR: Wrong type argument in position 1: #f
make[1]: *** [out/internals.texi] Error 1
make[1]: Leaving directory `/home/janek/lilypond-git/build/Documentation'
make: *** [all] Error 2

When i reverted these new changes and tried to compile the code that used to compile without problems, i got the same error! Even 'make clean' didn't help. Finally, with some combination of 'make clean' and switching between git master and different commits, it compiled again, and after more struggle i got the new code (the one that first introduced the error in make) to compile too!
I haven't noticed any logical reasons why sometimes it fails and sometimes not.
If you have any ideas, please advice.
An explanation of the error above would be nice, too :)
I attach patches if you want to test it.

cheers,
Janek

Attachment: 0001-ambitus-special-handling-of-small-ambits-lines.patch
Description: Text Data

Attachment: 0002-controlling-the-amount-of-correction.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]