Created attachment 517346 [details] build.log On my system with dev-libs/openssl-1.1.0g-r2, net-dns/unbound-1.6.8 fails to build with the following errors (truncated, see attached build.log for full log): validator/val_secalgo.c: In function ‘setup_dsa_sig’: validator/val_secalgo.c:279:2: error: unknown type name ‘DSA_SIG’; did you mean ‘ECDSA_SIG’? DSA_SIG *dsasig; ^~~~~~~ ECDSA_SIG validator/val_secalgo.c:284:6: warning: implicit declaration of function ‘BN_new’; did you mean ‘BIO_new’? [-Wimplicit-function-declaration] R = BN_new(); ^~~~~~ BIO_new [...] make: *** [Makefile:282: val_secalgo.lo] Error 1 This is likely due to header changes in OpenSSL 1.1.0. I'm attaching a patch which fixes the build. It's only a matter of #include-ing the required headers, which are already checked for by the configure script.
Created attachment 517348 [details, diff] unbound-1.6.8-missing-openssl-1.1.0-headers.patch
This appears to be fixed as of unbound-1.8.0-r1.