The current setup failed on the last three builds I have done. Wget seems to understand redirection. Note one line from wget output seems to imply that the site has moved permanently.
Connecting to pypi.org (pypi.org)|151.101.0.223|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://files.pythonhosted.org/packages/source/s/six/six-1.11.0.tar.gz [following] --2018-08-14 15:57:26-- https://files.pythonhosted.org/packages/source/s/six/six-1.11.0.tar.gz ftp -d failed after a long time. op1bsdtest2# ftp -d https://pypi.io/packages/source/s/six/six-1.11.0.tar.gz host pypi.io, port https, path packages/source/s/six/six-1.11.0.tar.gz, save as six-1.11.0.tar.gz, auth none. Trying 151.101.0.223... Requesting https://pypi.io/packages/source/s/six/six-1.11.0.tar.gz ftp: SSL write error: handshake failed: Operation timed out -----Original Message----- From: Stuart Henderson <[email protected]> Sent: August 14, 2018 4:23 PM To: [email protected] Cc: [email protected] Subject: Re: python files moved On 2018/08/14 16:03, [email protected] wrote: > When building php I get the following error which causes a multi > minute timeout. From a wget request it looks like the web site has > moved. This happens on many files and causes quite a slowdown in building a port. If we point too far into the redirection chain for pypi we're more likely to have failures next time they change things, the pypi.io ones seems a more stable endpoint. > ===> Checking files for py-six-1.11.0 > > >> Fetch https://pypi.io/packages/source/s/six/six-1.11.0.tar.gz > > ftp: SSL write error: handshake failed: Operation timed out > > >> Fetch > >> https://ftp.openbsd.org/pub/OpenBSD/distfiles/six-1.11.0.tar.gz > > six-1.11.0.tar.gz 100% > |********************************************************| 29860 00:00 > > > > With wget: > > > > op1bsdtest2# wget > https://pypi.io/packages/source/s/six/six-1.11.0.tar.gz > > --2018-08-14 15:57:26-- > https://pypi.io/packages/source/s/six/six-1.11.0.tar.gz > > Resolving pypi.io (pypi.io)... 151.101.0.223, 151.101.64.223, > 151.101.128.223, ... > > Connecting to pypi.io (pypi.io)|151.101.0.223|:443... connected. It's rather odd that ftp(1) times out and wget succeeds. Does ftp -d throw any light on it?
