<div dir="ltr"><div>Package: libssl-dev</div><div>Version: 1.0.1e-2+deb7u10</div><div><br></div>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:<div>
<br></div><div><div><font face="courier new, monospace">compiling ossl_ssl.c</font></div><div><font face="courier new, monospace">ossl_ssl.c: In function ‘ossl_sslctx_session_new_cb’:</font></div><div><font face="courier new, monospace">ossl_ssl.c:382:35: warning: variable ‘ret_obj’ set but not used [-Wunused-but-set-variable]</font></div>
<div><font face="courier new, monospace">ossl_ssl.c: In function ‘ossl_sslctx_session_remove_cb’:</font></div><div><font face="courier new, monospace">ossl_ssl.c:431:38: warning: variable ‘ret_obj’ set but not used [-Wunused-but-set-variable]</font></div>
<div><font face="courier new, monospace">ossl_ssl.c: In function ‘ssl_servername_cb’:</font></div><div><font face="courier new, monospace">ossl_ssl.c:508:25: warning: variable ‘ret_obj’ set but not used [-Wunused-but-set-variable]</font></div>
<div><font face="courier new, monospace">ossl_ssl.c: In function ‘Init_ossl_ssl’:</font></div><div><font face="courier new, monospace">ossl_ssl.c:1988:5: error: ‘SSL_OP_MSIE_SSLV2_RSA_PADDING’ undeclared (first use in this function)</font></div>
<div><font face="courier new, monospace">ossl_ssl.c:1988:5: note: each undeclared identifier is reported only once for each function it appears in</font></div><div><font face="courier new, monospace">make[2]: *** [ossl_ssl.o] Error 1</font></div>
<div><font face="courier new, monospace">make[2]: Leaving directory `/tmp/ruby-1.9.3-p484/ext/openssl'</font></div><div><font face="courier new, monospace">make[1]: *** [ext/openssl/all] Error 2</font></div><div><font face="courier new, monospace">make[1]: Leaving directory `/tmp/ruby-1.9.3-p484'</font></div>
<div><font face="courier new, monospace">make: *** [build-ext] Error 2</font></div><div><br></div><div>Apparently, ruby has patched the problem in v2.1.1 (as per <a href="http://svn.ruby-lang.org/repos/ruby/tags/v2_1_1/ChangeLog">http://svn.ruby-lang.org/repos/ruby/tags/v2_1_1/ChangeLog</a>). That changeset seems to have been backported into the debian package for ruby (as per <a href="http://patchwork.ozlabs.org/patch/350725/).">http://patchwork.ozlabs.org/patch/350725/).</a>.. but compiling the stock ruby from source is still unworkable due to this problem.</div>
<div><br></div><div>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?</div>
<div><br></div><div>Thanks!</div><div><br></div><div>Remi</div>-- <br><div dir="ltr"><div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><div style="color:rgb(0,0,0);font-family:arial;font-size:small">
Remi Broemeling</div><div style="color:rgb(0,0,0);font-family:arial;font-size:small">System Administrator</div></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<font face="arial, helvetica, sans-serif">Clio - Practice Management Simplified</font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif"><a value="+18888582546" style="color:rgb(17,85,204)">1-888-858-2546</a> x(2^8) | </font><a href="mailto:remi@goclio.com" style="font-family:arial,helvetica,sans-serif;background-color:transparent" target="_blank">remi@clio.com</a></div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif"><a href="http://www.goclio.com/" style="color:rgb(17,85,204)" target="_blank">www.clio.com</a> | <a href="http://www.clio.com/blog" style="color:rgb(17,85,204)" target="_blank">blog</a> | <a href="http://www.twitter.com/goclio" style="color:rgb(17,85,204)" target="_blank">twitter</a> | <a href="http://www.facebook.com/goclio" style="color:rgb(17,85,204)" target="_blank">facebook</a></font></div>
</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><a href="http://cliocloudconference.com/why-attend/" target="_blank" style="color:rgb(17,85,204)"><span class=""><span class="">September 22-23</span></span>. Chicago. #ClioCloud9. Join us as we forge the future of practice management.</a><br>
</div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><div></div></span></div>
</div></div>