Nov 12 19:41:30 gear pkg_add: Added firefox-119.0->119.0.1
        Nov 12 19:41:55 gear pkg_add: Added ghostscript-10.02.0->10.02.1

PDF builds fail, can someone confirm this isn't my system being wacky?

        $ ls test.*
    test.ly
        $ cat test.ly
        \version "2.22.2"
        \score {
          { \new Staff { e4 e e c1 } }
          \layout {}
          \midi {}
        }

        $ /usr/local/bin/lilypond test.ly
        GNU LilyPond 2.22.2
        Processing `test.ly'
        Parsing...
        Interpreting music...
        Preprocessing graphical objects...
        Interpreting music...
        MIDI output to `test.midi'...
        Finding the ideal number of pages...
        Fitting music on 1 page...
        Drawing systems...
        Converting to `test.pdf'...
        warning: `(gs -q -dNODISPLAY -dNOSAFER -dNOPAUSE -dBATCH 
-dAutoRotatePages=/None -dPrinted=false /tmp/lilypond-tmp-3901926)' failed (256)

        fatal error: failed files: "test.ly"

If the "build PDF" bit is disabled, then no error:

        $ ed test.ly
        84
        /lay
          \layout {}
        s/^/%
        %  \layout {}
        wq
        85
        $ /usr/local/bin/lilypond test.ly
        GNU LilyPond 2.22.2
        Processing `test.ly'
        Parsing...
        Interpreting music...
        MIDI output to `test.midi'...
        Success: compilation successfully completed
        $ ls test.*
        test.ly   test.midi

ktrace -di shows lilypond and gs chatting but nothing clear as to what or why 
there was an error:

         18383 gs       GIO   fd 2 wrote 7 bytes
                   "10.02.1"
         42762 lilypond STRU  struct pollfd [2] { fd=9, 
events=0x19<POLLIN|POLLERR|POLLH
        UP>, revents=0<> } { fd=11, events=0x19<POLLIN|POLLERR|POLLHUP>, 
revents=0x1<POL
        LIN> }
         18383 gs       RET   write 7
         42762 lilypond RET   poll 1
         18383 gs       CALL  write(2,0x7365ef51ef40,0x2)
         42762 lilypond CALL  read(11,0x758d0fb810a0,0x1000)
         18383 gs       GIO   fd 2 wrote 2 bytes
                   ": "
         42762 lilypond GIO   fd 11 read 25 bytes
                   "GPL Ghostscript 10.02.1: "
         18383 gs       RET   write 2
         42762 lilypond RET   read 25/0x19
         18383 gs       CALL  write(2,0x7365ef51ef40,0x21)
         42762 lilypond CALL  poll(0x758d0fb82190,2,INFTIM)
         18383 gs       GIO   fd 2 wrote 33 bytes
                   "Unrecoverable error, exit code 1
                   "

Reply via email to