Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#53181 closed defect (duplicate)

git @2.11.0: fetch failed on OS X 10.5 ppc and intel

Reported by: pkoshevoy (Pavel Koshevoy) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: leopard Cc: ci42
Port: git

Description

$ sudo port upgrade outdated
Password:
--->  Computing dependencies for git
--->  Fetching distfiles for git
--->  Attempting to fetch git-2.11.0.tar.gz from http://distfiles.macports.org/git
--->  Attempting to fetch git-2.11.0.tar.gz from https://cdn.kernel.org/pub/software/scm/git/
--->  Attempting to fetch git-2.11.0.tar.gz from https://www.kernel.org/pub/software/scm/git/
--->  Attempting to fetch git-2.11.0.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/git
--->  Attempting to fetch git-2.11.0.tar.gz from http://sea.us.distfiles.macports.org/macports/distfiles/git
--->  Attempting to fetch git-2.11.0.tar.gz from http://lil.fr.distfiles.macports.org/git
--->  Attempting to fetch git-2.11.0.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/git
--->  Attempting to fetch git-2.11.0.tar.gz from http://kmq.jp.distfiles.macports.org/git
--->  Attempting to fetch git-2.11.0.tar.gz from http://nue.de.distfiles.macports.org/git
--->  Attempting to fetch git-2.11.0.tar.gz from http://cjj.kr.distfiles.macports.org/git
--->  Attempting to fetch git-2.11.0.tar.gz from http://osl.no.distfiles.macports.org/git
--->  Attempting to fetch git-2.11.0.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/git
--->  Attempting to fetch git-2.11.0.tar.gz from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/git
--->  Attempting to fetch git-2.11.0.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/git
--->  Attempting to fetch git-2.11.0.tar.gz from http://jog.id.distfiles.macports.org/macports/distfiles/git
--->  Attempting to fetch git-2.11.0.tar.gz from http://jnb.za.distfiles.macports.org/distfiles/git
--->  Attempting to fetch git-2.11.0.tar.gz from http://her.gr.distfiles.macports.org/git
--->  Attempting to fetch git-2.11.0.tar.gz from http://pek.cn.distfiles.macports.org/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

Change History (3)

comment:1 Changed 8 years ago by kencu (Ken)

Although a more permanent fix for this is likely coming along eventually, for now the only practical and functional solution to this is to rebuild macports from source referencing a newer version of curl.

There are a number of posts here on trac detailing the step-by-step instructions how to do that. One of the them is here <https://trac.macports.org/ticket/51516#comment:19>.

I've done it on every machine I have < 10.8. It works great at present, and solves the problem comprehensively. It comes with no warranty, though.

Although you could install curl into /opt/local and self-reference it when rebuilding macports, I would suggest (and described how to) install a parallel version of macports into /opt/bootstrap, and use a curl installation in there to upgrade macports installed into /opt/local -- just in case one day, in a fit of confusion, you sudo port deactivate everything, and blow up your macports install.

If this all seems a bit of a hassle, yeah - you're right - but hey, it's a 10+ year old machine and it's still usable after all these years, so what's a 10 minute fix in that context?

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed

Duplicate of #51516.

comment:3 Changed 8 years ago by pkoshevoy (Pavel Koshevoy)

That helped, thank you!

Note: See TracTickets for help on using tickets.