[MacPorts] #65468: rust: builds failing for 10.8 and earlier; related to openssl3 migration
MacPorts
noreply at macports.org
Sat Jul 9 17:25:13 UTC 2022
#65468: rust: builds failing for 10.8 and earlier; related to openssl3 migration
----------------------+------------------------
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 build of
> `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
>
> RuntimeError: failed to run:
> /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
> }}}
>
> 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
RuntimeError: failed to run:
/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
}}}
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/
--
--
Ticket URL: <https://trac.macports.org/ticket/65468#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list