`port install' from github tarball fails

Chris Jones jonesc at hep.phy.cam.ac.uk
Tue Sep 25 11:05:19 UTC 2018



On 25/09/18 10:35, Mojca Miklavec wrote:
> Dear Werner,
> 
> Lion does not properly support HTTPS. You might need to recompile
> MacPorts from source to link against a version of libcurl with full
> SSL support.

... or update your OS. Lion is now pretty out of date.

> 
> See for example:
>      https://trac.macports.org/ticket/51516
> 
> Mojca
> 
> On Tue, 25 Sep 2018 at 11:15, Werner LEMBERG wrote:
>>
>>
>> [macports-base 60483e6e71054bcd741a55901c52117077ec7c43]
>>
>> I'm working on a new Portfile for the `extractpdfmark' tool.  Within
>> the file I have
>>
>>    github.setup        trueroad extractpdfmark 1.0.2 v
>>    github.tarball_from releases
>>
>> After `port sync' I tried `port -v install' and I got
>>
>>    --->  Attempting to fetch extractpdfmark-1.0.2.tar.gz from
>>            http://nue.de.distfiles.macports.org/extractpdfmark
>>    [...]
>>    --->  Attempting to fetch extractpdfmark-1.0.2.tar.gz from
>>            https://github.com/trueroad/extractpdfmark/releases/download/v1.0.2
>>    [...]
>>    Error: Failed to fetch extractpdfmark: The requested URL returned error: 404
>>
>> Saying `curl --version' returns
>>
>>    curl 7.61.1 (x86_64-apple-darwin11.4.2)
>>      libcurl/7.61.1 OpenSSL/1.0.2p zlib/1.2.11 libidn2/2.0.5
>>      libpsl/0.20.2 (+libidn2/2.0.5)
>>    Release-Date: 2018-09-05
>>    Protocols: dict file ftp ftps gopher http https imap imaps pop3
>>      pop3s rtsp smb smbs smtp smtps telnet tftp
>>    Features: AsynchDNS IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
>>      UnixSockets HTTPS-proxy PSL
>>
>> which looks OK to me.
>>
>> Doing some manual tests with `curl' I tried
>>
>>    curl -o x https://github.com/trueroad/extractpdfmark/releases/download/v1.0.2/extractpdfmark-1.0.2.tar.gz
>>
>> which returned a `you are redirected' HTML document (attached).
>> However, adding the `-L' flag to curl (to follow redirections) makes
>> the program successfully download the tarball.
>>
>> How shall I proceed?  It seems to me that I've hit a bug in
>> macports...
>>
>>
>>      Werner
>>
>>
>> PS: Looking into the log file I see
>>
>>        :notice:fetch --->  Attempting to fetch extractpdfmark-1.0.2.tar.gz
>>          from https://github.com/trueroad/extractpdfmark/releases/download/v1.0.2
>>        :debug:fetch Fetching distfile failed: error:1407742E:SSL
>>          routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
>>
>>      Maybe this is related also.


More information about the macports-users mailing list