c++ -c -I../UsageEnvironment/include -I../groupsock/include -I../liveMedia/include -I../BasicUsageEnvironment/include -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DXLOCALE_NOT_USED -fPIC -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common testMP3Streamer.cpp c++ -otestMP3Streamer -lssl -L. -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 testMP3Streamer.o ../liveMedia/libliveMedia.8.so ../groupsock/libgroupsock.8.so ../BasicUsageEnvironment/libBasicUsageEnvironment.8.so ../UsageEnvironment/libUsageEnvironment.8.so ../liveMedia/libliveMedia.8.so: error: undefined reference to EVP_DigestFinal ../liveMedia/libliveMedia.8.so: error: undefined reference to EVP_MD_CTX_new ../liveMedia/libliveMedia.8.so: error: undefined reference to EVP_sha1 ../liveMedia/libliveMedia.8.so: error: undefined reference to EVP_DigestInit ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-abi32+64-20200503-182741 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.0 * clang version 10.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.6 [2] python3.8 (fallback) [3] python3.7 (fallback) [4] python2.7 (fallback) [5] pypy3 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * The following VMs are available for generation-2: *) AdoptOpenJDK 8.252_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.0.2 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Wed 06 May 2020 10:05:15 PM UTC emerge -qpvO media-plugins/live [ebuild N ] media-plugins/live-2020.03.06 USE="ssl -libressl"
Created attachment 636620 [details] emerge-info.txt
Created attachment 636622 [details] emerge-history.txt
Created attachment 636624 [details] environment
Created attachment 636626 [details] etc.portage.tbz2
Created attachment 636628 [details] media-plugins:live-2020.03.06:20200506-221906.log
Created attachment 636630 [details] temp.tbz2
Its missing the -lcrypto in link_opts. The snippet below works but its probably incomplete. e.g. There will need to be a DEPEND on whatever provides crypto. rc_compile() { export suffix="${LIVE_ABI_VERSION}.so" local link_opts="$(usex ssl '-lssl' '') -lcrypto -L. ${LDFLAGS}
(In reply to Roy Bamford from comment #7) > Its missing the -lcrypto in link_opts. The snippet below works > but its probably incomplete. e.g. There will need to be a DEPEND on whatever > provides crypto. > > rc_compile() { > export suffix="${LIVE_ABI_VERSION}.so" > local link_opts="$(usex ssl '-lssl' '') -lcrypto -L. ${LDFLAGS} Yeah, this is my doing, so I'll fix it (=> assigning to myself). I bumped the package and added SSL support while there. The interesting thing is that I managed to build fine without -lcrypto so I left it out, but that was silly in hindsight (most people have --as-needed anyway). We will add it in, with the -lssl within usex.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28a352cb944d7e501836dc886b4b319fd7f2d445 commit 28a352cb944d7e501836dc886b4b319fd7f2d445 Author: Sam James (sam_c) <sam@cmpct.info> AuthorDate: 2020-06-17 02:10:03 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-06-19 15:25:04 +0000 media-plugins/live: link against libcrypto too Closes: https://bugs.gentoo.org/721386 Signed-off-by: Sam James (sam_c) <sam@cmpct.info> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> media-plugins/live/live-2020.03.06.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)