I'm trying to get a working system self-compiled on MacOS. Thanks to help from Dan, Werner, and Jean, I've been able to successfully run 'make test', although there is still a problem with Unicode characters in font file names under some circumstances.
Having succeeded with 'make test', I decided to try 'make doc'. I got a long way into make doc before progress stopped with an error: Making Documentation/out-www/en/notation.pdf < texi Please check the logfile /Users/carl/Development/lilypond/build/Documentation/./out-www/en/notation.texi2pdf.log for errors. Last 20 lines: 0e-systems.texi) [524]][522 (/Users/carl/Development/lilypond/build/Documentation/out-www/en/5f/lily-96b489 55-systems.texi) (/Users/carl/Development/lilypond/build/Documentation/out-www/en/86/lily-90cd32 9f.texidoc) [525] (/Users/carl/Development/lilypond/build/Documentation/out-www/en/86/lily-90cd32 9f-systems.texi) [526][523] (/Users/carl/Development/lilypond/build/Documentation/out-www/en/41/lily-400049 5f-systems.texi) [527] xdvipdfmx:fatal: Unable to find TFM file "latt1095". No output PDF file written. (/Users/carl/Development/lilypond/build/Documentation/out-www/en/30/lily-132360 dd-systems.texi) [528] (/Users/carl/Development/lilypond/build/Documentation/out-www/en/09/lily-5f021b 2d-systems.texi) (/Users/carl/Development/lilypond/build/Documentation/out-www/en/3c/lily-3f3775 74.texidoc) [529notation.cp:2775: Bad entry; expected 3 to 5 fields, not 0 /opt/local/bin/texi2dvi: texindex failed make[2]: *** [out-www/en/notation.pdf] Error 1 make[2]: *** Deleting file `out-www/en/notation.pdf' make[1]: *** [WWW] Error 2 make: *** [doc] Error 2 If I understand the error message correctly, xdvipdfmx was unable to find a TFM file. But the TFM file exists in my texlive directory. The problme with missing latt1095.tfm came up about 4 years ago in this thread: https://lists.gnu.org/archive/html/lilypond-devel/2020-11/msg00100.html The consensus of that thread was this was due to a race condition, and just run 'make doc' again. So I did. I then ended up with: carl@carls-mbp-2 build % make doc Making latt1095.tfm in TeX Live (mktextfm) Making larm1095.tfm in TeX Live (mktextfm) Making Documentation/out-www/en/notation.pdf < texi Please check the logfile /Users/carl/Development/lilypond/build/Documentation/./out-www/en/notation.texi2pdf.log for errors. Last 20 lines: ? stdin -> notation.pdf [1] 17695 bytes written /Users/carl/Development/lilypond/build/Documentation/out-www/en/notation.texi:7 1: Emergency stop. <inserted text> @par <to be read again> @relax @findsecnowidths ...input @tocreadfilename @relax @egroup @endgroup @contents ...pace @ifeof 1 @else @findsecnowidths @readtocfile @fi @vfill @e... l.71 @contents Output written on notation.pdf (1 page). Transcript written on notation.log. /opt/local/bin/texi2dvi: /Users/carl/Development/lilypond/scripts/build/xetex-with-options.sh exited with bad status, quitting. make[2]: *** [out-www/en/notation.pdf] Error 1 make[2]: *** Deleting file `out-www/en/notation.pdf' make[1]: *** [WWW] Error 2 make: *** [doc] Error 2 The logfile contents are: carl@carls-mbp-2 build % cat /Users/carl/Development/lilypond/build/Documentation/./out-www/en/notation.texi2pdf.log Command: cd out-www/en/; texi2pdf -I ../ -I /Users/carl/Development/lilypond/Documentation/en -I /Users/carl/Development/lilypond/Documentation -I /Users/carl/Development/lilypond/Documentation/en/ -o /Users/carl/Development/lilypond/build/Documentation/./out-www/en/notation.tmp.pdf /Users/carl/Development/lilypond/build/Documentation/out-www/en/notation.texi < /dev/null This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023) (preloaded format=xetex) restricted \write18 enabled. entering extended mode (/Users/carl/Development/lilypond/build/Documentation/out-www/en/notation.texi (/Users/carl/Development/lilypond/Documentation/tex/texinfo.tex Loading texinfo [version 2023-09-19.19]: pdf, fonts, glyphs, page headings, tables, conditionals, indexing, sectioning, toc, environments, defuns, macros, cross references, insertions, (/usr/local/texlive/2023/texmf-dist/tex/generic/epsf/epsf.tex This is `epsf.tex' v2.7.4 <14 February 2011> ) localization, formatting, microtype, and turning on texinfo input format.) (/Users/carl/Development/lilypond/Documentation/tex/txi-en.tex) (/Users/carl/Development/lilypond/build/Documentation/out-www/en/en/macros.texi (/Users/carl/Development/lilypond/build/Documentation/out-www/en/version.texi) (/Users/carl/Development/lilypond/build/Documentation/out-www/en/en/common-macr os.texi (/Users/carl/Development/lilypond/build/Documentation/out-www/en/en/cyrillic.te xi))) (/Users/carl/Development/lilypond/build/Documentation/out-www/en/en/hyphenation .texi) Writing index file notation.cp [1] (/Users/carl/Development/lilypond/build/Documentation/out-www/en/notation.toc) Runaway argument? {10 /Users/carl/Development/lilypond/build/Documentation/out-www/en/notation.texi:7 1: File ended while scanning use of @unnsubsubsecentry. <inserted text> @par <to be read again> @relax @findsecnowidths ...input @tocreadfilename @relax @egroup @endgroup @contents ...pace @ifeof 1 @else @findsecnowidths @readtocfile @fi @vfill @e... l.71 @contents ? stdin -> notation.pdf [1] 17695 bytes written /Users/carl/Development/lilypond/build/Documentation/out-www/en/notation.texi:7 1: Emergency stop. <inserted text> @par <to be read again> @relax @findsecnowidths ...input @tocreadfilename @relax @egroup @endgroup @contents ...pace @ifeof 1 @else @findsecnowidths @readtocfile @fi @vfill @e... l.71 @contents Output written on notation.pdf (1 page). Transcript written on notation.log. /opt/local/bin/texi2dvi: /Users/carl/Development/lilypond/scripts/build/xetex-with-options.sh exited with bad status, quitting. Any suggestions about next steps for debugging? Thanks, Carl