[MacPorts] #55552: py27-appdirs: fetch failure
MacPorts
noreply at macports.org
Tue Dec 19 16:20:47 UTC 2017
#55552: py27-appdirs: fetch failure
-------------------------+-------------------
Reporter: noloader | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: | Keywords:
Port: py-appdirs |
-------------------------+-------------------
Comment (by ccorn):
Fetching has indeed been a problem for my {{{apple-darwin9-powerpc}}} too.
To me, it looks like the MacPorts Tcl {{{curl}}} command does not use
current CA bundles and/or does not handle redirects properly. There seems
to have been an approach in use that tries HTTP instead of HTTPS on older
Darwin versions, but that does not work well because most sites redirect
to HTTPS nowadays. I suppose that the Tcl {{{curl}}} command needs an
update that renders such kludges obsolete.
As a temporary workaround I have removed most mirror sites that the
current fetch mechanism cannot handle with HTTP. For python eggs this
would have left nothing, so I ended up with an own shell script that
fetches the ports using {{{sudo -u macports curl -L $URL}}}. Of course
this is an unsatisfactory state of affairs.
--
Ticket URL: <https://trac.macports.org/ticket/55552#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list