=> 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.1 ./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 -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 -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 -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 -I/usr/pkg/include -I/usr/include -c ./dnssec.c -o dnssec.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 -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 -I/usr/pkg/include -I/usr/include -c ./dnssec_verify.c -o dnssec_verify.lo ./dnssec.c: In function 'ldns_key_buf2dsa_raw': ./dnssec.c:376:2: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 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:58: 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] 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:57: 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] 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:58: 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] 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:57: 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] 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:58: 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] 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:58: 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] 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:57: 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] 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:58: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^ distcc[13301] ERROR: compile ./dnssec_sign.c on 10.0.20.122:3660 failed distcc[13301] (dcc_build_somewhere) Warning: remote compilation of './dnssec_sign.c' failed, retrying locally distcc[13301] Warning: failed to distribute ./dnssec_sign.c to 10.0.20.122:3660, running locally instead ./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] 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:61: 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] 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:61: 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] 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:61: 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] 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:58: 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] 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:58: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^ ./dnssec_verify.c:1967:3: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 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:58: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^ ./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:1374:19: note: declared here 1374 | 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, | ^~~~~~~~ distcc[13301] ERROR: compile ./dnssec_sign.c on localhost failed gmake: *** [Makefile:122: dnssec_sign.lo] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/net/drill *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/drill