+ 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/pen-0.34.1nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pen-0.34.1nb2/work.log
===> Building for pen-0.34.1nb2
--- all ---
/opt/pkg/bin/bmake  all-am
--- pen.o ---
--- select.o ---
--- poll.o ---
--- kqueue.o ---
--- pen.o ---
gcc -DHAVE_CONFIG_H -I.    -I/opt/pkg/include  -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DDEBUGGING -MT pen.o -MD -MP -MF .deps/pen.Tpo -c -o pen.o pen.c
--- select.o ---
gcc -DHAVE_CONFIG_H -I.    -I/opt/pkg/include  -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DDEBUGGING -MT select.o -MD -MP -MF .deps/select.Tpo -c -o select.o select.c
--- poll.o ---
gcc -DHAVE_CONFIG_H -I.    -I/opt/pkg/include  -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DDEBUGGING -MT poll.o -MD -MP -MF .deps/poll.Tpo -c -o poll.o poll.c
--- kqueue.o ---
gcc -DHAVE_CONFIG_H -I.    -I/opt/pkg/include  -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DDEBUGGING -MT kqueue.o -MD -MP -MF .deps/kqueue.Tpo -c -o kqueue.o kqueue.c
mv -f .deps/kqueue.Tpo .deps/kqueue.Po
--- epoll.o ---
gcc -DHAVE_CONFIG_H -I.    -I/opt/pkg/include  -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DDEBUGGING -MT epoll.o -MD -MP -MF .deps/epoll.Tpo -c -o epoll.o epoll.c
--- poll.o ---
mv -f .deps/poll.Tpo .deps/poll.Po
--- dlist.o ---
gcc -DHAVE_CONFIG_H -I.    -I/opt/pkg/include  -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DDEBUGGING -MT dlist.o -MD -MP -MF .deps/dlist.Tpo -c -o dlist.o dlist.c
--- pen.o ---
pen.c:185:12: error: conflicting types for 'accept4'; have 'int(int,  struct sockaddr *, socklen_t *, int)' {aka 'int(int,  struct sockaddr *, unsigned int *, int)'}
  185 | extern int accept4(int, struct sockaddr *, socklen_t *, int);
      |            ^~~~~~~
In file included from /usr/include/netdb.h:79,
                 from pen.c:29:
/usr/include/sys/socket.h:548:12: note: previous declaration of 'accept4' with type 'int(int,  struct sockaddr * restrict,  void *, int)'
  548 | extern int accept4(int, struct sockaddr *_RESTRICT_KYWD, Psocklen_t, int);
      |            ^~~~~~~
--- dlist.o ---
mv -f .deps/dlist.Tpo .deps/dlist.Po
--- ssl.o ---
gcc -DHAVE_CONFIG_H -I.    -I/opt/pkg/include  -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DDEBUGGING -MT ssl.o -MD -MP -MF .deps/ssl.Tpo -c -o ssl.o ssl.c
--- pen.o ---
pen.c: In function 'add_client':
pen.c:1738:24: warning: unused variable 'one' [-Wunused-variable]
 1738 |                 int n, one = 1;
      |                        ^~~
*** [pen.o] Error code 1

bmake[1]: stopped making "all-am" in /home/pbulk/build/net/pen/work/pen-0.34.1
--- select.o ---
mv -f .deps/select.Tpo .deps/select.Po
--- ssl.o ---
ssl.c: In function 'ssl_temp_rsa_cb':
ssl.c:81:17: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   81 |                 RSA *rsa = RSA_new();
      |                 ^~~
In file included from /home/pbulk/build/net/pen/work/.buildlink/include/openssl/x509.h:36,
                 from /home/pbulk/build/net/pen/work/.buildlink/include/openssl/ssl.h:32,
                 from ssl.h:2,
                 from ssl.c:14:
/home/pbulk/build/net/pen/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here
  212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
ssl.c:86:21: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   86 |                     !RSA_generate_key_ex(rsa, 512, bn, NULL)) {
      |                     ^
/home/pbulk/build/net/pen/work/.buildlink/include/openssl/rsa.h:271:27: note: declared here
  271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
ssl.c:88:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   88 |                         RSA_free(rsa); rsa = NULL;
      |                         ^~~~~~~~
/home/pbulk/build/net/pen/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
ssl.c: In function 'ssl_create_context':
ssl.c:387:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  387 |         EC_KEY *ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
      |         ^~~~~~
In file included from /home/pbulk/build/net/pen/work/.buildlink/include/openssl/x509.h:33:
/home/pbulk/build/net/pen/work/.buildlink/include/openssl/ec.h:1017:31: note: declared here
 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
ssl.c:396:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  396 |                 EC_KEY_free(ecdh);
      |                 ^~~~~~~~~~~
/home/pbulk/build/net/pen/work/.buildlink/include/openssl/ec.h:1022:28: note: declared here
 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
--- epoll.o ---
mv -f .deps/epoll.Tpo .deps/epoll.Po
--- ssl.o ---
mv -f .deps/ssl.Tpo .deps/ssl.Po
bmake[1]: 1 error

bmake[1]: stopped making "all-am" in /home/pbulk/build/net/pen/work/pen-0.34.1

bmake: stopped making "all" in /home/pbulk/build/net/pen/work/pen-0.34.1
*** Error code 2

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

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