Essentially you need to downgrade ghostscript a version. Although with the new release announced today I don't know if it will be fixed or not.
On Sat, Nov 11, 2023, 5:22 PM Leonardo van der Laat <lvm...@gmail.com> wrote: > I'm having the same problem. > There's already a thread about this: > https://lists.gnu.org/archive/html/lilypond-user/2023-06/msg00135.html > Joshua Armenta posted a solution, something to do with Ghostscript, but I > couldn't make it to work. > > On Sat, Nov 11, 2023 at 5:39 PM Abe Raher <ganko...@gmail.com> wrote: > >> hey folks – with my newly installed lilypond on mac os sonoma, lilypond >> generates midi but no pdfs >> >> i've tested a number of .ly files that successfully generated scores >> previously – none generate pdfs now >> >> and i just tested the simplest template in lilypond's docs ... please >> have a look at the log output and give me a clue! >> >> thanks very much >> >> *********************** >> >> what i've got: >> >> Mac OS: 14.1.1 (23B81) >> >> % lilypond --version >> >> GNU LilyPond 2.24.2 (running Guile 3.0) >> >> >> >> test file: >> >> >> >> melody = \relative c' { >> \clef treble >> \key c \major >> \time 4/4 >> >> a4 b c d >> } >> >> \score { >> \new Staff \melody >> \layout { } >> \midi { } >> } >> >> >> >> test command: >> >> % lilypond --loglevel=debug template-notes-only.ly >> >> >> *********************** >> >> >> command output: >> >> >> Log level set to 287 >> GNU LilyPond 2.24.2 (running Guile 3.0) >> >> Relocation >> Absolute file name of LilyPond binary computed from PATH: >> >> PATH=/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin >> argv0=lilypond >> Setting INSTALLER_PREFIX to '/usr/local/Cellar/lilypond/2.24.2' >> Using run-time value for datadir, >> setting it to >> '/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2' >> Using run-time value for libdir, >> setting it to '/usr/local/Cellar/lilypond/2.24.2/lib/lilypond/2.24.2' >> Using run-time value for localedir, >> setting it to '/usr/local/Cellar/lilypond/2.24.2/share/locale' >> Using compile-time value for relocdir, >> setting it to '' >> Prepending '/usr/local/Cellar/lilypond/2.24.2/bin' to PATH >> Setting PATH to >> '/usr/local/Cellar/lilypond/2.24.2/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin' >> Setting GUILE_AUTO_COMPILE to '0' >> Setting GUILE_WARN_DEPRECATED to 'detailed' >> Setting XDG_CACHE_HOME to >> '/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2' >> Setting GC_INITIAL_HEAP_SIZE to '40M' >> Setting GC_NPROCS to '1' >> Setting GC_FREE_SPACE_DIVISOR to '1' >> >> >> Effective prefix: >> '/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2' >> >> PATH="/usr/local/Cellar/lilypond/2.24.2/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin" >> >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/lily.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/lily-library.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/output-lib.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/markup-macros.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/parser-ly-from-scheme.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/file-cache.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-event-classes.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-music-callbacks.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-music-types.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-note-names.scm] >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/c++.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/chord-entry.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/skyline.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/markup.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-markup-commands.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/stencil.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/modal-transforms.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/chord-ignatzek-names.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/music-functions.scm >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-music-display-methods.scm] >> ] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/part-combiner.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/autochange.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-music-properties.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/time-signature.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/time-signature-settings.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/auto-beam.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/chord-name.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-context-properties.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/translation-functions.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/breath.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/script.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/midi.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/layout-beam.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/parser-clef.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/layout-slur.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/font.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/font-encodings.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/bar-line.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/flag-styles.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/fret-diagrams.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/tablature.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/harp-pedals.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-woodwind-diagrams.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/display-woodwind-diagrams.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/predefined-fretboards.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-grob-properties.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-grobs.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-grob-interfaces.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/define-stencil-commands.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/scheme-engravers.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/scheme-performers.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/titling.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/paper.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/backend-library.scm] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/scm/lily/color.scm] >> (primitive-load-path lily): 0.10 seconds >> Initializing FontConfig... >> Adding fontconfig configuration file: >> /usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/fonts/00-lilypond-fonts.conf >> Adding fontconfig configuration file: /usr/local/etc/fonts/fonts.conf >> Adding fontconfig configuration file: >> /usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/fonts/99-lilypond-fonts.conf >> Adding font directory: >> /usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/fonts/otf >> Building font database... >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> declarations-init.ly >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> music-functions-init.ly >> ][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/toc-init.ly] >> Using `nederlands' note >> names...[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> drumpitch-init.ly >> ][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> chord-modifiers-init.ly >> ][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> script-init.ly >> ][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> chord-repetition-init.ly >> ][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> scale-definitions-init.ly >> ][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> dynamic-scripts-init.ly >> ][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> spanners-init.ly >> ][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> predefined-fretboards-init.ly >> ][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> string-tunings-init.ly >> ][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> property-init.ly >> ][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> grace-init.ly >> ][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/midi-init.ly >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> performer-init.ly >> ]][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> paper-defaults-init.ly >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> titling-init.ly >> ][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> text-replacements.ly >> ]][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> context-mods-init.ly >> ][/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> engraver-init.ly]] >> Processing `template-notes-only.ly' >> Parsing...[/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/ >> init.ly >> Using `nederlands' note names...[template-notes-only.ly] >> template-notes-only.ly:1: warning: no \version statement found, please >> add >> >> \version "2.24.2" >> >> for future compatibility >> Interpreting music... >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/fonts/otf/emmentaler-20.otf >> CFF name for font Emmentaler-20 is the same.] >> elapsed time: 0.03 seconds >> Element count 57 (spanners 6) >> Preprocessing graphical objects... >> Grob count 109 >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/fonts/otf/emmentaler-11.otf >> CFF name for font Emmentaler-11 is the same.] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/fonts/otf/emmentaler-13.otf >> CFF name for font Emmentaler-13 is the same.] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/fonts/otf/emmentaler-14.otf >> CFF name for font Emmentaler-14 is the same.] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/fonts/otf/emmentaler-16.otf >> CFF name for font Emmentaler-16 is the same.] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/fonts/otf/emmentaler-18.otf >> CFF name for font Emmentaler-18 is the same.] >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/fonts/otf/emmentaler-23.otf >> CFF name for font Emmentaler-23 is the same.] >> Interpreting music... >> elapsed time: 0.00 seconds >> MIDI output to `template-notes-only.midi'...Track... >> [0] >> [1] >> Finding the ideal number of pages... >> [lilypond_serif_3.8662109375] >> CFF name for font C059-Roman is the same. >> Fitting music on 1 page... >> Drawing systems... >> Element count 115 >> Initializing embedded CFF font list. >> Embedding CFF font `C059-Roman'. >> >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/fonts/otf/C059-Roman.otf] >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ps/ >> music-drawing-routines.ps] >> [/usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ps/ >> lilyponddefs.ps] >> Paper_outputter elapsed time: 0.02 seconds >> Converting to `template-notes-only.pdf'... >> Preparing Ghostscript command to >> `/var/folders/fc/k1101v7s4vd830chswfjssdh0000gn/T//lilypond-tmp-5075810': >> mark /OutputFile (./lilypond-tmp-2864435.pdf) /CompatibilityLevel 1.4 >> /PageSize [595.28 841.89] (pdfwrite) finddevice putdeviceprops pop >> (pdfwrite) selectdevice newpath fill >> (/var/folders/fc/k1101v7s4vd830chswfjssdh0000gn/T//lilypond-tmp-2864435) >> (r) file .setsafe run >> Invoking `gs -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH >> -dAutoRotatePages=/None -dPrinted=false >> /var/folders/fc/k1101v7s4vd830chswfjssdh0000gn/T//lilypond-tmp-5075810'... >> >> GPL Ghostscript 10.02.1 (2023-11-01) >> Copyright (C) 2023 Artifex Software, Inc. All rights reserved. >> This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: >> see the file COPYING for details. >> Error: /undefined in finddevice >> Operand stack: --nostringval-- OutputFile >> (./lilypond-tmp-2864435.pdf) CompatibilityLevel 1.4 PageSize >> --nostringval-- (pdfwrite) >> Execution stack: %interp_exit .runexec2 --nostringval-- >> --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- >> --nostringval-- --nostringval-- false 1 %stopped_push 1944 1 >> 3 %oparray_pop 1943 1 3 %oparray_pop 1928 1 3 >> %oparray_pop 1801 1 3 %oparray_pop --nostringval-- >> %errorexec_pop .runexec2 --nostringval-- --nostringval-- >> --nostringval-- 2 %stopped_push --nostringval-- >> Dictionary stack: --dict:750/1123(ro)(G)-- --dict:0/20(G)-- >> --dict:85/200(L)-- >> Current allocation mode is local >> Current file position is 118 >> GPL Ghostscript 10.02.1: Unrecoverable error, exit code 1 >> warning: `(gs -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH >> -dAutoRotatePages=/None -dPrinted=false >> /var/folders/fc/k1101v7s4vd830chswfjssdh0000gn/T//lilypond-tmp-5075810)' >> failed (256) >> >> /usr/local/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/init.ly:65:2: >> error: Guile signaled an error for the expression beginning here >> # >> (let ((book-handler (if (defined? 'default-toplevel-book-handler) >> >> In ice-9/boot-9.scm: >> 1752:10 16 (with-exception-handler _ _ #:unwind? _ # _) >> In unknown file: >> 15 (apply-smob/0 #<thunk 10c1b22a0>) >> In >> /private/tmp/lilypond-20230930-11551-mwu9xg/lilypond-2.24.2/out/share/lilypond/current/scm/lily/lily.scm: >> 873:16 14 (lilypond-main _) >> 902:4 13 (lilypond-all ("template-notes-only.ly")) >> In srfi/srfi-1.scm: >> 634:9 12 (for-each #<procedure 10c5ae420 at /private/tmp/lilypo…> …) >> In >> /private/tmp/lilypond-20230930-11551-mwu9xg/lilypond-2.24.2/out/share/lilypond/current/scm/lily/lily.scm: >> 912:9 11 (_ "template-notes-only.ly") >> In ice-9/boot-9.scm: >> 1747:15 10 (with-exception-handler #<procedure 10c5ae3f0 at ice-9…> …) >> In unknown file: >> 9 (ly:parse-file "template-notes-only.ly") >> In ice-9/boot-9.scm: >> 1752:10 8 (with-exception-handler _ _ #:unwind? _ # _) >> In unknown file: >> 7 (apply-smob/0 #<thunk 10cd59a00>) >> 6 (ly:book-process #<Book> #< Output_def> #< Output_def> #) >> In >> /private/tmp/lilypond-20230930-11551-mwu9xg/lilypond-2.24.2/out/share/lilypond/current/scm/lily/backend-library.scm: >> 319:4 5 (postprocess-output #< Output_def> #<directory (lily f…> …) >> In srfi/srfi-1.scm: >> 634:9 4 (for-each #<procedure 10c85d140 at /private/tmp/lilypo…> …) >> In >> /private/tmp/lilypond-20230930-11551-mwu9xg/lilypond-2.24.2/out/share/lilypond/current/scm/lily/backend-library.scm: >> 139:4 3 (postscript->pdf 595.2755905511812 841.8897637795277 "…" …) >> 57:4 2 (ly:gs-cli _ "mark /OutputFile (./lilypond-tmp-2864435.…") >> In ice-9/boot-9.scm: >> 1685:16 1 (raise-exception _ #:continuable? _) >> In unknown file: >> 0 (apply-smob/1 #<exception-handler 10cd599e0> #<&compoun…>) >> Throw to key `ly-file-failed' with args `()'. >> >> >> *********************** >> >