Created attachment 615346 [details] build log of emerge of openssh-8.2_p1-r2 openssh-8.2_p1-r2 fails to build when the xmss USE flag is enabled and the ssl and libressl USE flag is disabled: USE="-X509 -libressl -ssl xmss" emerge "=openssh-8.2_p1-r2" USE="-X509 -libressl -ssl xmss" emerge "=openssh-8.1_p1-r2" x86_64-pc-linux-gnu-gcc -o ssh-add ssh-add.o ssh-sk-client.o -L. -Lopenbsd-compat/ -Wl,-O1 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -fstack-protector-strong -Wl,-O1 -Wl,--as-needed -lssh -lopenbsd-compat -ldl -lutil -lz -lcrypt -lresolv ./libssh.a(xmss_hash.o):xmss_hash.c:function core_hash_SHA2: error: undefined reference to 'SHA256' ./libssh.a(xmss_hash.o):xmss_hash.c:function core_hash_SHA2: error: undefined reference to 'SHA512' collect2: error: ld returned 1 exit status make: *** [Makefile:209: ssh] Error 1 make: *** Waiting for unfinished jobs.... ./libssh.a(xmss_hash.o):xmss_hash.c:function core_hash_SHA2: error: undefined reference to 'SHA256' ./libssh.a(xmss_hash.o):xmss_hash.c:function core_hash_SHA2: error: undefined reference to 'SHA512' collect2: error: ld returned 1 exit status make: *** [Makefile:218: ssh-add] Error 1 ./libssh.a(xmss_hash.o):xmss_hash.c:function core_hash_SHA2: error: undefined reference to 'SHA256' ./libssh.a(xmss_hash.o):xmss_hash.c:function core_hash_SHA2: error: undefined reference to 'SHA512' collect2: error: ld returned 1 exit status make: *** [Makefile:212: sshd] Error 1 It doesn't work with openssh-8.0_p1-r4 either, albeit with a different error USE="-X509 -libressl -ssl xmss" emerge "=openssh-8.0_p1-r4" x86_64-pc-linux-gnu-ranlib libopenbsd-compat.a make[1]: Leaving directory '/var/tmp/portage/net-misc/openssh-8.0_p1-r4/work/openssh-8.0p1/openbsd-compat' * ERROR: net-misc/openssh-8.0_p1-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/openssh-8.0_p1-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/openssh-8.0_p1-r4::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-misc/openssh-8.0_p1-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/openssh-8.0_p1-r4/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/openssh-8.0_p1-r4/work/openssh-8.0p1' * S: '/var/tmp/portage/net-misc/openssh-8.0_p1-r4/work/openssh-8.0p1'
Created attachment 615348 [details] emerge.info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79916211d8e6990c65b1b79dbcd5e2ac07c6c164 commit 79916211d8e6990c65b1b79dbcd5e2ac07c6c164 Author: Patrick McLean <chutzpah@gentoo.org> AuthorDate: 2020-02-23 21:18:45 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2020-02-23 21:18:45 +0000 net-misc/openssh-8.2_p1-r3: revbump, X509 12.4.2, RQUIRED_USE for bug #710586 - bump X509 patch to 12.4.2 - add `!xmss` to X509? REQUIRED_USE as it causes test failures - Add `xmss? ( || ( ssl libressl ) )` to REQUIRED_USE for bug #710586. Closes: https://bugs.gentoo.org/710586 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> net-misc/openssh/Manifest | 2 +- ...atch => openssh-8.2_p1-X509-12.4.2-tests.patch} | 0 ...patch => openssh-8.2_p1-X509-glue-12.4.2.patch} | 38 +++++++++++----------- ...h-8.2_p1-r2.ebuild => openssh-8.2_p1-r3.ebuild} | 5 +-- 4 files changed, 23 insertions(+), 22 deletions(-)