fetching of some ports fails, but you can wget them from the same URL

Ken Cunningham ken.cunningham.webuse at gmail.com
Tue Sep 27 06:45:01 PDT 2016


I've noticed this behaviour a few times recently, most recently today with hexchat, but this is not the only example.

Trying to get a file using macports' fetch fails, but you can manually wget it without trouble.

I'm not sure if it's an SSL certificate thing, or why this is happening, exactly.

Sorry I don't know how to debug the exact problem further than that.

Here's an example.

Ken


$ sudo port upgrade hexchat
--->  Computing dependencies for hexchat
--->  Fetching distfiles for hexchat
--->  Attempting to fetch hexchat-2.12.1.tar.xz from https://dl.hexchat.net/hexchat/
--->  Attempting to fetch hexchat-2.12.1.tar.xz from http://sea.us.distfiles.macports.org/macports/distfiles/hexchat
--->  Attempting to fetch hexchat-2.12.1.tar.xz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/hexchat
--->  Attempting to fetch hexchat-2.12.1.tar.xz from https://distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.12.1.tar.xz from http://cjj.kr.distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.12.1.tar.xz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.12.1.tar.xz from http://lil.fr.distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.12.1.tar.xz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/hexchat
--->  Attempting to fetch hexchat-2.12.1.tar.xz from http://osl.no.distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.12.1.tar.xz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/hexchat
--->  Attempting to fetch hexchat-2.12.1.tar.xz from http://nue.de.distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.12.1.tar.xz from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.12.1.tar.xz from http://jog.id.distfiles.macports.org/macports/distfiles/hexchat
--->  Attempting to fetch hexchat-2.12.1.tar.xz from http://jnb.za.distfiles.macports.org/distfiles/hexchat
--->  Attempting to fetch hexchat-2.12.1.tar.xz from http://her.gr.distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.12.1.tar.xz from http://svn.macports.org/repository/macports/distfiles/hexchat
Error: org.macports.fetch for port hexchat returned: fetch failed
Please see the log file for port hexchat for details:
   /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_irc_hexchat/hexchat/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
   http://guide.macports.org/#project.tickets

$ locate distfiles | grep hexchat
/opt/local/var/macports/distfiles/hexchat
/opt/local/var/macports/distfiles/hexchat/hexchat-2.10.2.tar.xz

$ cd /opt/local/var/macports/distfiles/hexchat/

$ sudo wget https://dl.hexchat.net/hexchat/hexchat-2.12.1.tar.xz
--2016-09-27 06:37:15--  https://dl.hexchat.net/hexchat/hexchat-2.12.1.tar.xz
Resolving dl.hexchat.net (dl.hexchat.net)... 104.27.132.137, 104.27.133.137, 2400:cb00:2048:1::681b:8589, ...
Connecting to dl.hexchat.net (dl.hexchat.net)|104.27.132.137|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1585532 (1.5M) [application/octet-stream]
Saving to: ‘hexchat-2.12.1.tar.xz’

hexchat-2.12.1.tar.xz           100%[======================================================>]   1.51M  5.69MB/s    in 0.3s    



More information about the macports-users mailing list