Re: Error with make doc

2024-01-18 Thread Werner LEMBERG


> "/Users/carl/Development/lilypond/build/out/lybook-db/
> snippet-names-ece0c512da6daf7d9aff45809ce97556.ly"' returned non-zero exit
> status 1.

You have to check the log files in `lybook-db` to find the problematic
`.ly` file(s).  Does `make test` succeed?  You should actually try that
before running `make doc`...

BTW, if you execute `make test`, you are greeted with the following
advice:

```
To begin investigating regression-test crashes, try this:

grep -L systems.texi out/lybook-testdb/*/*log | sed s/log/ly/g | xargs grep 
-H sourcefilename

Matching lines may provide original test source file names.
The .ly files in which they appear are preprocessed test input.
The corresponding .log files may have errors or warnings.

If the above is not helpful, try sifting through this:

find out/lybook-testdb -name "*.log" | xargs grep -H "\(error\|warning\)"
```

which can also be used for finding problems with `make doc` (but you
have to replace `lybook-testdb` with `lybook-db` in the above
commands).


Werner



Re: Adjusting `\f`

2024-01-18 Thread Werner LEMBERG


> I would like to change the definition of `\f` to something like this
>
> ```tex
> "f" = #(make-music 'AbsoluteDynamicEvent
>'text "f"
>'tweaks '(((DynamicLineSpanner . horizon-padding) . 0.1)))
>
> { \stemDown f'4\f f'4\p }
> ```
>
> to handle issue #4159.
>
> However, if I do the above the `horizon-padding` property can no
> longer be overridden with `\tweak` or `\override`.  How can I fix
> that?  In other words, I would like to set the `horizon-padding`
> property for `\f` as if I provided a default value for the
> `DynamicLineSpanner` grob in `define-grobs.scm`.

After some more thinking I couldn't find a solution to this problem.
Any ideas?

I thought about adding a new event property parallel to `tweaks`, say,
`defaults`, that works exactly in the same way but only sets a given
grob property if `tweaks` doesn't contain it.  I could then say

```
"f" = #(make-music 'AbsoluteDynamicEvent
   'text "f"
   'defaults '(((DynamicLineSpanner . horizon-padding) . 0.1)))

{ \stemDown \tweak DynamicLineSpanner.horizon-padding 0 f'4\f f'4\p }
```

successfully, but calling `\once\override
DynamicLineSpanner.horizon-padding = 0` would still not work.

I could further restrict `defaults` so that it would only be used if a
property is not set at all, neither in `define-grobs.scm`, nor via
`tweaks` or `\override`.  I'm not sure, however, whether this makes
sense in the long run, i.e., whether this is just an ad-hoc solution
to this particular problem, or whether there are more situations that
would benefit from such a feature.


Werner



Error with make doc

2024-01-18 Thread Carl Sorensen
I've successfully compiled master on my MacBook with M1.  I can
successfully compile some simple lilypond files.

I tried to compile the documentation using make doc.

I got this result:

carl@Carls-MBP-2 build % make doc

Making input/regression/out-www/collated-files.list < 1888 files

Making input/regression/out-www/collated-files.tely

Making input/regression/out-www/collated-files.texi < tely

Command '/Users/carl/Development/lilypond/build/out/bin/lilypond -I
/Users/carl/Development/lilypond/input/regression
-dseparate-page-formats=ps,pdf  -dinclude-eps-fonts -dgs-load-fonts
--header=doctitle --header=doctitleen --header=doctitleca
--header=doctitlede --header=doctitlees --header=doctitlefr
--header=doctitleit --header=doctitleja --header=doctitlezh
--header=texidoc --header=texidocen --header=texidocca --header=texidocde
--header=texidoces --header=texidocfr --header=texidocit --header=texidocja
--header=texidoczh -dcheck-internal-types -danti-alias-factor=2
-dfont-ps-resdir=/Users/carl/Development/lilypond/build/out-fonts -O TeX-GS
-I  "/Users/carl/Development/lilypond/input/regression"  -I
"/Users/carl/Development/lilypond/build/input/regression"
-daux-files  -dread-file-list -dno-strip-output-dir
-dtall-page-formats=eps,png
"/Users/carl/Development/lilypond/build/out/lybook-db/
snippet-names-ece0c512da6daf7d9aff45809ce97556.ly"' returned non-zero exit
status 1.

