[MacPorts] #61315: Distfile fetch for python39 hangs on 10.5
MacPorts
noreply at macports.org
Wed Oct 14 08:53:47 UTC 2020
#61315: Distfile fetch for python39 hangs on 10.5
------------------------+--------------------
Reporter: fhgwright | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.6.3
Resolution: | Keywords:
Port: python39 |
------------------------+--------------------
Comment (by ryandesign):
Replying to [comment:2 fhgwright]:
> But it tries the upstream source first, and if that hangs rather than
failing, it never gets the chance to move on to try the mirror.
MacPorts pings all available sites and tries them in an order that is
supposed to result in the closest server being tried first. For you, the
nearest server is apparently www.python.org.
You can add www.python.org to host_blacklist in macports.conf to tell
MacPorts that you never want it to try to use that host.
> There are actually at least two bugs here - the hang, and the lack of a
timeout.
MacPorts has a fetch timeouts. See https://github.com/macports/macports-
base/blob/master/src/pextlib1.0/curl.c#L57-L60
--
Ticket URL: <https://trac.macports.org/ticket/61315#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list