[MacPorts] #58693: octave: binary not compatible with new GraphicsMagick version

MacPorts noreply at macports.org
Sun Jul 7 17:57:29 UTC 2019


#58693: octave: binary not compatible with new GraphicsMagick version
--------------------------+--------------------
 Reporter:  nir-krakauer  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.5.4
 Keywords:                |       Port:  octave
--------------------------+--------------------
 With the new GraphicsMagick version 1.3.32, installing the default Octave
 (as
 octave-5.1.0_0+accelerate+app+docs+gfortran+graphicsmagick+qt5+sound+sundials.darwin_15.x86_64.tbz2
 ) results in a crash when Octave is run and, for example, the
 [https://octave.sourceforge.io/octave/function/imformats.html imformats]
 command is invoked:
 {{{
 octave:1> imformats
   fatal: caught signal Abort trap: 6 -- stopping myself...
   Abort trap: 6
 }}}

 This appears to be due to the Octave binary being built with an old
 GraphicsMagick library version:


 {{{
 otool -L /opt/local/lib/octave/5.1.0/liboctinterp.7.dylib | grep Magic
         /opt/local/lib/libGraphicsMagick++.12.dylib (compatibility version
 17.0.0, current version 17.0.0)
         /opt/local/lib/libGraphicsMagick.3.dylib (compatibility version
 23.0.0, current version 23.0.0)

 otool -L /opt/local/bin/gm | grep Magick
         /opt/local/lib/libGraphicsMagick.3.dylib (compatibility version
 24.0.0, current version 24.0.0)
 }}}


 The problem is fixed after downgrading GraphicsMagick to the previous
 version (1.3.31) using a local Portfile and then reinstalling Octave.

-- 
Ticket URL: <https://trac.macports.org/ticket/58693>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list