[MacPorts] #58595: Errors after upgrading to Ghostscript 9.27

MacPorts noreply at macports.org
Thu Jun 20 00:54:52 UTC 2019


#58595: Errors after upgrading to Ghostscript 9.27
-------------------------------+--------------------
  Reporter:  7RKJ2rIlETTFzZwO  |      Owner:  (none)
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.5.4
Resolution:                    |   Keywords:
      Port:  ghostscript       |
-------------------------------+--------------------
Changes (by ryandesign):

 * milestone:  MacPorts 2.6.0 =>


Old description:

> Hi all,
>
> I am running Macos 10.14.5 (18F132), and installed Ghostscript via
> Macports. I have recently upgraded to version 9.27. The full output for
> 'ghostscript -version' reads:
>
> "GPL Ghostscript 9.27 (2019-04-04)
> Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
>
> I have a script for batch converting PDF files to PNG files, which goes:
>

> {{{
> for i in *.pdf; do convert -verbose -density 600 -trim $i -quality 100
> -flatten $(basename "$i" .pdf).png;done
> }}}
>
> After I upgraded to the latest version of Ghostscript, this no longer
> works. I get an 'Abort trap: 6' for each file in the batch. Sample output
> reads:
>
> "[ghostscript library 9.27] -sstdout=%stderr -dQUIET -dSAFER -dBATCH
> -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0
> -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4
> '-r600x600'
> '-sOutputFile=/var/folders/k0/m6mz3d055m75782ynnkt2k0w0000gn/T/magick-
> 5910MkmWy1yIM0tx%d' '-f/var/folders/k0/m6mz3d055m75782ynnkt2k0w0000gn/T
> /magick-5910gs9cNcP8C7cU'
> '-f/var/folders/k0/m6mz3d055m75782ynnkt2k0w0000gn/T/magick-5910iJZ-
> CiPdfIWp'Abort trap: 6
>
> When I upgraded Ghostscript to 9.27, I also upgraded Imagemagick to a new
> version. First thought this would be related to Imagemagick, so I posted
> this over in the Imagemagick forum (http://www.imagemagick.org/discourse-
> server/viewtopic.php?f=3&t=36183&sid=9a6db9c431ce72426e9a61ed1ab4fb16).

New description:

 Hi all,

 I am running Macos 10.14.5 (18F132), and installed Ghostscript via
 Macports. I have recently upgraded to version 9.27. The full output for
 `ghostscript -version` reads:

 {{{
 GPL Ghostscript 9.27 (2019-04-04)
 Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
 }}}

 I have a script for batch converting PDF files to PNG files, which goes:


 {{{
 for i in *.pdf; do convert -verbose -density 600 -trim $i -quality 100
 -flatten $(basename "$i" .pdf).png;done
 }}}

 After I upgraded to the latest version of Ghostscript, this no longer
 works. I get an 'Abort trap: 6' for each file in the batch. Sample output
 reads:

 {{{
 [ghostscript library 9.27] -sstdout=%stderr -dQUIET -dSAFER -dBATCH
 -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2
 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r600x600'
 '-sOutputFile=/var/folders/k0/m6mz3d055m75782ynnkt2k0w0000gn/T/magick-
 5910MkmWy1yIM0tx%d' '-f/var/folders/k0/m6mz3d055m75782ynnkt2k0w0000gn/T
 /magick-5910gs9cNcP8C7cU'
 '-f/var/folders/k0/m6mz3d055m75782ynnkt2k0w0000gn/T/magick-5910iJZ-
 CiPdfIWp'Abort trap: 6
 }}}

 When I upgraded Ghostscript to 9.27, I also upgraded Imagemagick to a new
 version. First thought this would be related to Imagemagick, so I posted
 this over in the Imagemagick forum (http://www.imagemagick.org/discourse-
 server/viewtopic.php?f=3&t=36183&sid=9a6db9c431ce72426e9a61ed1ab4fb16).

--

Comment:

 > this link to a stackoverflow post might be relevant:
 ​https://stackoverflow.com/questions/56609227/ghostscript-looks-for-dyld-
 library-in-the-wrong-place

 Not enough information has been provided here to know whether that is
 relevant.

 "Abort trap: 6" is a crash, which means macOS should have generated a
 crash log file in ~/Library/Logs/DiagnosticReports. Could one of you
 please attach the relevant crash log?

-- 
Ticket URL: <https://trac.macports.org/ticket/58595#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list