> I’m trying to build LilyPond 2.21.3 locally, both on Debian 9 and > Mac OS X 10.14.6 (Mojave). On the latter, I installed Apple’s > XCode, the needed tools in /opt with MacPorts, and the needed fonts > in /opt/local/share/fonts/urw-core35-fonts.
You might apply https://github.com/macports/macports-ports/pull/7732 to build 2.21.3 with MacPorts. It's a bit unfortunate that the MacPorts people are slow with pull requests – 2.21.4 is coming soon... Werner