lilypond-devel
[Top][All Lists]
Advanced

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

Re: problems with build and/or test-baseline


From: James Lowe
Subject: Re: problems with build and/or test-baseline
Date: Thu, 10 Sep 2015 23:55:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

On 09/09/15 22:18, Thomas Morley wrote:
2015-09-09 16:02 GMT+02:00 Masamichi HOSODA <address@hidden>:
Hi,

I newly nuked my \build-directory in order to get a fresh one.

But I have some problems (being on LilyDev3):

1)
~/lilypond-git/build (master)$ ../configure
returns:
ERROR: Please install required programs:  TeX Gyre fonts OTF (make
sure the fc-list utility can see them, e.g. 'sudo apt-get install
fonts-texgyre', or use --with-texgyre-dir)

But tex-gyre _is_ installed. I can see it in synaptic.

2)
With
address@hidden ~/lilypond-git/build (master)$ ../configure
--disable-optimising --with-texgyre-dir=../../Desktop/texgyre
and
address@hidden ~/lilypond-git/build (master)$ make
I get a successfull build.

But now
address@hidden ~/lilypond-git/build (master)$ make test-baseline
returns:

[...]
symlink has no referent:
"/home/harm/lilypond-git/build/out/share/lilypond/current/fonts/otf/texgyreschola-regular.otf"
symlink has no referent:
"/home/harm/lilypond-git/build/out/share/lilypond/current/fonts/otf/texgyreheros-italic.otf"
symlink has no referent:
"/home/harm/lilypond-git/build/out/share/lilypond/current/fonts/otf/texgyrecursor-italic.otf"
symlink has no referent:
"/home/harm/lilypond-git/build/out/share/lilypond/current/fonts/otf/texgyreheros-regular.otf"
symlink has no referent:
"/home/harm/lilypond-git/build/out/share/lilypond/current/fonts/otf/texgyreschola-bold.otf"
symlink has no referent:
"/home/harm/lilypond-git/build/out/share/lilypond/current/fonts/otf/texgyreschola-bolditalic.otf"
symlink has no referent:
"/home/harm/lilypond-git/build/out/share/lilypond/current/fonts/otf/texgyreschola-italic.otf"
symlink has no referent:
"/home/harm/lilypond-git/build/out/share/lilypond/current/fonts/otf/texgyrecursor-bolditalic.otf"
symlink has no referent:
"/home/harm/lilypond-git/build/out/share/lilypond/current/fonts/otf/texgyreheros-bolditalic.otf"
symlink has no referent:
"/home/harm/lilypond-git/build/out/share/lilypond/current/fonts/otf/texgyreheros-bold.otf"
symlink has no referent:
"/home/harm/lilypond-git/build/out/share/lilypond/current/fonts/otf/texgyrecursor-bold.otf"
symlink has no referent:
"/home/harm/lilypond-git/build/out/share/lilypond/current/fonts/otf/texgyrecursor-regular.otf"
rsync error: some files/attrs were not transferred (see previous
errors) (code 23) at main.c(1070) [sender=3.0.9]
make[2]: *** [local-test] Error 23
make[2]: Leaving directory `/home/harm/lilypond-git/build/input/regression'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/harm/lilypond-git/build'
make: *** [test-baseline] Error 2


Is this due to
https://sourceforge.net/p/testlilyissues/issues/4593/
as well?

It is not due to issue 4593.
It is related to issue 4574.
http://sourceforge.net/p/testlilyissues/issues/4574/

At least, on Debian jessie and Ubuntu 14.04 etc.,
tex-gyre and fonts-texgyre are different.
Unfortunatly, LilyDev3 (based on Debian wheezy)
does not seem to contain fonts-texgyre.

Perhaps, on LilyDev3 (or Debian wheezy),
installing tex-gyre and following option is needed.

$ ../configure 
--with-texgyre-dir=/usr/share/texmf/fonts/opentype/public/tex-gyre

That's basically what I tried with
address@hidden ~/lilypond-git/build (master)$ ../configure
--disable-optimising --with-texgyre-dir=../../Desktop/texgyre

Desktop/texgyre is the folder where I put them manually from the
website you refered to elsewhere.


Anyway, I tried your suggestion.
Results:

1)
successful build (as with the other texgyre-folder)

2)
make test-baseline fails now with:
lilypond-book.py: error: Could not overwrite file
/home/harm/lilypond-git/build/input/regression/out-test/utf-8-1.eps
Removing 
`/home/harm/lilypond-git/build/input/regression/out-test/collated-files.texi'
make[3]: *** [out-test/collated-files.texi] Error 1
make[3]: Leaving directory `/home/harm/lilypond-git/build/input/regression'
make[2]: *** [local-test] Error 2
make[2]: Leaving directory `/home/harm/lilypond-git/build/input/regression'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/home/harm/lilypond-git/build'
make: *** [test-baseline] Error 2

For now I give up.
Though, I have an unpublished patch, which I really like to test
before upload ...



Don't give up.

In fedora you don't have any easy package to install either.

I'd try the following

go here and download the files directly.

http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-2.005otf.zip

Unzip the file and create a .fonts dir in your home directory. Extract the OTF files there.

I didn't need to reboot or rebuild my font cache, and ../configure worked without having that switch to point to the directory.

James




reply via email to

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