[MacPorts] #56163: OpenBLAS @0.2.20_1: libgcc* should be a runtime dependency

MacPorts noreply at macports.org
Tue Mar 27 13:32:59 UTC 2018


#56163: OpenBLAS @0.2.20_1: libgcc* should be a runtime dependency
-------------------------+----------------------
 Reporter:  michaellass  |      Owner:
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  OpenBLAS
-------------------------+----------------------
 gcc is used as Fortran compiler for OpenBLAS. The resulting library is
 linked against libgfortran and libquadmath which are provided by the
 corresponding libgcc port:

 {{{
 otool -L /opt/local/lib/libopenblas-r1.dylib
 /opt/local/lib/libopenblas-r1.dylib:
         /opt/local/lib/libopenblas-r1.dylib (compatibility version 0.0.0,
 current version 0.0.0)
         /opt/local/lib/libgcc/libgfortran.4.dylib (compatibility version
 5.0.0, current version 5.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1252.0.0)
         /opt/local/lib/libgcc/libquadmath.0.dylib (compatibility version
 1.0.0, current version 1.0.0)

 port provides /opt/local/lib/libgcc/libgfortran.4.dylib
 /opt/local/lib/libgcc/libgfortran.4.dylib is provided by: libgcc

 port provides /opt/local/lib/libgcc/libquadmath.0.dylib
 /opt/local/lib/libgcc/libquadmath.0.dylib is provided by: libgcc

 }}}

 The corresponding libgcc version should therefore be added as a runtime
 dependency.

 I noticed this myself when doing a "port uninstall leaves" which
 uninstalled gcc6 and libgcc6 and left OpenBLAS broken. (The output shown
 above is now from the +gcc7 variant of OpenBLAS).

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


More information about the macports-tickets mailing list