[MacPorts] #56559: textmate2 @2.0-rc.4_2 build fails on Ruby ssl connection

MacPorts noreply at macports.org
Sat Jun 9 00:02:21 UTC 2018


#56559: textmate2 @2.0-rc.4_2 build fails on Ruby ssl connection
------------------------+------------------------
  Reporter:  p-vitt     |      Owner:  neverpanic
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.5.0
Resolution:             |   Keywords:
      Port:  textmate2  |
------------------------+------------------------

Comment (by neverpanic):

 Hm, OpenSSL 1.0.2o should be able to connect to GitHub just fine, and in
 fact the `net/http` connection succeeds for me on 10.13 with OpenSSL 1.0.2
 when using the ruby from the ruby23 port.

 10.13 replaced the outdated OpenSSL with LibreSSL, which probably is new
 enough to talk to GitHub, so we may just have to add a dependency on our
 own Ruby for builds on 10.12. I do not understand why your Ruby 2.5
 doesn't work though, mine does:
 {{{
 $ /opt/local/bin/ruby2.3 check.rb api.github.com
 Here's your Ruby and OpenSSL environment:

 Ruby:           2.3.7p456 (2018-03-28 revision 63024) [x86_64-darwin17]
 RubyGems:       2.5.2.3
 Bundler:        1.16.1
 Compiled with:  OpenSSL 1.0.2o  27 Mar 2018
 Loaded version: OpenSSL 1.0.2o  27 Mar 2018
 SSL_CERT_FILE:  /opt/local/etc/openssl/cert.pem
 SSL_CERT_DIR:   /opt/local/etc/openssl/certs

 With that out of the way, let's see if you can connect to
 api.github.com...

 Bundler connection to api.github.com:       success ✅
 RubyGems connection to api.github.com:      success ✅
 Ruby net/http connection to api.github.com: success ✅

 Hooray! This Ruby can connect to api.github.com. You are all set to use
 Bundler and RubyGems. 👌
 }}}

 Is there anybody else on 10.12 that could test this? Otherwise, remind me
 next week, my work machine is still 10.12.

-- 
Ticket URL: <https://trac.macports.org/ticket/56559#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list