On 2018-04-05 22:32, David B. Evans wrote:
> +# cargo build also fails on 10.8 due to known SSL/TLS issues with
> github.com +# Updating registry
> `https://github.com/rust-lang/crates.io-index` +# Downloading
> shell-escape v0.1.4 +# error: unable to get packages from source +#
> Caused by:[35] SSL connect error (error:14077410:SSL
> routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure) +#
> https://trac.macports.org/ticket/56195
cargo is using git for this operation and the failure is coming from
/usr/bin/git.

cargo should declare

    if {${os.subplatform} eq "macosx" && [vercmp ${macosx_version} 10.8]
<= 0} {
        depends_run port:git
    }

for legacy platforms, as cargo is unusable if it cannot update its registry.

I'll leave the change to someone who is interested and willing to test this.

Rainer

Reply via email to