[MacPorts] #65468: rust: openssl3 migration: builds failing for 10.8 and earlier; embedded cargo binary linked to openss11

MacPorts noreply at macports.org
Sat Jul 9 22:55:24 UTC 2022


#65468: rust: openssl3 migration: builds failing for 10.8 and earlier; embedded
cargo binary linked to openss11
----------------------+------------------------
  Reporter:  mascguy  |      Owner:  neverpanic
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.7.2
Resolution:           |   Keywords:
      Port:  rust     |
----------------------+------------------------

Comment (by neverpanic):

 I'm guessing that bootstrap binary would have to be compiled on 10.8 or
 lower? I don't have a machine this old anymore, so I can't do that,
 unfortunately.

 It may be as simple also also changing `openssl.branch` in the `rust-
 bootstrap` Portfile, but building that requires `jemalloc +universal`,
 which doesn't seem to compile on my 12.4 arm64. If I build it -universal,
 that seems to work fine, though.

 The resulting binary seems to be correctly linked against openssl 3:

 {{{
 $ tar xzOf work/destroot/opt/local/libexec/rust-
 bootstrap/cargo-1.60.0+0-aarch64-macports-darwin.tar.gz
 cargo-1.60.0-aarch64-apple-darwin/cargo/bin/cargo >/tmp/cargo
 $ otool -L /tmp/cargo
 /tmp/cargo:
         /opt/local/lib/libgit2.1.3.dylib (compatibility version 1.3.0,
 current version 1.3.0)
         /opt/local/libexec/openssl3/lib/libssl.3.dylib (compatibility
 version 3.0.0, current version 3.0.0)
         /opt/local/libexec/openssl3/lib/libcrypto.3.dylib (compatibility
 version 3.0.0, current version 3.0.0)
         /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current
 version 1.2.12)
         /opt/local/lib/libcurl.4.dylib (compatibility version 13.0.0,
 current version 13.0.0)
 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
 (compatibility version 150.0.0, current version 1858.112.0)
         /opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0,
 current version 9.1.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1311.100.3)
         /usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current
 version 1.0.0)
 }}}

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


More information about the macports-tickets mailing list