=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for drill-1.7.1nb1 ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/usr/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -mieee -I/usr/pkg/include -I/usr/include -c ./buffer.c -o buffer.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/usr/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -mieee -I/usr/pkg/include -I/usr/include -c ./dane.c -o dane.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/usr/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -mieee -I/usr/pkg/include -I/usr/include -c ./dname.c -o dname.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/usr/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -mieee -I/usr/pkg/include -I/usr/include -c ./dnssec.c -o dnssec.lo ./dnssec.c: In function 'ldns_key_buf2dsa_raw': ./dnssec.c:376:2: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 376 | if(!Q || !P || !G || !Y || !(dsa = DSA_new())) { | ^~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec.c:14: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ ./dnssec.c:391:2: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 391 | if (!DSA_set0_pqg(dsa, P, Q, G)) { | ^~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec.c:14: /usr/include/openssl/dsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ ./dnssec.c:397:3: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 397 | DSA_free(dsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec.c:14: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ ./dnssec.c:401:2: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 401 | if (!DSA_set0_key(dsa, Y, NULL)) { | ^~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec.c:14: /usr/include/openssl/dsa.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ ./dnssec.c:403:3: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 403 | DSA_free(dsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec.c:14: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ ./dnssec.c: In function 'ldns_key_buf2rsa_raw': ./dnssec.c:463:2: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 463 | rsa = RSA_new(); | ^~~ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec.c:14: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ ./dnssec.c:475:2: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 475 | if (!RSA_set0_key(rsa, modulus, exponent, NULL)) { | ^~ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec.c:14: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ ./dnssec.c:478:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 478 | RSA_free(rsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec.c:14: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/usr/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -mieee -I/usr/pkg/include -I/usr/include -c ./dnssec_sign.c -o dnssec_sign.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/usr/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -mieee -I/usr/pkg/include -I/usr/include -c ./dnssec_verify.c -o dnssec_verify.lo ./dnssec_sign.c: In function 'ldns_sign_public_dsa': ./dnssec_sign.c:361:2: warning: 'DSA_do_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 361 | sig = DSA_do_sign(sha1_hash, SHA_DIGEST_LENGTH, key); | ^~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_sign.c:3: /usr/include/openssl/dsa.h:113:32: note: declared here 113 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^~~~~~~~~~~ ./dnssec_sign.c: In function 'ldns_pkey_is_ecdsa': ./dnssec_sign.c:420:26: error: 'key' undeclared (first use in this function); did you mean 'pkey'? 420 | if(EVP_PKEY_type(key->type) != EVP_PKEY_EC) | ^~~ | pkey ./dnssec_sign.c:420:26: note: each undeclared identifier is reported only once for each function it appears in ./dnssec_sign.c:423:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 423 | ec = EVP_PKEY_get1_EC_KEY(pkey); | ^~ In file included from /usr/include/openssl/x509.h:28, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_sign.c:3: /usr/include/openssl/evp.h:1376:19: note: declared here 1376 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ./dnssec_sign.c:424:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 424 | g = EC_KEY_get0_group(ec); | ^ In file included from /usr/include/openssl/x509.h:32, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_sign.c:3: /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ ./dnssec_sign.c:426:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 426 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_sign.c:3: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./dnssec_sign.c:430:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 430 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_sign.c:3: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./dnssec_sign.c:434:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 434 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_sign.c:3: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./dnssec_sign.c:438:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 438 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_sign.c:3: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./dnssec_sign.c: In function 'ldns_sign_public_evp': ./dnssec_sign.c:535:23: error: invalid use of incomplete typedef 'EVP_PKEY' {aka 'struct evp_pkey_st'} 535 | if (EVP_PKEY_type(key->type) == EVP_PKEY_DSA) { | ^~ ./dnssec_sign.c:547:20: error: invalid use of incomplete typedef 'EVP_PKEY' {aka 'struct evp_pkey_st'} 547 | EVP_PKEY_type(key->type) | ^~ ./dnssec_sign.c: In function 'ldns_sign_public_rsasha1': ./dnssec_sign.c:591:2: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 591 | result = RSA_sign(NID_sha1, sha1_hash, SHA_DIGEST_LENGTH, | ^~~~~~ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_sign.c:3: /usr/include/openssl/rsa.h:348:27: note: declared here 348 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ ./dnssec_sign.c: In function 'ldns_sign_public_rsamd5': ./dnssec_sign.c:618:2: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 618 | md5_hash = MD5((unsigned char*)ldns_buffer_begin(to_sign), | ^~~~~~~~ In file included from ./dnssec_sign.c:19: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ ./dnssec_sign.c:625:2: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 625 | RSA_sign(NID_md5, md5_hash, MD5_DIGEST_LENGTH, | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:35, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_sign.c:3: /usr/include/openssl/rsa.h:348:27: note: declared here 348 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ gmake: *** [Makefile:122: dnssec_sign.lo] Error 1 gmake: *** Waiting for unfinished jobs.... ./dnssec_verify.c: In function 'ldns_ecdsa2pkey_raw': ./dnssec_verify.c:1944:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1944 | ec = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); | ^~ In file included from /usr/include/openssl/x509.h:32, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./dnssec_verify.c:1947:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1947 | ec = EC_KEY_new_by_curve_name(NID_secp384r1); | ^~ In file included from /usr/include/openssl/x509.h:32, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./dnssec_verify.c:1956:9: warning: 'o2i_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1956 | if(!o2i_ECPublicKey(&ec, &pp, (int)keylen+1)) { | ^~ In file included from /usr/include/openssl/x509.h:32, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/ec.h:1236:31: note: declared here 1236 | OSSL_DEPRECATEDIN_3_0 EC_KEY *o2i_ECPublicKey(EC_KEY **key, | ^~~~~~~~~~~~~~~ ./dnssec_verify.c:1957:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1957 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./dnssec_verify.c:1962:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1962 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./dnssec_verify.c:1965:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1965 | if (!EVP_PKEY_assign_EC_KEY(evp_key, ec)) { | ^~ In file included from /usr/include/openssl/x509.h:28, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/evp.h:1330:5: note: declared here 1330 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ./dnssec_verify.c:1967:3: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1967 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:32, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./dnssec_verify.c: In function 'ldns_verify_rrsig_dsa_raw': ./dnssec_verify.c:2673:2: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2673 | if (EVP_PKEY_assign_DSA(evp_key, ldns_key_buf2dsa_raw(key, keylen))) { | ^~ In file included from /usr/include/openssl/x509.h:28, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/evp.h:1330:5: note: declared here 1330 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ./dnssec_verify.c: In function 'ldns_verify_rrsig_rsasha1_raw': ./dnssec_verify.c:2703:2: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2703 | if (EVP_PKEY_assign_RSA(evp_key, ldns_key_buf2rsa_raw(key, keylen))) { | ^~ In file included from /usr/include/openssl/x509.h:28, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/evp.h:1330:5: note: declared here 1330 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ./dnssec_verify.c: In function 'ldns_verify_rrsig_rsasha256_raw': ./dnssec_verify.c:2729:2: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2729 | if (EVP_PKEY_assign_RSA(evp_key, ldns_key_buf2rsa_raw(key, keylen))) { | ^~ In file included from /usr/include/openssl/x509.h:28, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/evp.h:1330:5: note: declared here 1330 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ./dnssec_verify.c: In function 'ldns_verify_rrsig_rsasha512_raw': ./dnssec_verify.c:2764:2: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2764 | if (EVP_PKEY_assign_RSA(evp_key, ldns_key_buf2rsa_raw(key, keylen))) { | ^~ In file included from /usr/include/openssl/x509.h:28, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/evp.h:1330:5: note: declared here 1330 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ./dnssec_verify.c: In function 'ldns_verify_rrsig_rsamd5_raw': ./dnssec_verify.c:2799:2: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2799 | if (EVP_PKEY_assign_RSA(evp_key, ldns_key_buf2rsa_raw(key, keylen))) { | ^~ In file included from /usr/include/openssl/x509.h:28, from /usr/include/openssl/ssl.h:30, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/evp.h:1330:5: note: declared here 1330 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/net/drill *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/drill