Am 12.09.2017 um 14:09 schrieb Knut Petersen:
> Am 12.09.2017 um 11:38 schrieb Urs Liska:
>> Hi Knut,
>>
>> thank you for the script.
>>
>>
>> Am 12.09.2017 um 09:34 schrieb Knut Petersen:
>>>> Hm, will I be able to get a system where I can build LilyPond again?
>>> Urs, building guile 1.8 is a pretty trivial and fast process. Just do
>>> it and don't care about debian
>> OK, I see how you build Guile directly into the LilyPond build
>> directory, and building Guile worked on first attempt.
>
> Fine
>> I notice that upon each execution of the script Guile will be erased and
>> rebuilt from scratch. Am I right to assume that I could skip this step
>> for following builds?
> Yes
>> And more, can't I build Guile once, into some other directory and rather
>> than rebuilding it each time place a symlink into the LilyPond
>> installation directory? This would be very useful as I tend to have
>> multiple builds in parallel.
> Multiple builds of lilypond at the same time?

Yes, definitely. I often (at least in times when I'm actually working on
stuff in LilyPond) have multiple builds side-by-side. For example one
from current master and others from different open branches or even from
earlier releases. Actually Frescobaldi even has got explicit support for
this upon Janek's request.

>>> Attached you'll find a script that builds guile and lilypond from
>>> local copies of their git repositories.
>>> Obviously you'll have to adapt some paths defined and and used in the
>>> script (LILYSOURCE, GUILESOURCE, LILYROOT) first.
>>>
>> I did so (and commented out make doc for now). First compilation failed
>> due to missing dblatex, but the second one failed with an error I didn't
>> really understand. Attached you'll find the tail of the build log - any
>> ideas what is wrong and what I can do?
>
> After the failed build:
>
> cd  /home/urs/git/lilypond/source/build/scripts
>
> Does out/lilypond-invoke-editor exist? Is it executable?
Yes.
If that is relevant there is also an out/lilypond-invoke-editor.1 which
is not executable and has size 0.

>
> Does /home/urs/git/lilypond/source/build/scripts/build/out/help2man
> exist?

Yes, and it's executable as well.

>
> If out/lilypond-invoke-editor exists and is marked to be executable:
> What does  'sudo strace out/lilypond-invoke-editor --help 2>&1 | grep
> guile | grep openat' tell you?

Nothing.
The output without the last grep is attached.

>From what I can guess and see in the build directory there is no
directory share/lilypond/share/guile/site, only
share/lilypond/share/guile/1.8. But I can't really make anything from that.
Also share/lilypond/lib64 is not present, only share/lilypond/lib.
I have the impression later errors are when looking for Guile files in
the default places.

Does this help any further?
Urs

>
> Knut
>
>
open("/home/uliska/software/lilypond/builds/current/share/lilypond/lib/tls/x86_64/libguile.so.17",
 O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/uliska/software/lilypond/builds/current/share/lilypond/lib/tls/libguile.so.17",
 O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/uliska/software/lilypond/builds/current/share/lilypond/lib/x86_64/libguile.so.17",
 O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/uliska/software/lilypond/builds/current/share/lilypond/lib/libguile.so.17",
 O_RDONLY|O_CLOEXEC) = 3
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/site/init.scm",
 0x7ffd670b3320) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/init.scm",
 0x7ffd670b3320) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/init.scm",
 0x7ffd670b3320) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/site/ice-9/boot-9.scm",
 0x7ffd670b3310) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/boot-9.scm",
 {st_mode=S_IFREG|0644, st_size=104124, ...}) = 0
open("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/boot-9.scm",
 O_RDONLY) = 5
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/site/ice-9/r4rs.scm",
 0x7ffd670b3270) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/r4rs.scm",
 {st_mode=S_IFREG|0644, st_size=8623, ...}) = 0
open("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/r4rs.scm",
 O_RDONLY) = 6
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/site/ice-9/posix.scm",
 0x7ffd670b3270) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/posix.scm",
 {st_mode=S_IFREG|0644, st_size=2585, ...}) = 0
open("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/posix.scm",
 O_RDONLY) = 6
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/site/ice-9/networking.scm",
 0x7ffd670b3270) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/networking.scm",
 {st_mode=S_IFREG|0644, st_size=3029, ...}) = 0
open("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/networking.scm",
 O_RDONLY) = 6
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/site/ice-9/deprecated.scm",
 0x7ffd670b3270) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/deprecated.scm",
 {st_mode=S_IFREG|0644, st_size=6158, ...}) = 0
