Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#51112 closed defect (wontfix)

Hexchat-2.10.2 fails to fetch

Reported by: ka6sox@… Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: hexchat

Description (last modified by ryandesign (Ryan Carsten Schmidt))

NuDot:.ssh tking$ sudo port install hexchat
--->  Computing dependencies for hexchat
--->  Fetching distfiles for hexchat
--->  Attempting to fetch hexchat-2.10.2.tar.xz from https://distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.10.2.tar.xz from http://dl.hexchat.net/hexchat/
--->  Attempting to fetch hexchat-2.10.2.tar.xz from http://sea.us.distfiles.macports.org/macports/distfiles/hexchat
--->  Attempting to fetch hexchat-2.10.2.tar.xz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/hexchat
--->  Attempting to fetch hexchat-2.10.2.tar.xz from http://cjj.kr.distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.10.2.tar.xz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.10.2.tar.xz from http://nue.de.distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.10.2.tar.xz from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.10.2.tar.xz from http://lil.fr.distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.10.2.tar.xz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/hexchat
--->  Attempting to fetch hexchat-2.10.2.tar.xz from http://osl.no.distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.10.2.tar.xz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/hexchat
--->  Attempting to fetch hexchat-2.10.2.tar.xz from http://jog.id.distfiles.macports.org/macports/distfiles/hexchat
--->  Attempting to fetch hexchat-2.10.2.tar.xz from http://jnb.za.distfiles.macports.org/distfiles/hexchat
--->  Attempting to fetch hexchat-2.10.2.tar.xz from http://her.gr.distfiles.macports.org/hexchat
--->  Attempting to fetch hexchat-2.10.2.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
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port hexchat failed

Attachments (1)

main.log (5.7 KB) - added by ka6sox@… 9 years ago.
failure from main.log file

Download all attachments as: .zip

Change History (9)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: Hexchat removed
Owner: changed from macports-tickets@… to raimue@…
Port: hexchat added; Hexchat removed

I'm not able to reproduce this problem. It fetches and checksums fine for me from http://dl.hexchat.net/hexchat/. Please attach the main.log so that we might see why it failed for you. Also let us know whether you're able to access that URL in a web browser.

comment:2 Changed 9 years ago by ka6sox@…

Last edited 9 years ago by ka6sox@… (previous) (diff)

Changed 9 years ago by ka6sox@…

Attachment: main.log added

failure from main.log file

comment:3 Changed 9 years ago by ka6sox@…

today I selfupdated to 2.3.4 and updated outdated before attempting to add this.

comment:4 Changed 9 years ago by raimue (Rainer Müller)

Status: newassigned

On a quick test, it seems to work (although running port from trunk, where the output is a bit messed up):

$ sudo port -v fetch hexchat
--->  Fetching distfiles for hexchat
--->  hexchat-2.10.2.tar.xz does not exist in /opt/local/var/macports/distfiles/hexchat
--->  Attempting to fetch hexchat-2.10.2.tar.xz from https://distfiles.macports.org/hexchat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0--->  Attempting to fetch hexchat-2.10.2.tar.xz from http://dl.hexchat.net/hexchat/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1493k  100 1493k    0     0   902k      0  0:00:01  0:00:01 --:--:-- 3747k

I do not know why the distfile was not mirrored, though, as it should be.

comment:5 Changed 9 years ago by raimue (Rainer Müller)

Seems to be a problem related to SSL:

:notice:fetch --->  Attempting to fetch hexchat-2.10.2.tar.xz from http://dl.hexchat.net/hexchat/
:debug:fetch Fetching distfile failed: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

comment:6 Changed 9 years ago by raimue (Rainer Müller)

Resolution: wontfix
Status: assignedclosed

The problem is that the upstream HTTPS server cannot be used with OpenSSL 0.9.8 anymore, as the handshake fails. As confirmed on IRC, the system used was OS X 10.8, on which system libcurl still uses this OpenSSL version from the system.

I guess this is the same reason why the fetch fails. There is not much we can do about it, despite moving our mirroring infrastructure to a more recent SSL/TLS implementation.

comment:7 Changed 8 years ago by ken-cunningham-webuse

This problem still exists.

Error: org.macports.fetch for port hexchat returned: fetch failed

It looks like it's redirecting the original URL to another one (301 Moved Permanently ... )

As a workaround, create the directory

${prefix}/var/macports/distfiles/hexchat

and go into it, and use wget to download the file.

$ sudo wget http://dl.hexchat.net/hexchat/hexchat-2.10.2.tar.xz
--2016-09-18 07:33:54--  http://dl.hexchat.net/hexchat/hexchat-2.10.2.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|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://dl.hexchat.net/hexchat/hexchat-2.10.2.tar.xz [following]
--2016-09-18 07:33:55--  https://dl.hexchat.net/hexchat/hexchat-2.10.2.tar.xz
Connecting to dl.hexchat.net (dl.hexchat.net)|104.27.132.137|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1529732 (1.5M) [application/octet-stream]
Saving to: ‘hexchat-2.10.2.tar.xz’

hexchat-2.10.2.tar.xz              100%[=============================================================>]   1.46M  5.18MB/s    in 0.3s    

2016-09-18 07:33:55 (5.18 MB/s) - ‘hexchat-2.10.2.tar.xz’ saved [1529732/1529732]
Last edited 8 years ago by ken-cunningham-webuse (previous) (diff)

comment:8 in reply to:  7 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to raimue@…:

I guess this is the same reason why the fetch fails. There is not much we can do about it, despite moving our mirroring infrastructure to a more recent SSL/TLS implementation.

We will move our mirroring infrastructure to a more modern server.

Replying to ken.cunningham.webuse@…:

As a workaround,

See ProblemHotlist#fetch-failures

Note: See TracTickets for help on using tickets.