git fetch fails because of gnutls_handshake

René J.V. Bertin rjvbertin at gmail.com
Sat Oct 29 05:48:32 PDT 2016


Hi,

I'm seeing this on one of my systems (haven't been able to try others yet):

{{{
DEBUG: Executing org.macports.fetch (git)
--->  git-2.10.1.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/git
--->  Attempting to fetch git-2.10.1.tar.gz from https://www.kernel.org/pub/software/scm/git/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   178  100   178    0     0    419      0 --:--:-- --:--:-- --:--:--   418
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
DEBUG: Fetching distfile failed: gnutls_handshake() failed: Handshake failed
}}}

As far as I can tell the fetch procedure uses a curl function provided by Pextlib, which in turn uses the host's gnutls libraries. This might suggest that those are outdated w.r.t. www.kernel.org, but when I use the system curl command the fetch completes without problems.
For now I have fortunately only seen this error with kernel.org .

What could this be due to?

Thanks,
René


More information about the macports-dev mailing list