+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/drill-1.7.1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/drill-1.7.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for drill-1.7.1
./libtool --tag=CC --quiet --mode=compile cc -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 -pipe -O2 -I/usr/pkg/include -I/usr/include  -c ./buffer.c -o buffer.lo
./libtool --tag=CC --quiet --mode=compile cc -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 -pipe -O2 -I/usr/pkg/include -I/usr/include  -c ./dane.c -o dane.lo
./libtool --tag=CC --quiet --mode=compile cc -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 -pipe -O2 -I/usr/pkg/include -I/usr/include  -c ./dname.c -o dname.lo
./libtool --tag=CC --quiet --mode=compile cc -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 -pipe -O2 -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 cc -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 -pipe -O2 -I/usr/pkg/include -I/usr/include  -c ./dnssec_sign.c -o dnssec_sign.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: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,
      |                           ^~~~~~~~
gmake: *** [Makefile:122: dnssec_sign.lo] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/net/drill
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/net/drill