Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#52836 closed defect (fixed)

git fails to upgrade to git-2.10.1 [git-2.10.1.tar.gz unavailable from the sources provided]

Reported by: har5ha Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 2.3.5
Component: ports Version: 2.3.4
Keywords: git Cc: ci42, openmaintainer@…
Port: git

Description


$sudo port upgrade outdated                                                                                                             
Password:
--->  Computing dependencies for git
--->  Fetching distfiles for git
--->  Attempting to fetch git-2.10.1.tar.gz from https://distfiles.macports.org/git
--->  Attempting to fetch git-2.10.1.tar.gz from http://lil.fr.distfiles.macports.org/git
--->  Attempting to fetch git-2.10.1.tar.gz from http://nue.de.distfiles.macports.org/git
--->  Attempting to fetch git-2.10.1.tar.gz from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/git
--->  Attempting to fetch git-2.10.1.tar.gz from http://sea.us.distfiles.macports.org/macports/distfiles/git
--->  Attempting to fetch git-2.10.1.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/git
      [                                        ]   0.0 %        speed: 0 B/s        --->  Attempting to fetch git-2.10.1.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/git
--->  Attempting to fetch git-2.10.1.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/git
--->  Attempting to fetch git-2.10.1.tar.gz from https://www.kernel.org/pub/software/scm/git/
--->  Attempting to fetch git-2.10.1.tar.gz from http://jog.id.distfiles.macports.org/macports/distfiles/git
--->  Attempting to fetch git-2.10.1.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/git
--->  Attempting to fetch git-2.10.1.tar.gz from http://cjj.kr.distfiles.macports.org/git
--->  Attempting to fetch git-2.10.1.tar.gz from http://jnb.za.distfiles.macports.org/distfiles/git
--->  Attempting to fetch git-2.10.1.tar.gz from http://her.gr.distfiles.macports.org/git
--->  Attempting to fetch git-2.10.1.tar.gz from http://osl.no.distfiles.macports.org/git
--->  Attempting to fetch git-2.10.1.tar.gz from http://svn.macports.org/repository/macports/distfiles/git
      [                                        ]   0.0 %        speed: 0 B/s        Error: org.macports.fetch for port git returned: fetch failed
Please see the log file for port git for details:
    /macports/var/macports/logs/_macports_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

Thanks in advance!.

Change History (3)

comment:1 Changed 5 years ago by ken-cunningham-webuse

looks like you have an older mac. This has been coming up a lot lately.

A long term permanent solution is under discussion, but not yet resolved.

see 51516 for a general fix you can try if you're feeling brave and adventuresome

for a one-off fix, download git and gitmanpages using wget into /opt/local/var/macports/distfiles/git/

comment:2 Changed 5 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

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

comment:3 in reply to:  1 Changed 5 years ago by har5ha

Replying to ken-cunningham-webuse:

looks like you have an older mac. This has been coming up a lot lately.

A long term permanent solution is under discussion, but not yet resolved.

see 51516 for a general fix you can try if you're feeling brave and adventuresome

for a one-off fix, download git and gitmanpages using wget into /opt/local/var/macports/distfiles/git/



I downloaded git-2.10.1.tar.gz manually(wget) as you suggested and was able to upgrade.

Thanks!

Note: See TracTickets for help on using tickets.