Created attachment 553544 [details] emerge --info on the package. MAKEOPTS="-j1" emerge -av1 spice-gtk These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ~] net-misc/spice-gtk-0.35::gentoo USE="dbus gtk3 introspection libressl lz4 policykit pulseaudio usbredir -gstaudio -gstvideo -mjpeg -sasl -smartcard -static-libs -vala -webdav" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] y ---------------------- ssl_verify.c:37:29: error: static declaration of ‘ASN1_STRING_get0_data’ follows non-static declaration static const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1) ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/rsa.h:64:0, from ssl_verify.h:31, from ssl_verify.c:24: /usr/include/openssl/asn1.h:788:22: note: previous declaration of ‘ASN1_STRING_get0_data’ was here const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x); ^~~~~~~~~~~~~~~~~~~~~ make[5]: *** [Makefile:568: ssl_verify.lo] Error 1 make[5]: Leaving directory '/var/tmp/portage/net-misc/spice-gtk-0.35/work/spice-gtk-0.35/spice-common/common' make[4]: *** [Makefile:468: all] Error 2 make[4]: Leaving directory '/var/tmp/portage/net-misc/spice-gtk-0.35/work/spice-gtk-0.35/spice-common/common' make[3]: *** [Makefile:459: all-recursive] Error 1 make[3]: Leaving directory '/var/tmp/portage/net-misc/spice-gtk-0.35/work/spice-gtk-0.35/spice-common' make[2]: *** [Makefile:391: all] Error 2 make[2]: Leaving directory '/var/tmp/portage/net-misc/spice-gtk-0.35/work/spice-gtk-0.35/spice-common' make[1]: *** [Makefile:621: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/spice-gtk-0.35/work/spice-gtk-0.35' make: *** [Makefile:528: all] Error 2 * ERROR: net-misc/spice-gtk-0.35::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/spice-gtk-0.35::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/spice-gtk-0.35::gentoo'`. * The complete build log is located at '/usr/portage/logs/net-misc:spice-gtk-0.35:20181028-191040.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/spice-gtk-0.35/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/spice-gtk-0.35/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/spice-gtk-0.35/work/spice-gtk-0.35' * S: '/var/tmp/portage/net-misc/spice-gtk-0.35/work/spice-gtk-0.35' >>> Failed to emerge net-misc/spice-gtk-0.35, Log file: >>> '/usr/portage/logs/net-misc:spice-gtk-0.35:20181028-191040.log'
Created attachment 553546 [details] Build Log.
Turns out that OpenSSL declares heaps of the codebase as static, while LibreSSL (at least, v2.7.4, as I'm using) does not in many cases. Wrote a quick patch to address this.
Created attachment 553574 [details, diff] patch to change static declarations to dynamic, assuring compatibility with LibreSSL 2.7.4 Note that we're using LibreSSL 2.7.4 - I'm not certain if this is much of what's making that particular unmask a challenge, but I do enjoy finding out.
https://bugs.gentoo.org/664512 Better solution.
*** This bug has been marked as a duplicate of bug 664512 ***