You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (Jira)" <ji...@apache.org> on 2024/07/02 20:11:00 UTC

[jira] [Assigned] (MESOS-8867) CMake: Bundled libevent v2.1.5-beta doesn't compile with OpenSSL 1.1.0

     [ https://issues.apache.org/jira/browse/MESOS-8867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Mahler reassigned MESOS-8867:
--------------------------------------

    Assignee: Jason Zhou

> CMake: Bundled libevent v2.1.5-beta doesn't compile with OpenSSL 1.1.0
> ----------------------------------------------------------------------
>
>                 Key: MESOS-8867
>                 URL: https://issues.apache.org/jira/browse/MESOS-8867
>             Project: Mesos
>          Issue Type: Bug
>          Components: cmake
>         Environment: Fedora 28 with OpenSSL 1.1.0h, {{cmake -G Ninja -D ENABLE_LIBEVENT=ON -D ENABLE_SSL=ON}}
>            Reporter: Jan Schlicht
>            Assignee: Jason Zhou
>            Priority: Major
>
> Compiling libevent 2.1.5 beta with OpenSSL 1.1.0 fails with errors like
> {noformat}
> /home/vagrant/mesos/build/3rdparty/libevent-2.1.5-beta/src/libevent-2.1.5-beta/bufferevent_openssl.c: In function ‘bio_bufferevent_new’:
> /home/vagrant/mesos/build/3rdparty/libevent-2.1.5-beta/src/libevent-2.1.5-beta/bufferevent_openssl.c:112:3: error: dereferencing pointer to incomplete type ‘BIO’ {aka ‘struct bio_st’}
>   b->init = 0;
>    ^~
> {noformat}
> As this is the version currently bundled by CMake, builds with {{ENABLE_LIBEVENT=ON, ENABLE_SSL=ON}} will fail to compile.
> Libevent supports OpenSSL 1.1.0 beginning with v2.1.7-rc (see https://github.com/libevent/libevent/pull/397) 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)