Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r25450
From: George Bosilca (bosilca_at_[hidden])
Date: 2011-11-07 13:58:44


I might not get all the technical details here but I can confirm that your commit (r25453) fixed all my issues. No more warnings, no ssl nor bufferevent.

  george.

On Nov 7, 2011, at 12:55 , Ralph Castain wrote:

> I have this properly fixed now - will commit later tonight. In Nathan's defense, it turns out that the same configuration bug found here also exists in the libevent207 component (the default one we have been using for a long time). I won't bother fixing it as the commit deletes that component. Why you weren't already seeing those same openssl complaints is a mystery - libevent207 was building openssl support as well. <shrug>
>
> As for bufferevent support - it is in libevent207 as well, so nothing is changing in that regard. It is interwoven in other parts of libevent, so removing it isn't trivial - there is no libevent configure option for doing so. I have tried hand-editing the makefile to remove it, but the interdependencies start biting you pretty quickly. Frankly, I don't think it's worth editing libevent itself just to remove it.
>
>
> On Nov 6, 2011, at 11:25 PM, Nathan T. Hjelm wrote:
>
>> Hmm, I didn't come across that during testing. You are right that we
>> should't be compiling with ssl support.
>>
>>
>> On Mon, 7 Nov 2011 01:17:50 -0500, George Bosilca <bosilca_at_[hidden]>
>> wrote:
>>> This commit introduced quite a few warnings on Mac OS X. A snippet is
>>> attached below. Btw, why do we need to build buffer event support in
>>> libevent? And why ssl ...
>>>
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:
>>> In function 'bio_bufferevent_read':
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:136:
>>> warning: 'BIO_clear_flags' is deprecated (declared at
>>> /usr/include/openssl/bio.h:209)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:146:
>>> warning: 'BIO_set_flags' is deprecated (declared at
>>> /usr/include/openssl/bio.h:207)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:
>>> In function 'bio_bufferevent_write':
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:163:
>>> warning: 'BIO_clear_flags' is deprecated (declared at
>>> /usr/include/openssl/bio.h:209)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:176:
>>> warning: 'BIO_set_flags' is deprecated (declared at
>>> /usr/include/openssl/bio.h:207)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:
>>> In function 'BIO_new_bufferevent':
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:255:
>>> warning: 'BIO_new' is deprecated (declared at
>>> /usr/include/openssl/bio.h:581)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:
>>> In function 'conn_closed':
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:494:
>>> warning: 'SSL_get_shutdown' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1568)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:501:
>>> warning: 'ERR_peek_error' is deprecated (declared at
>>> /usr/include/openssl/err.h:270)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:521:
>>> warning: 'ERR_get_error' is deprecated (declared at
>>> /usr/include/openssl/err.h:266)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:
>>> In function 'init_bio_counts':
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:538:
>>> warning: 'BIO_number_written' is deprecated (declared at
>>> /usr/include/openssl/bio.h:562)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:538:
>>> warning: 'SSL_get_wbio' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1377)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:540:
>>> warning: 'BIO_number_read' is deprecated (declared at
>>> /usr/include/openssl/bio.h:561)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:540:
>>> warning: 'SSL_get_rbio' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1376)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:
>>> In function 'decrement_buckets':
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:546:
>>> warning: 'BIO_number_written' is deprecated (declared at
>>> /usr/include/openssl/bio.h:562)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:546:
>>> warning: 'SSL_get_wbio' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1377)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:547:
>>> warning: 'BIO_number_read' is deprecated (declared at
>>> /usr/include/openssl/bio.h:561)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:547:
>>> warning: 'SSL_get_rbio' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1376)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:
>>> In function 'do_read':
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:580:
>>> warning: 'SSL_read' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1493)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:589:
>>> warning: 'SSL_get_error' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1501)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:
>>> In function 'do_write':
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:655:
>>> warning: 'SSL_write' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1495)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:665:
>>> warning: 'SSL_get_error' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1501)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:
>>> In function 'do_handshake':
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:897:
>>> warning: 'SSL_do_handshake' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1529)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:912:
>>> warning: 'SSL_get_error' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1501)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:
>>> In function 'opal_libevent2012_bufferevent_ssl_renegotiate':
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:991:
>>> warning: 'SSL_renegotiate' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1530)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:
>>> In function 'be_openssl_destruct':
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:1092:
>>> warning: 'SSL_get_wbio' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1377)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:1094:
>>> warning: 'BIO_ctrl' is deprecated (declared at
>>> /usr/include/openssl/bio.h:590)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:1098:
>>> warning: 'SSL_free' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1490)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:
>>> In function 'be_openssl_ctrl':
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:1146:
>>> warning: 'BIO_new_socket' is deprecated (declared at
>>> /usr/include/openssl/bio.h:675)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:1147:
>>> warning: 'SSL_set_bio' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1375)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:
>>> In function 'bufferevent_openssl_new_impl':
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:1207:
>>> warning: 'SSL_ctrl' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1496)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:1230:
>>> warning: 'SSL_set_accept_state' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1549)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:1235:
>>> warning: 'SSL_set_connect_state' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1548)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:
>>> In function 'opal_libevent2012_bufferevent_openssl_filter_new':
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:1286:
>>> warning: 'SSL_set_bio' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1375)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:
>>> In function 'opal_libevent2012_bufferevent_openssl_socket_new':
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:1300:
>>> warning: 'SSL_get_wbio' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1377)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:1304:
>>> warning: 'BIO_ctrl' is deprecated (declared at
>>> /usr/include/openssl/bio.h:590)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:1318:
>>> warning: 'BIO_ctrl' is deprecated (declared at
>>> /usr/include/openssl/bio.h:590)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:1323:
>>> warning: 'BIO_new_socket' is deprecated (declared at
>>> /usr/include/openssl/bio.h:675)
>>>
>> ../../../../../../ompi/opal/mca/event/libevent2013/libevent/bufferevent_openssl.c:1324:
>>> warning: 'SSL_set_bio' is deprecated (declared at
>>> /usr/include/openssl/ssl.h:1375)
>>>
>>> george.
>>>
>>>
>>> On Nov 6, 2011, at 23:32 , hjelmn_at_[hidden] wrote:
>>>
>>>> Author: hjelmn
>>>> Date: 2011-11-06 23:32:36 EST (Sun, 06 Nov 2011)
>>>> New Revision: 25450
>>>> URL: https://svn.open-mpi.org/trac/ompi/changeset/25450
>>>>
>>>> Log:
>>>> RFC: upgrade to libevent 2.0.13 (removing 2.0.7) timeout. Removed
>>> libevent 2.0.7
>>>> Removed:
>>>> trunk/opal/mca/event/libevent2013/.ompi_ignore
>>>> trunk/opal/mca/event/libevent2013/.ompi_unignore
>>>> trunk/opal/mca/event/libevent207/
>>>>
>>>> Deleted: trunk/opal/mca/event/libevent2013/.ompi_ignore
>>>>
>>>
>> ==============================================================================
>>>>
>>>> Deleted: trunk/opal/mca/event/libevent2013/.ompi_unignore
>>>>
>>>
>> ==============================================================================
>>>> --- trunk/opal/mca/event/libevent2013/.ompi_unignore 2011-11-06 23:32:36
>>> EST (Sun, 06 Nov 2011)
>>>> +++ (empty file)
>>>> @@ -1,3 +0,0 @@
>>>> -jsquyres
>>>> -hjelmn
>>>> -rhc
>>>> _______________________________________________
>>>> svn mailing list
>>>> svn_at_[hidden]
>>>> http://www.open-mpi.org/mailman/listinfo.cgi/svn
>>>
>>>
>>> _______________________________________________
>>> devel mailing list
>>> devel_at_[hidden]
>>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>
>> _______________________________________________
>> devel mailing list
>> devel_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel