>>> Downloading 'https://mirrors.ustc.edu.cn/gentoo/distfiles/8d/file-5.41.tar.gz' --2021-10-19 19:15:42-- https://mirrors.ustc.edu.cn/gentoo/distfiles/8d/file-5.41.tar.gz Resolving mirrors.ustc.edu.cn... 198.18.12.176 Connecting to mirrors.ustc.edu.cn|198.18.12.176|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2021-10-19 19:15:42 ERROR 404: Not Found. >>> Downloading 'ftp://ftp.astron.com/pub/file/file-5.41.tar.gz' --2021-10-19 19:15:42-- ftp://ftp.astron.com/pub/file/file-5.41.tar.gz => �~@~X/var/cache/distfiles/file-5.41.tar.gz.__download__�~@~Y Resolving ftp.astron.com... 198.18.43.180 Connecting to ftp.astron.com|198.18.43.180|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /pub/file ... done. ==> SIZE file-5.41.tar.gz ... 1064097 ==> PASV ... done. ==> RETR file-5.41.tar.gz ... Error in server response, closing control connection. Retrying. --2021-10-19 19:16:46-- ftp://ftp.astron.com/pub/file/file-5.41.tar.gz (try: 2) => �~@~X/var/cache/distfiles/file-5.41.tar.gz.__download__�~@~Y Connecting to ftp.astron.com|198.18.43.180|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /pub/file ... done. ==> SIZE file-5.41.tar.gz ... 1064097 ==> PASV ... done. ==> RETR file-5.41.tar.gz ... Error in server response, closing control connection. Retrying. --2021-10-19 19:17:51-- ftp://ftp.astron.com/pub/file/file-5.41.tar.gz
You should pick a better mirror. distfiles.gentoo.org has the file. Regarding the FTP error, it works fine for me.