open("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/deprecated.scm",
 O_RDONLY) = 6
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/site/ice-9/getopt-long.scm",
 0x7ffd670b2750) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/site/ice-9/getopt-long",
 0x7ffd670b2750) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/getopt-long.scm",
 {st_mode=S_IFREG|0644, st_size=20100, ...}) = 0
open("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/getopt-long.scm",
 O_RDONLY) = 6
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/site/ice-9/common-list.scm",
 0x7ffd670b2080) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/site/ice-9/common-list",
 0x7ffd670b2080) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/common-list.scm",
 {st_mode=S_IFREG|0644, st_size=9162, ...}) = 0
open("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/common-list.scm",
 O_RDONLY) = 7
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/site/ice-9/regex.scm",
 0x7ffd670b2750) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/site/ice-9/regex",
 0x7ffd670b2750) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/regex.scm",
 {st_mode=S_IFREG|0644, st_size=8317, ...}) = 0
open("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/ice-9/regex.scm",
 O_RDONLY) = 6
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/site/srfi/srfi-1.scm",
 0x7ffd670b2750) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/site/srfi/srfi-1",
 0x7ffd670b2750) = -1 ENOENT (No such file or directory)
stat("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/srfi/srfi-1.scm",
 {st_mode=S_IFREG|0644, st_size=13904, ...}) = 0
open("/home/uliska/software/lilypond/builds/current/share/lilypond/share/guile/1.8/srfi/srfi-1.scm",
 O_RDONLY) = 6
open("/home/uliska/software/lilypond/builds/current/share/lilypond/lib64/libguile-srfi-srfi-1-v-3.la",
 O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libguile-srfi-srfi-1-v-3.la", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/libguile-srfi-srfi-1-v-3.la", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/lib/x86_64-linux-gnu/libfakeroot/libguile-srfi-srfi-1-v-3.la", 
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libguile-srfi-srfi-1-v-3.la", O_RDONLY) = -1 ENOENT (No 
such file or directory)
open("/lib/x86_64-linux-gnu/libguile-srfi-srfi-1-v-3.la", O_RDONLY) = -1 ENOENT 
(No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libguile-srfi-srfi-1-v-3.la", O_RDONLY) = -1 
ENOENT (No such file or directory)
access("/home/uliska/software/lilypond/builds/current/share/lilypond/lib64/libguile-srfi-srfi-1-v-3.so",
 R_OK) = -1 ENOENT (No such file or directory)
access("/lib/libguile-srfi-srfi-1-v-3.so", R_OK) = -1 ENOENT (No such file or 
directory)
access("/usr/lib/libguile-srfi-srfi-1-v-3.so", R_OK) = -1 ENOENT (No such file 
or directory)
access("/usr/lib/x86_64-linux-gnu/libfakeroot/libguile-srfi-srfi-1-v-3.so", 
R_OK) = -1 ENOENT (No such file or directory)
access("/usr/local/lib/libguile-srfi-srfi-1-v-3.so", R_OK) = -1 ENOENT (No such 
file or directory)
access("/lib/x86_64-linux-gnu/libguile-srfi-srfi-1-v-3.so", R_OK) = -1 ENOENT 
(No such file or directory)
access("/usr/lib/x86_64-linux-gnu/libguile-srfi-srfi-1-v-3.so", R_OK) = -1 
ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/tls/x86_64/libguile-srfi-srfi-1-v-3.so", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/tls/libguile-srfi-srfi-1-v-3.so", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/x86_64/libguile-srfi-srfi-1-v-3.so", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libguile-srfi-srfi-1-v-3.so", O_RDONLY|O_CLOEXEC) = 
-1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/tls/x86_64/libguile-srfi-srfi-1-v-3.so", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/tls/libguile-srfi-srfi-1-v-3.so", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/x86_64/libguile-srfi-srfi-1-v-3.so", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libguile-srfi-srfi-1-v-3.so", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/tls/x86_64/libguile-srfi-srfi-1-v-3.so", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
open("/lib/tls/libguile-srfi-srfi-1-v-3.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
open("/lib/x86_64/libguile-srfi-srfi-1-v-3.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
open("/lib/libguile-srfi-srfi-1-v-3.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No 
such file or directory)
open("/usr/lib/tls/x86_64/libguile-srfi-srfi-1-v-3.so", O_RDONLY|O_CLOEXEC) = 
-1 ENOENT (No such file or directory)
open("/usr/lib/tls/libguile-srfi-srfi-1-v-3.so", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
open("/usr/lib/x86_64/libguile-srfi-srfi-1-v-3.so", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
open("/usr/lib/libguile-srfi-srfi-1-v-3.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT 
(No such file or directory)
ERROR: file: "libguile-srfi-srfi-1-v-3", message: "file not found"
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to