/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: auth.o: in function `auth_hash_init': auth.c:(.text+0x428): undefined reference to `EVP_sha3_256' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: auth.o: in function `acl_init_chap_digests': auth.c:(.text+0x2632): undefined reference to `EVP_sha3_256' collect2: error: ld returned 1 exit status ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-libressl-20191115-001559 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.0 (tags/RELEASE_900/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.0 Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sat, 16 Nov 2019 01:06:10 +0000 emerge -qpvO sys-block/open-iscsi [ebuild N ] sys-block/open-iscsi-2.1.0 USE="libressl tcp -debug -infiniband -rdma -systemd"
Created attachment 596320 [details] emerge-info.txt
Created attachment 596322 [details] emerge-history.txt
Created attachment 596324 [details] environment
Created attachment 596326 [details] etc.portage.tbz2
Created attachment 596328 [details] logs.tbz2
Created attachment 596330 [details] sys-block:open-iscsi-2.1.0:20191116-023501.log
Created attachment 596332 [details] temp.tbz2
Created attachment 601022 [details, diff] libressl compatibility patch As the undefined reference seems to be related to differences in the APIs of openssl/libressl, I tried the very basic approach of ifdef-masking the affected lines of code in this patch. The code compiles but execution is untested as I currently don't have access to a working iSCSI setup. Maybe the inverse approach of testing against a specific openssl version number would be more robust and/or elegant, but unfortunately I'm not familiar with the different API versions.
*** Bug 715134 has been marked as a duplicate of this bug. ***
Created attachment 639650 [details, diff] libressl compatibility patch Updated patch for open-iscsi version 2.1.1. Still not tested.