+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/drill-1.7.1nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/drill-1.7.1nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for drill-1.7.1nb1
./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/opt/pkg/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/opt/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -c ./buffer.c -o buffer.lo
./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/opt/pkg/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/opt/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -c ./dane.c -o dane.lo
./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/opt/pkg/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/opt/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -c ./dname.c -o dname.lo
./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/opt/pkg/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/opt/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -c ./dnssec.c -o dnssec.lo
./dnssec.c: In function 'ldns_key_buf2dsa_raw':
./dnssec.c:376:9: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  376 |         if(!Q || !P || !G || !Y || !(dsa = DSA_new())) {
      |         ^~
In file included from /home/pbulk/build/net/drill/work/.buildlink/include/openssl/x509.h:37,
                 from /home/pbulk/build/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec.c:14:
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/dsa.h:130:28: note: declared here
  130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
./dnssec.c:391:9: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  391 |         if (!DSA_set0_pqg(dsa, P, Q, G)) {
      |         ^~
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/dsa.h:208:27: note: declared here
  208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~~
./dnssec.c:397:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  397 |                 DSA_free(dsa);
      |                 ^~~~~~~~
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
./dnssec.c:401:9: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  401 |         if (!DSA_set0_key(dsa, Y, NULL)) {
      |         ^~
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/dsa.h:211:27: note: declared here
  211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key,
      |                           ^~~~~~~~~~~~
./dnssec.c:403:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  403 |                 DSA_free(dsa);
      |                 ^~~~~~~~
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
./dnssec.c: In function 'ldns_key_buf2rsa_raw':
./dnssec.c:463:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  463 |         rsa = RSA_new();
      |         ^~~
In file included from /home/pbulk/build/net/drill/work/.buildlink/include/openssl/x509.h:36:
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/rsa.h:207:28: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
./dnssec.c:475:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  475 |         if (!RSA_set0_key(rsa, modulus, exponent, NULL)) {
      |         ^~
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/rsa.h:213:27: note: declared here
  213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
./dnssec.c:478:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  478 |                 RSA_free(rsa);
      |                 ^~~~~~~~
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/rsa.h:299:28: note: declared here
  299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/opt/pkg/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/opt/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -c ./dnssec_sign.c -o dnssec_sign.lo
./dnssec_sign.c: In function 'ldns_sign_public_dsa':
./dnssec_sign.c:361:9: 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 /home/pbulk/build/net/drill/work/.buildlink/include/openssl/x509.h:37,
                 from /home/pbulk/build/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_sign.c:3:
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/dsa.h:118:32: note: declared here
  118 | 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 /home/pbulk/build/net/drill/work/.buildlink/include/openssl/x509.h:29:
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/evp.h:1379:19: note: declared here
 1379 | 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 /home/pbulk/build/net/drill/work/.buildlink/include/openssl/x509.h:33:
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/ec.h:1037:39: note: declared here
 1037 | 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);
      |                 ^~~~~~~~~~~
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/ec.h:1006:28: note: declared here
 1006 | 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);
      |                 ^~~~~~~~~~~
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/ec.h:1006:28: note: declared here
 1006 | 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);
      |                 ^~~~~~~~~~~
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/ec.h:1006:28: note: declared here
 1006 | 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);
      |         ^~~~~~~~~~~
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/ec.h:1006:28: note: declared here
 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
./dnssec_sign.c: In function 'ldns_sign_public_evp':
./dnssec_sign.c:535:30: 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:34: 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:9: 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 /home/pbulk/build/net/drill/work/.buildlink/include/openssl/x509.h:36:
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/rsa.h:354:27: note: declared here
  354 | 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:9: 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:
/home/pbulk/build/net/drill/work/.buildlink/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:9: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  625 |         RSA_sign(NID_md5, md5_hash, MD5_DIGEST_LENGTH,
      |         ^~~~~~~~
/home/pbulk/build/net/drill/work/.buildlink/include/openssl/rsa.h:354:27: note: declared here
  354 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m,
      |                           ^~~~~~~~
gmake: *** [Makefile:122: dnssec_sign.lo] Error 1
*** Error code 2

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

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