+ 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/uacme-1.7.5nb5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/uacme-1.7.5nb5/work.log
===> Building for uacme-1.7.5nb5
echo UNKNOWN > .version-t && mv .version-t .version
/opt/pkg/bin/gmake  all-am
gmake[1]: Entering directory '/home/pbulk/build/security/uacme/work/uacme-1.7.5'
  CC       uacme-uacme.o
  CC       uacme-base64.o
  CC       uacme-crypto.o
  CC       uacme-curlwrap.o
crypto.c: In function 'openssl_hmac_fast':
crypto.c:177:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  177 |     HMAC_CTX *hmac = HMAC_CTX_new();
      |     ^~~~~~~~
In file included from crypto.c:63:
/home/pbulk/build/security/uacme/work/.buildlink/include/openssl/hmac.h:33:33: note: declared here
   33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
      |                                 ^~~~~~~~~~~~
crypto.c:182:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  182 |     if (!HMAC_Init_ex(hmac, key, keylen, type, NULL)) {
      |     ^~
/home/pbulk/build/security/uacme/work/.buildlink/include/openssl/hmac.h:43:27: note: declared here
   43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
      |                           ^~~~~~~~~~~~
crypto.c:186:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  186 |     if (!HMAC_Update(hmac, input, len)) {
      |     ^~
/home/pbulk/build/security/uacme/work/.buildlink/include/openssl/hmac.h:45:27: note: declared here
   45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
      |                           ^~~~~~~~~~~
crypto.c:190:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  190 |     if (!HMAC_Final(hmac, output, NULL)) {
      |     ^~
/home/pbulk/build/security/uacme/work/.buildlink/include/openssl/hmac.h:47:27: note: declared here
   47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
      |                           ^~~~~~~~~~
crypto.c:197:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  197 |         HMAC_CTX_free(hmac);
      |         ^~~~~~~~~~~~~
/home/pbulk/build/security/uacme/work/.buildlink/include/openssl/hmac.h:35:28: note: declared here
   35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
      |                            ^~~~~~~~~~~~~
crypto.c: In function 'rsa_params':
crypto.c:561:5: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  561 |     RSA *rsa = EVP_PKEY_get0_RSA(key);
      |     ^~~
In file included from crypto.h:39,
                 from crypto.c:39:
/home/pbulk/build/security/uacme/work/.buildlink/include/openssl/evp.h:1363:22: note: declared here
 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
crypto.c:561:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  561 |     RSA *rsa = EVP_PKEY_get0_RSA(key);
      |                ^~~~~~~~~~~~~~~~~
crypto.c:566:5: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  566 |     RSA_get0_key(rsa, &bm, &be, NULL);
      |     ^~~~~~~~~~~~
In file included from /home/pbulk/build/security/uacme/work/.buildlink/include/openssl/engine.h:25,
                 from crypto.c:60:
/home/pbulk/build/security/uacme/work/.buildlink/include/openssl/rsa.h:228:28: note: declared here
  228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
crypto.c: In function 'ec_params':
crypto.c:731:5: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  731 |     EC_KEY *ec = EVP_PKEY_get0_EC_KEY(key);
      |     ^~~~~~
/home/pbulk/build/security/uacme/work/.buildlink/include/openssl/evp.h:1389:25: note: declared here
 1389 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
crypto.c:731:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  731 |     EC_KEY *ec = EVP_PKEY_get0_EC_KEY(key);
      |                  ^~~~~~~~~~~~~~~~~~~~
crypto.c:736:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  736 |     const EC_GROUP *g = EC_KEY_get0_group(ec);
      |     ^~~~~
In file included from /home/pbulk/build/security/uacme/work/.buildlink/include/openssl/engine.h:28:
/home/pbulk/build/security/uacme/work/.buildlink/include/openssl/ec.h:1053:39: note: declared here
 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
crypto.c:754:5: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  754 |     const EC_POINT *pubkey = EC_KEY_get0_public_key(ec);
      |     ^~~~~
/home/pbulk/build/security/uacme/work/.buildlink/include/openssl/ec.h:1081:39: note: declared here
 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
  CC       uacme-json.o
  CC       uacme-msg.o
  CC       ualpn-ualpn.o
  CC       ualpn-base64.o
ualpn.c: In function 'buf_readv':
ualpn.c:492:25: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign]
  492 |         iov[0].iov_base = b->data + b->wp;
      |                         ^
ualpn.c:494:25: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign]
  494 |         iov[1].iov_base = b->data;
      |                         ^
ualpn.c: In function 'buf_writev':
ualpn.c:515:25: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign]
  515 |         iov[0].iov_base = b->data + b->rp;
      |                         ^
ualpn.c:517:25: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign]
  517 |         iov[1].iov_base = b->data;
      |                         ^
ualpn.c: In function 'auth_crt':
ualpn.c:836:5: warning: 'BN_pseudo_rand' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  836 |     if (!bn || !BN_pseudo_rand(bn, 127, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY)) {
      |     ^~
In file included from ualpn.c:59:
/home/pbulk/build/security/uacme/work/.buildlink/include/openssl/bn.h:231:5: note: declared here
  231 | int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom);
      |     ^~~~~~~~~~~~~~
ualpn.c: In function 'cb_client_accept':
ualpn.c:3148:14: warning: implicit declaration of function 'CMSG_SPACE' [-Wimplicit-function-declaration]
 3148 |     char buf[CMSG_SPACE(sizeof(fd))];
      |              ^~~~~~~~~~