make[3]: *** [out-www/collated-files.texi] Error 1

make[2]: *** [WWW] Error 2

make[1]: *** [WWW] Error 2

make: *** [doc] Error 2


I tried rerunning the failed command only, and got a list of missing
lilypond files:

carl@Carls-MBP-2 build %
/Users/carl/Development/lilypond/build/out/bin/lilypond-I
/Users/carl/Development/lilypond/input/regression
-dseparate-page-formats=ps,pdf  -dinclude-eps-fonts -dgs-load-fonts
--header=doctitle --header=doctitleen --header=doctitleca
--header=doctitlede --header=doctitlees --header=doctitlefr
--header=doctitleit --header=doctitleja --header=doctitlezh
--header=texidoc --header=texidocen --header=texidocca --header=texidocde
--header=texidoces --header=texidocfr --header=texidocit --header=texidocja
--header=texidoczh -dcheck-internal-types -danti-alias-factor=2
-dfont-ps-resdir=/Users/carl/Development/lilypond/build/out-fonts -O TeX-GS
-I  "/Users/carl/Development/lilypond/input/regression"  -I
"/Users/carl/Development/lilypond/build/input/regression"
-daux-files  -dread-file-list -dno-strip-output-dir
-dtall-page-formats=eps,png
"/Users/carl/Development/lilypond/build/out/lybook-db/
snippet-names-cce821d5aaa438c29a8c2ee16cd514b0.ly"

GNU LilyPond 2.25.13 (running Guile 3.0)

warning: cannot find file: `0f/lily-acefd898.ly'

warning: cannot find file: `0f/lily-e2dffb62.ly'

warning: cannot find file: `0f/lily-e62188f0.ly'

<

/snip>


warning: cannot find file: `ff/lily-78313914.ly'

fatal error: failed files: "ff/lily-78313914.ly ff/lily-56782787.ly ff/
lily-4f7cdbe0.ly ff/lily-42613ba7.ly ff/lily-3c5e5335.ly fe/lily-f8df7192.ly
fe/lily-f42dddf1.ly fe/lily-b0aa2235.ly fe/lily-9d30bd6c.ly fe/
lily-3fdbec77.ly fd/lily-e12496e5.ly fd/lily-d8641465.ly fd/lily-c69ffa48.ly
fd/lily-bc79c015.ly fd/lily-b5c4296c.ly fd/lily-b4c60abc.ly fd/
lily-a5575795.ly fd/lily-8cdbd62f.ly fd/lily-798a1a4f.ly fd/lily-76b55d1b.ly
fd/lily-68303c0f.ly fd/lily-5476cf28.ly fd/lily-247d3f51.ly fd/
lily-15923480.ly fc/lily-d59423fc.ly fc/lily-b7e48a01.ly fc/lily-55bcf077.ly
fb/lily-fd4e9c79.ly fb/lily-98aa5a9f.ly fb/lily-76c20837.ly fb/
lily-2d903af4.ly fb/lily-08329b22.ly fb/lily-05e661a6.ly fa/lily-96d27c07.ly
fa/lily-79de024d.ly fa/lily-1dcabd96.ly f9/lily-eeda9196.ly f9/
lily-dbcec16f.ly f9/lily-d582d276.ly f9/lily-cb5980b3.ly f9/lily-a9ef1568.ly
f9/lily-a457bd39.ly f9/lily-7e56b1fc.ly f9/lily-734ed022.ly f9/
lily-64de0489.ly f9/lily-3cd68ee3.ly f9/lily-3cad613f.ly f9/lily-0eaec693.ly
f8/lily-a177726a.ly f8/lily-44676ac



Any ideas how I can work around this?


Thanks,


Carl


Re: Installing guile-devel on MacOS M1

2024-01-18 Thread Carl Sorensen
On Wed, Jan 17, 2024 at 12:21 PM Carl Sorensen 
wrote:

> I'm trying to get a native M1 MacOS build of Lilypond going.
>
> 


> Anybody have any ideas how to solve this?
>

It looks like I was able to solve this by symbolically linking the
pkgconfig files from the Homebrew tree to the MacPorts tree:

sudo ln -s /opt/homebrew/lib/pkgconfig/guile-3.0.pc /opt/local/lib/pkgconfig


At least this gets me past the configure error.  I'm running make all right
now; we'll see if it succeeds.


Carl