cd /var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/mbtest.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wall -Wextra -pedantic-errors -Wl,-O1 -Wl,--as-needed CMakeFiles/mbtest.dir/mbtest.cc.o -o mbtest -Wl,-rpath,/var/tmp/portage/media-libs/musicbrainz-5.1.0/work/musicbrainz-5.1.0_build/src -rdynamic ../src/libmusicbrainz5.so.1.0.0 -lneon -lxml2 /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../lib64/libneon.so: undefined reference to `X509_up_ref' ----------------------------------------------------------------- This is an unstable amd64 chroot image (named 13.0-systemd-libressl-unstable_20170130-102323) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 * llvm-config --version: 3.9.1 Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) java-config: The following VMs are available for generation-2: -----------------------------------------------------------------
Created attachment 461992 [details] emerge-info.txt
Created attachment 461994 [details] emerge-history.txt
Created attachment 461996 [details] environment
Created attachment 461998 [details] etc.portage.tbz2
Created attachment 462000 [details] media-libs:musicbrainz-5.1.0:20170131-142805.log
Which version of dev-libs/openssl or dev-libs/libressl is installed? Which USE flags of net-libs/neon?
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #6) net-libs/neon-0.30.2::gentoo was built with the following: USE="libressl nls ssl zlib -doc -expat -gnutls -kerberos -libproxy -pkcs11 -static-libs" ABI_X86="64 -32 -x32" dev-libs/libressl-2.5.0::gentoo was built with the following: USE="asm -static-libs" ABI_X86="64 -32 -x32" much more info is in the attached emerge-history.txt and etc.portage.tbz2
According to grepping of various versions of LibreSSL, X509_up_ref was introduced in LibreSSL 2.5.1. So net-libs/neon[libressl] should depend on >=dev-libs/libressl-2.5.1.
Unfortunately other functions used in Neon 0.30.2 are still not implemented in LibreSSL 2.5.1. Until LibreSSL is fixed to implement full API of OpenSSL 1.1, OpenSSL <1.1 compatibility code will be used with LibreSSL.
*** Bug 607984 has been marked as a duplicate of this bug. ***
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa940322b14d81e123340b34ccdd5a407facc0ab