[MacPorts] #65346: rust PG: can't link librsvg 2.54 on Snow Leopard

MacPorts noreply at macports.org
Tue Jun 14 14:56:38 UTC 2022


#65346: rust PG: can't link librsvg 2.54 on Snow Leopard
---------------------------+---------------------------------
  Reporter:  evanmiller    |      Owner:  MarcusCalhoun-Lopez
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  snowleopard
      Port:  rust librsvg  |
---------------------------+---------------------------------

Comment (by MarcusCalhoun-Lopez):

 librsvg uses libtool, which does not recognize `-fuse-ld` (at least
 [https://git.savannah.gnu.org/cgit/libtool.git/commit/build-
 aux?id=f9970d99293faf908fdc153a653fa5781095fb7a not yet]).\\
 It is relatively easy to get libtool to recognize `-fuse-ld`.

 A trickier problem is that the Objective-C runtime crate seems to require
 10.7 or newer.\\
 The Objective-C runtime crate can be deactivated (along with
 macos::system_locale, which uses it) since it is only one of
 [https://github.com/rust-
 locale/locale_config/blob/0dd7dce608a21a0176332a94e212309a32d6fffc/src/lib.rs#L720
 several possibilities].\\
 However, it is not pleasant to maintain.\\
 As far as I know, the Rust macro system does not support OS versions.

 There is an [https://github.com/macports/macports-ports/pull/15137
 inelegant pull request] that attempts to solve the problem.\\
 However, as I said, it may not be fun to maintain.

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


More information about the macports-tickets mailing list