Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2018 18:00:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   [Bug 229119] lang/ruby25: OpenSSL broken
Message-ID:  <bug-229119-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229119

            Bug ID: 229119
           Summary: lang/ruby25: OpenSSL broken
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ruby@FreeBSD.org
          Reporter: ncrogers@gmail.com
          Assignee: ruby@FreeBSD.org
             Flags: maintainer-feedback?(ruby@FreeBSD.org)

I experience "Undefined symbol "EVP_PKEY_get0_RSA" errors with this port
because of the patch that was committed in r465590. Removing
files/patch-ext_openssl_openssl__missing.h from the port fixes the problem =
for
me. I am compiling against OpenSSL in base.

OpenSSL 1.0.2k-freebsd  26 Jan 2017
# ruby -v
ruby 2.5.1p57 (2018-03-29 revision 63029) [amd64-freebsd11]
# irb
irb(main):001:0> require 'openssl'; OpenSSL::PKey::RSA.new(`openssl
genrsa`).private_encrypt('foo')
Generating RSA private key, 2048 bit long modulus
.....+++
...............................................................+++
e is 65537 (0x10001)
/usr/local/lib/ruby/2.5/amd64-freebsd11/openssl.so: Undefined symbol
"EVP_PKEY_get0_RSA"

This is related to bug 226852
(https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226852) - the fix for =
it was
committed upstream and now causes this bug.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229119-21402>