<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2018-04-05 22:32, David B. Evans
wrote:<br>
<span style="display:block; white-space:pre;background:#e0ffe0;"></span></div>
<blockquote type="cite"
cite="mid:20180405203851.24857.98645@braeburn.macports.org">
<pre style="white-space: pre; background: #F8F8F8"><span style="display:block; white-space:pre;background:#e0ffe0;">+# cargo build also fails on 10.8 due to known SSL/TLS issues with github.com
</span><span style="display:block; white-space:pre;background:#e0ffe0;">+# Updating registry `<a class="moz-txt-link-freetext" href="https://github.com/rust-lang/crates.io-index">https://github.com/rust-lang/crates.io-index</a>`
</span><span style="display:block; white-space:pre;background:#e0ffe0;">+# Downloading shell-escape v0.1.4
</span><span style="display:block; white-space:pre;background:#e0ffe0;">+# error: unable to get packages from source
</span><span style="display:block; white-space:pre;background:#e0ffe0;">+# Caused by:[35] SSL connect error (error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure)
</span><span style="display:block; white-space:pre;background:#e0ffe0;">+# <a class="moz-txt-link-freetext" href="https://trac.macports.org/ticket/56195">https://trac.macports.org/ticket/56195</a></span></pre>
</blockquote>
cargo is using git for this operation and the failure is coming from
/usr/bin/git.<br>
<br>
cargo should declare<br>
<br>
if {${os.subplatform} eq "macosx" && [vercmp
${macosx_version} 10.8] <= 0} {<br>
depends_run port:git<br>
}<br>
<br>
for legacy platforms, as cargo is unusable if it cannot update its
registry.<br>
<br>
I'll leave the change to someone who is interested and willing to
test this.<br>
<br>
Rainer
</body>
</html>