[MacPorts] #61315: Distfile fetch for python39 hangs on 10.5

MacPorts noreply at macports.org
Wed Oct 14 18:42:17 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 fhgwright):

 Replying to [comment:3 kencu]:
 > that is weird... does
 > {{{
 > sudo port -d fetch python39
 > }}}
 > show anything at all useful?

 As I said above, "Neither -v nor -d provides any useful additional
 information."

 Replying to [comment:4 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.

 I didn't file the ticket to get a workaround; I filed the ticket to report
 a bug. :-)

 > > 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

 Empirically, the timeouts don't work in this case.

-- 
Ticket URL: <https://trac.macports.org/ticket/61315#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list