Summary: | dev-libs/libevent-2.1.8[libressl,test]: undefined reference to `BIO_set_init' etc. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Jeroen Roovers (RETIRED) <jer> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | jstein, libressl, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-libs:libevent-2.1.8:20170905-005355.log emerge-history.txt environment etc.portage.tbz2 logs.tbz2 temp.tbz2 |
Description
Toralf Förster
![]() Created attachment 492478 [details]
emerge-info.txt
Created attachment 492480 [details]
dev-libs:libevent-2.1.8:20170905-005355.log
Created attachment 492482 [details]
emerge-history.txt
Created attachment 492484 [details]
environment
Created attachment 492486 [details]
etc.portage.tbz2
Created attachment 492488 [details]
logs.tbz2
Created attachment 492490 [details]
temp.tbz2
The problem starts a bit earlier, with: /var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable/bufferevent_openssl.c: In function 'bio_bufferevent_new': /var/tmp/portage/dev-libs/libevent-2.1.8/work/libevent-2.1.8-stable/bufferevent_openssl.c:113:2: warning: implicit declaration of function 'BIO_set_init' [-Wimplicit-function-declaration] BIO_set_init(b, 0); ^ and likes indicating that libevent is calling functions that do not exist in libressl. Which means it can't work with libressl, it breaks all applications linking to it and the libressl flag on the package is an awful fake that can't work. *** Bug 621314 has been marked as a duplicate of this bug. *** Oop,s and I recently switched my KDE desktop to LibreSSL ... Do you have a solution for this problem? Besides migrating the system back from libressl to openssl? I would be interested in such a solution. OpenBSD apparently is still at 2.0.22, so they don't have a patch. runs and builds fine against dev-libs/libressl-{2.6.4, 2.7.2} whoops Builds fine with libressl-2.8.3 without the patch from the libressl overlay (https://github.com/gentoo/libressl/blob/master/dev-libs/libevent/files/libevent-2.1.8-libressl.patch) Seems the problem is only with <libressl-2.7.0. Oops, I see, forgot about USE=test. Anyway the fix is applied in upstream: https://github.com/libevent/libevent/commit/28b8075400c70b2d2da2ce07e590c2ec6d11783d - got into 2.1.9_beta. Builds fine with USE=test and libressl-2.8.3. |