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:   maintainer-feedback requested: [Bug 229119] lang/ruby25: OpenSSL broken
Message-ID:  <bug-229119-21402-gev7THQWHR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229119-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229119-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-ruby mailing l=
ist
<ruby@FreeBSD.org> for maintainer-feedback:
Bug 229119: lang/ruby25: OpenSSL broken
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229119



--- Description ---
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.



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