[Pkg-openssl-devel] undeclared SSL_OP_MSIE_SSLV2_RSA_PADDING causes error during build of ruby 1.9.3-p484

Remi Broemeling remi at goclio.com
Fri Jun 6 20:45:07 UTC 2014


Package: libssl-dev
Version: 1.0.1e-2+deb7u10

It seems that Debian Stable is now unable to build Ruby 1.9.3-p484, due to
Ruby's use of SSL_OP_MSIE_SSLV2_RSA_PADDING.  This was not always the case
(I know for a fact that I have built this exact version of ruby on Debian
7.5+) -- it seems to have just started to happen lately (i.e. towards the
end of May).  I've tried against hosts using libssl-dev
versions 1.0.1e-2+deb7u9 and 1.0.1e-2+deb7u10, and compilation on both of
those versions fails with the following error during OpenSSL:

compiling ossl_ssl.c
ossl_ssl.c: In function ‘ossl_sslctx_session_new_cb’:
ossl_ssl.c:382:35: warning: variable ‘ret_obj’ set but not used
[-Wunused-but-set-variable]
ossl_ssl.c: In function ‘ossl_sslctx_session_remove_cb’:
ossl_ssl.c:431:38: warning: variable ‘ret_obj’ set but not used
[-Wunused-but-set-variable]
ossl_ssl.c: In function ‘ssl_servername_cb’:
ossl_ssl.c:508:25: warning: variable ‘ret_obj’ set but not used
[-Wunused-but-set-variable]
ossl_ssl.c: In function ‘Init_ossl_ssl’:
ossl_ssl.c:1988:5: error: ‘SSL_OP_MSIE_SSLV2_RSA_PADDING’ undeclared (first
use in this function)
ossl_ssl.c:1988:5: note: each undeclared identifier is reported only once
for each function it appears in
make[2]: *** [ossl_ssl.o] Error 1
make[2]: Leaving directory `/tmp/ruby-1.9.3-p484/ext/openssl'
make[1]: *** [ext/openssl/all] Error 2
make[1]: Leaving directory `/tmp/ruby-1.9.3-p484'
make: *** [build-ext] Error 2

Apparently, ruby has patched the problem in v2.1.1 (as per
http://svn.ruby-lang.org/repos/ruby/tags/v2_1_1/ChangeLog).  That changeset
seems to have been backported into the debian package for ruby (as per
http://patchwork.ozlabs.org/patch/350725/)... but compiling the stock ruby
from source is still unworkable due to this problem.

Is this behavior (being unable to build older ruby from sources) expected?
 Or is this a bug in Debian Wheezy's version of the libssl-dev package that
will be fixed in a forthcoming version of the packages?

Thanks!

Remi
-- 
Remi Broemeling
System Administrator
Clio - Practice Management Simplified
1-888-858-2546 x(2^8) | remi at clio.com <remi at goclio.com>
www.clio.com <http://www.goclio.com/> | blog <http://www.clio.com/blog> |
twitter <http://www.twitter.com/goclio> | facebook
<http://www.facebook.com/goclio>

September 22-23. Chicago. #ClioCloud9. Join us as we forge the future of
practice management. <http://cliocloudconference.com/why-attend/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-openssl-devel/attachments/20140606/4e06d550/attachment.html>


More information about the Pkg-openssl-devel mailing list