Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#52604 closed defect (fixed)

git-2.10.1: fetch from svn.macports.org fails

Reported by: hadley@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ci42, , raimue (Rainer Müller)
Port: git

Description

--->  Attempting to fetch git-2.10.1.tar.gz from http://svn.macports.org/repository/macports/distfiles/git
Error: org.macports.fetch for port git returned: fetch failed
Please see the log file for port git for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git/git/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Trying to visit the URL in a browser seems to fail as well. On the http://svn.macports.org/repository/macports/distfiles/ page I don't even see a listing for git.

Change History (6)

comment:1 Changed 7 years ago by raimue (Rainer Müller)

Cc: raimue@… added

This is only the very last fallback URL. You should see it trying many other places before getting to this point. Please attach the mentioned main.log which would contain the full list. That might give more insight.

It could also be that other mirrors were rejected due to the OCSP problems of GlobalSign earlier today. Can you successfully visit https://www.macports.org in Safari?

comment:2 Changed 7 years ago by hadley@…

Sorry about that, here's the debug log. I tried one or two of the other URLs in a browser and they seemed to work ok. Yes, I can visit https://www.macports.org in safari. It definitely seemed like some kind of temporary fetch glitch, but it hasn't resolved in 24 hours like they normally do.

Here's the complete log.

:msg:archivefetch --->  Fetching archive for git
:debug:archivefetch Executing org.macports.archivefetch (git)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/507
:info:archivefetch --->  git-2.10.1_0+credential_osxkeychain+doc+pcre+perl5_24.darwin_10.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch git-2.10.1_0+credential_osxkeychain+doc+pcre+perl5_24.darwin_10.x86_64.tbz2 from https://packages.macports.org/git
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch git-2.10.1_0+credential_osxkeychain+doc+pcre+perl5_24.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/git
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch git-2.10.1_0+credential_osxkeychain+doc+pcre+perl5_24.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/git
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Thu Oct 13 12:18:00 EDT 2016
:notice:fetch --->  Fetching distfiles for git
:debug:fetch Executing proc-pre-org.macports.fetch-fetch-0
:debug:fetch Executing org.macports.fetch (git)
:info:fetch --->  git-2.10.1.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/git
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from https://distfiles.macports.org/git
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/git
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from http://lil.fr.distfiles.macports.org/git
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from https://www.kernel.org/pub/software/scm/git/
:debug:fetch Fetching distfile failed: Unknown SSL protocol error in connection to www.kernel.org:443 
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/git
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from http://nue.de.distfiles.macports.org/git
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from http://sea.us.distfiles.macports.org/macports/distfiles/git
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from http://osl.no.distfiles.macports.org/git
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/git
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from http://cjj.kr.distfiles.macports.org/git
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/git
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from http://jnb.za.distfiles.macports.org/distfiles/git
:debug:fetch Fetching distfile failed: Failed to connect to 2001:4200:fffc::248: No route to host
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from http://jog.id.distfiles.macports.org/macports/distfiles/git
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/git
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from http://her.gr.distfiles.macports.org/git
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch git-2.10.1.tar.gz from http://svn.macports.org/repository/macports/distfiles/git
:debug:fetch Fetching distfile failed: The requested URL returned error: 404
:error:fetch org.macports.fetch for port git returned: fetch failed
:debug:fetch Error code: NONE
:debug:fetch Backtrace: fetch failed
    while executing
"portfetch::fetchfiles"
    (procedure "portfetch::fetch_main" line 17)
    invoked from within
"portfetch::fetch_main org.macports.fetch"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:fetch Warning: targets not executed for git: org.macports.install org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot
:notice:fetch Please see the log file for port git for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git/git/main.log

comment:3 Changed 7 years ago by raimue (Rainer Müller)

I just checked, kernel.org requires TLS 1.2 only now. libcurl/OpenSSL on OS X 10.6 does not support TLS >= 1.1. This is also the reason why the file was not mirrored to our distfiles server.

As a workaround, download the files manually and place them into /opt/local/var/macports/distfiles/git/, see also ProblemHotlist.

See #51516 for the discussion if this could be solved in a future version of MacPorts.

comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

comment:5 Changed 7 years ago by jkordani (Joshua Kordani)

same problem, except in my case, a tarfile for 2.10.1 is not even hosted on http://distfiles.macports.org/git/

comment:6 Changed 7 years ago by raimue (Rainer Müller)

Resolution: duplicatefixed

In 7a428704/macports-ports:

git: add alternative download URL to master_sites

The main server at www.kernel.org has a hard requirement for TLS 1.2,
which is not available on older versions of macOS. This CDN mirror is
less restrictive and can be accessed using TLS 1.0.

Closes: #52602
Closes: #52604
Closes: #52836
See: #51516

Note: See TracTickets for help on using tickets.