ualpn.c:3149:38: warning: initialization of 'char *' from incompatible pointer type 'uaddr_t *' {aka 'struct addr *'} [-Wincompatible-pointer-types]
 3149 |     struct iovec iov = { .iov_base = addr, .iov_len = sizeof(addr) };
      |                                      ^~~~
ualpn.c:3149:38: note: (near initialization for 'iov.iov_base')
ualpn.c:3203:8: error: 'struct msghdr' has no member named 'msg_control'
 3203 |     msg.msg_control = buf;
      |        ^
ualpn.c:3204:8: error: 'struct msghdr' has no member named 'msg_controllen'
 3204 |     msg.msg_controllen = sizeof(buf);
      |        ^
ualpn.c:3205:12: warning: implicit declaration of function 'CMSG_FIRSTHDR' [-Wimplicit-function-declaration]
 3205 |     cmsg = CMSG_FIRSTHDR(&msg);
      |            ^~~~~~~~~~~~~
ualpn.c:3205:10: warning: assignment to 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 3205 |     cmsg = CMSG_FIRSTHDR(&msg);
      |          ^
ualpn.c:3208:22: warning: implicit declaration of function 'CMSG_LEN' [-Wimplicit-function-declaration]
 3208 |     cmsg->cmsg_len = CMSG_LEN(sizeof(fd));
      |                      ^~~~~~~~
ualpn.c:3209:12: warning: implicit declaration of function 'CMSG_DATA' [-Wimplicit-function-declaration]
 3209 |     memcpy(CMSG_DATA(cmsg), &fd, sizeof(fd));
      |            ^~~~~~~~~
ualpn.c:3209:12: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
 3209 |     memcpy(CMSG_DATA(cmsg), &fd, sizeof(fd));
      |            ^~~~~~~~~~~~~~~
      |            |
      |            int
In file included from /usr/include/string.h:34,
                 from ualpn.c:41:
/usr/include/iso/string_iso.h:70:21: note: expected 'void * restrict' but argument is of type 'int'
   70 | extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t);
      |                     ^
ualpn.c:3210:8: error: 'struct msghdr' has no member named 'msg_controllen'
 3210 |     msg.msg_controllen = cmsg->cmsg_len;
      |        ^
ualpn.c: In function 'client_new':
ualpn.c:3348:32: warning: conversion from 'unsigned int' to 'unsigned char' changes value from '4294967295' to '255' [-Woverflow]
 3348 |             .addr = { .v4 = { {INADDR_NONE}, {INADDR_NONE}, 0, 0 } }
      |                                ^~~~~~~~~~~
ualpn.c:3343:15: warning: missing braces around initializer [-Wmissing-braces]
 3343 |     } proxy = {
      |               ^
ualpn.c:3348:47: warning: conversion from 'unsigned int' to 'unsigned char' changes value from '4294967295' to '255' [-Woverflow]
 3348 |             .addr = { .v4 = { {INADDR_NONE}, {INADDR_NONE}, 0, 0 } }
      |                                               ^~~~~~~~~~~
ualpn.c:3343:15: warning: missing braces around initializer [-Wmissing-braces]
 3343 |     } proxy = {
      |               ^
ualpn.c:3343:15: warning: missing braces around initializer [-Wmissing-braces]
ualpn.c:3343:15: warning: missing braces around initializer [-Wmissing-braces]
ualpn.c:3343:15: warning: missing braces around initializer [-Wmissing-braces]
ualpn.c:3343:15: warning: missing braces around initializer [-Wmissing-braces]
ualpn.c: In function 'cb_worker_io':
ualpn.c:3553:38: warning: initialization of 'char *' from incompatible pointer type 'uaddr_t *' {aka 'struct addr *'} [-Wincompatible-pointer-types]
 3553 |     struct iovec iov = { .iov_base = addr, .iov_len = sizeof(addr) };
      |                                      ^~~~
ualpn.c:3553:38: note: (near initialization for 'iov.iov_base')
ualpn.c:3561:8: error: 'struct msghdr' has no member named 'msg_control'
 3561 |     msg.msg_control = buf;
      |        ^
ualpn.c:3562:8: error: 'struct msghdr' has no member named 'msg_controllen'
 3562 |     msg.msg_controllen = sizeof(buf);
      |        ^
ualpn.c:3575:14: warning: assignment to 'struct cmsghdr *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 3575 |         cmsg = CMSG_FIRSTHDR(&msg);
      |              ^
ualpn.c:3577:32: warning: comparison of integer expressions of different signedness: 'socklen_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
 3577 |             if (cmsg->cmsg_len != CMSG_LEN(sizeof(int)) ||
      |                                ^~
ualpn.c:3583:25: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [-Wint-conversion]
 3583 |             memcpy(&fd, CMSG_DATA(cmsg), sizeof(int));
      |                         ^~~~~~~~~~~~~~~
      |                         |
      |                         int
/usr/include/iso/string_iso.h:70:43: note: expected 'const void * restrict' but argument is of type 'int'
   70 | extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t);
      |                                           ^
gmake[1]: *** [Makefile:734: ualpn-ualpn.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/home/pbulk/build/security/uacme/work/uacme-1.7.5'
gmake: *** [Makefile:440: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/uacme
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/uacme