Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 621314

Summary: www-servers/pshs-0.3.2 : /.../libevent_openssl.so: undefined reference to `BIO_meth_set_read'
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
config.log.tbz2
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2
www-servers:pshs-0.3.2:20170609-122910.log

Description Toralf Förster gentoo-dev 2017-06-09 15:56:23 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.      -std=c++11 -Werror=terminate -O2 -pipe -march=native -c -o src/ssl.o src/ssl.cxx
x86_64-pc-linux-gnu-g++ -std=c++11 -Werror=terminate -O2 -pipe -march=native  -Wl,-O1 -Wl,--as-needed -o pshs src/main.o src/content-type.o src/index.o src/handlers.o src/network.o src/rtnl.o src/qrencode.o src/ssl.o -levent  -lssl -lcrypto -levent_openssl -levent -lnetlink -lmagic 
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../lib64/libevent_openssl.so: undefined reference to `BIO_meth_set_read'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: desktop-libressl_20170604-185115

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
Comment 1 Toralf Förster gentoo-dev 2017-06-09 15:56:26 UTC
Created attachment 475750 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-06-09 15:56:29 UTC
Created attachment 475752 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-06-09 15:56:32 UTC
Created attachment 475754 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-06-09 15:56:35 UTC
Created attachment 475756 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-06-09 15:56:37 UTC
Created attachment 475758 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-06-09 15:56:40 UTC
Created attachment 475760 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-06-09 15:56:43 UTC
Created attachment 475762 [details]
www-servers:pshs-0.3.2:20170609-122910.log
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-06-09 16:24:46 UTC
Sounds like a problem inside libevent. The question is whether you built openssl first, and then libevent failed to notice it doesn't have that method, or whether you rebuilt openssl after libevent and Portage did not know it needs to rebuild libevent.

In other words, please try rebuilding libevent, and see if it still happens,
Comment 9 Toralf Förster gentoo-dev 2017-06-09 18:14:38 UTC
(In reply to Michał Górny from comment #8)
erm, it was build after *libre*ssl :

mr-fox / # qlop -l | grep -e libressl -e libevent
Sun Jun  4 23:55:39 2017 >>> dev-libs/libressl-2.5.4
Tue Jun  6 05:44:29 2017 >>> dev-libs/libevent-2.1.8
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-02-27 15:21:59 UTC

*** This bug has been marked as a duplicate of bug 629982 ***