https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-libs/libupnp-1.14.18 fails tests. Discovered on: amd64 (internal ref: clang-lld_tinderbox) System: CLANG-LLD (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CLANG-LLD) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Created attachment 886646 [details] build.log build log and emerge --info
@orbea: do you have also an idea on this?
@Conrad The linker command is missing -lcrypto and its failing with an undefined reference for OPENSSL_init_crypto because of --no-allow-shlib-undefined which I presume is being set by lld? On my system with libressl-3.9.0 it fails the same way, but with OPENSSL_add_all_algorithms_noconf instead which is also in libcrypto. However I can't find any sign of OPENSSL_init_crypto or OPENSSL_add_all_algorithms_noconf inside of the libupnp source, am I just missing it? The build does succeed on my end if I add -lcrypto, but I am not sure why it wants it?
I cannot reproduce anymore with recent version in tree. So closing here. All tests passed with USE="test".