Created attachment 519154 [details] build.log Against dev-libs/libressl-2.6.4, app-emulation/spice-0.14.0 does not build: reds.c: In function ‘openssl_global_init’: reds.c:2819:5: warning: implicit declaration of function ‘OPENSSL_init_ssl’; did you mean ‘OPENSSL_init’? [-Wimplicit-function-declaration] OPENSSL_init_ssl(0, NULL); ^~~~~~~~~~~~~~~~ OPENSSL_init reds.c:2819:5: warning: nested extern declaration of ‘OPENSSL_init_ssl’ [-Wnested-externs] ... /var/tmp/portage/app-emulation/spice-0.14.0/work/spice-0.14.0/server/reds.c:2819: undefined reference to `OPENSSL_init_ssl' collect2: error: ld returned 1 exit status The problem is introduced by spice-0.14.0-openssl1.1_fix.patch, which adds a call to OPENSSL_init_ssl guarded by "OPENSSL_VERSION_NUMBER >= 0x10100000L". libressl does not provide this function (even though it does set a high enough OPENSSL_VERSION_NUMBER). Adding "&& !defined (LIBRESSL_VERSION_NUMBER)" makes it build. This fix is similar to the one for bug 630142 (same package, different function) or bug 635890 (different package, same function).
Created attachment 519156 [details] emerge --info
*** Bug 647430 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c14f48ba37c89f812338df4e44725e4413df2de commit 0c14f48ba37c89f812338df4e44725e4413df2de Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2018-03-19 15:40:26 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2018-03-19 15:40:26 +0000 app-emulation/spice: Update patch Thanks for the bug report and the suggested fix! Closes: https://bugs.gentoo.org/647406 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-emulation/spice/files/spice-0.14.0-openssl1.1_fix.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)