[MacPorts] #65468: rust: openssl3 migration: builds failing for 10.8 and earlier; embedded cargo binary linked to openss11 (was: rust: builds failing for 10.8 and earlier; related to openssl3 migration)
MacPorts
noreply at macports.org
Sat Jul 9 17:45:26 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 |
----------------------+------------------------
Description changed by mascguy:
Old description:
> During the initial bootstrap phase of the build, the embedded binary for
> `cargo` fails, due to being linked to `openssl11`:
>
> {{{
> Building rustbuild
> running:
> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_rust/rust/work/cargo-1.60.0-x86_64
> -apple-darwin/cargo/bin/cargo build --manifest-path
> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_rust/rust/work/rustc-1.61.0-src/src/bootstrap/Cargo.toml
> --verbose --verbose --offline
> dyld: Library not loaded:
> /opt/local/libexec/openssl11/lib/libssl.1.1.dylib
> Referenced from:
> /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_rust/rust/work/cargo-1.60.0-x86_64
> -apple-darwin/cargo/bin/cargo
> Reason: image not found
> }}}
>
> It's not clear what the right/best approach is to fixing this, though. (A
> quick fix would be to add a temporary build dep on `openssl11`, but that
> seems like a hack at best.)
>
> https://ports.macports.org/port/rust/details/
New description:
During the initial bootstrap phase of the build, the embedded binary for
`cargo` fails, due to being linked to `openssl11`:
{{{
Building rustbuild
running:
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_rust/rust/work/cargo-1.60.0-x86_64
-apple-darwin/cargo/bin/cargo build --manifest-path
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_rust/rust/work/rustc-1.61.0-src/src/bootstrap/Cargo.toml
--verbose --verbose --offline
dyld: Library not loaded:
/opt/local/libexec/openssl11/lib/libssl.1.1.dylib
Referenced from:
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_rust/rust/work/cargo-1.60.0-x86_64
-apple-darwin/cargo/bin/cargo
Reason: image not found
}}}
https://ports.macports.org/port/rust/details/
--
--
Ticket URL: <https://trac.macports.org/ticket/65468#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list