lilypond-user
[Top][All Lists]
Advanced

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

Re: lilypond does not generate pdf - new install on mac os sonoma


From: Abe Raher
Subject: Re: lilypond does not generate pdf - new install on mac os sonoma
Date: Sun, 19 Nov 2023 19:01:02 -0800

p.s. This story ended oddly.

I uninstalled ghostscript and then installed ghostscript 10.02.0.

I pinned that version.

Still got the error ...

Uninstalled lilypond.

Reinstalled lilypond – this required unpinning ghostscript.

Now it's all working. Odd because we're back to the latest ghostscript which is what we thought was the source of the error.

% lilypond --loglevel=debug template-notes-only.ly 

Log level set to 287

GNU LilyPond 2.24.3 (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.3'

  Using run-time value for datadir,

    setting it to '/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3'

  Using run-time value for libdir,

    setting it to '/usr/local/Cellar/lilypond/2.24.3/lib/lilypond/2.24.3'

  Using run-time value for localedir,

    setting it to '/usr/local/Cellar/lilypond/2.24.3/share/locale'

  Using compile-time value for relocdir,

    setting it to ''

  Prepending '/usr/local/Cellar/lilypond/2.24.3/bin' to PATH

  Setting PATH to '/usr/local/Cellar/lilypond/2.24.3/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.3/share/lilypond/2.24.3'

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.3/share/lilypond/2.24.3'

PATH="/usr/local/Cellar/lilypond/2.24.3/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.3/share/lilypond/2.24.3/scm/lily/lily.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/lily-library.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/output-lib.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/markup-macros.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/parser-ly-from-scheme.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/file-cache.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-event-classes.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-music-callbacks.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-music-types.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-note-names.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/c++.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/chord-entry.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/skyline.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/markup.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-markup-commands.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/stencil.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/modal-transforms.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/chord-ignatzek-names.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/music-functions.scm

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-music-display-methods.scm]

]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/part-combiner.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/autochange.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-music-properties.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/time-signature.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/time-signature-settings.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/auto-beam.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/chord-name.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-context-properties.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/translation-functions.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/breath.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/script.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/midi.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/layout-beam.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/parser-clef.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/layout-slur.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/font.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/font-encodings.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/bar-line.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/flag-styles.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/fret-diagrams.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/tablature.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/harp-pedals.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-woodwind-diagrams.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/display-woodwind-diagrams.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/predefined-fretboards.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-grob-properties.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-grobs.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-grob-interfaces.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/define-stencil-commands.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/scheme-engravers.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/scheme-performers.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/titling.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/paper.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/backend-library.scm]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/scm/lily/color.scm]

(primitive-load-path lily): 0.09 seconds

Initializing FontConfig...

Adding fontconfig configuration file: /usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/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.3/share/lilypond/2.24.3/fonts/99-lilypond-fonts.conf

Adding font directory: /usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/fonts/otf

Building font database...


[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/declarations-init.ly[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/music-functions-init.ly][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/toc-init.ly]

Using `nederlands' note names...[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/drumpitch-init.ly][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/chord-modifiers-init.ly][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/script-init.ly][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/chord-repetition-init.ly][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/scale-definitions-init.ly][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/dynamic-scripts-init.ly][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/spanners-init.ly][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/predefined-fretboards-init.ly][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/string-tunings-init.ly][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/property-init.ly][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/grace-init.ly][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/midi-init.ly[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/performer-init.ly]][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/paper-defaults-init.ly[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/titling-init.ly][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/text-replacements.ly]][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/context-mods-init.ly][/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ly/engraver-init.ly]]

Processing `template-notes-only.ly'

Parsing...[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/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.3"


for future compatibility

Interpreting music...

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/fonts/otf/emmentaler-20.otf

CFF name for font Emmentaler-20 is the same.]

elapsed time: 0.02 seconds

Element count 57 (spanners 6) 

Preprocessing graphical objects...

Grob count 109

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/fonts/otf/emmentaler-11.otf

CFF name for font Emmentaler-11 is the same.]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/fonts/otf/emmentaler-13.otf

CFF name for font Emmentaler-13 is the same.]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/fonts/otf/emmentaler-14.otf

CFF name for font Emmentaler-14 is the same.]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/fonts/otf/emmentaler-16.otf

CFF name for font Emmentaler-16 is the same.]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/fonts/otf/emmentaler-18.otf

CFF name for font Emmentaler-18 is the same.]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/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.3/share/lilypond/2.24.3/fonts/otf/C059-Roman.otf]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/ps/music-drawing-routines.ps]

[/usr/local/Cellar/lilypond/2.24.3/share/lilypond/2.24.3/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-7181336': << /OutputFile (./lilypond-tmp-4496227.pdf) /CompatibilityLevel 1.4 /PageSize [595.28 841.89] /OutputDevice /pdfwrite >> setpagedevice /.setdefaultscreen where { pop .setdefaultscreen } { (Warning: .setdefaultscreen not available) print } ifelse newpath fill (/var/folders/fc/k1101v7s4vd830chswfjssdh0000gn/T//lilypond-tmp-4496227) (r) file .setsafe run

Invoking `gs -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH -dAutoRotatePages=/None -dPrinted=false /var/folders/fc/k1101v7s4vd830chswfjssdh0000gn/T//lilypond-tmp-7181336'...


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.

gc time taken: 0.116146

]

Success: compilation successfully completed

sealiondub@hostname-of-mac test-2023-11-11 % ls -la

total 136

-rw-r--r--    1 sealiondub  staff  14937 Nov 11 15:31 % lilypond --loglevel=debug template-notes-only.l

drwxr-xr-x    7 sealiondub  staff    224 Nov 19 18:56 .

drwxr-xr-x  406 sealiondub  staff  12992 Nov 11 15:24 ..

-rw-r--r--    1 sealiondub  staff  14990 Nov 11 15:27 template-notes-only-log

-rw-r--r--@   1 sealiondub  staff    140 Nov 11 15:26 template-notes-only.ly

-rw-r--r--    1 sealiondub  staff    143 Nov 19 18:56 template-notes-only.midi

-rw-r--r--    1 sealiondub  staff  27976 Nov 19 18:56 template-notes-only.pdf



On Sun, Nov 12, 2023 at 1:21 PM Abe Raher <gankogui@gmail.com> wrote:
Thank you, Jean, that makes sense and will help.

all the best,

Abe


On Sun, Nov 12, 2023 at 12:53 AM Jean Abou Samra <jean@abou-samra.fr> 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.

That thread is not about the same problem as this thread.

Your specific Ghostscript error is

Error: /undefined in finddevice

The problem is that recently, Ghostscript (the software used by LilyPond to convert its PostScript output to PDF) had a “security fix release”, version 10.02.1, which removed a function that was used by LilyPond (apparently because it was somehow found to be insecure). See issue 6675.

Since security fix releases are always assumed not to break anything, packagers pick them up without much thought. In this case, Homebrew was quick to upgrade to 10.02.1 and LilyPond broke.

LilyPond has already been changed to avoid using it, but Homebrew doesn't have that fix yet.

I don't know enough about Homebrew to say whether it's possible to downgrade Ghostscript to 10.02.0. You could try the official binaries, which do work.

Best,

Jean


reply via email to

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