+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ngircd-27nb3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ngircd-27nb3/work.log
===> Building for ngircd-27nb3
--- all-recursive ---
Making all in doc
--- all-recursive ---
--- sample-ngircd.conf ---
  GEN    sample-ngircd.conf
--- all-recursive ---
Making all in src
Making all in src
--- all ---
/opt/local/bin/bmake  all-recursive
--- all-recursive ---
Making all in portab
--- strdup.o ---
--- strlcpy.o ---
--- strndup.o ---
--- strtok_r.o ---
--- strlcpy.o ---
  CC     strlcpy.o
--- strndup.o ---
  CC     strndup.o
--- strtok_r.o ---
  CC     strtok_r.o
--- strdup.o ---
  CC     strdup.o
--- vsnprintf.o ---
--- waitpid.o ---
--- vsnprintf.o ---
  CC     vsnprintf.o
--- waitpid.o ---
  CC     waitpid.o
--- libngportab.a ---
  AR     libngportab.a
Making all in tool
--- tool.o ---
  CC     tool.o
--- libngtool.a ---
  AR     libngtool.a
Making all in ipaddr
--- ng_ipaddr.o ---
  CC     ng_ipaddr.o
--- libngipaddr.a ---
  AR     libngipaddr.a
Making all in ngircd
--- ngircd.o ---
--- array.o ---
--- channel.o ---
--- class.o ---
--- ngircd.o ---
  CC     ngircd.o
--- array.o ---
  CC     array.o
--- channel.o ---
  CC     channel.o
--- class.o ---
  CC     class.o
--- client.o ---
  CC     client.o
--- client-cap.o ---
  CC     client-cap.o
--- conf.o ---
  CC     conf.o
--- conn.o ---
  CC     conn.o
--- conn-encoding.o ---
  CC     conn-encoding.o
--- conn-func.o ---
  CC     conn-func.o
--- conn-ssl.o ---
  CC     conn-ssl.o
conn-ssl.c: In function 'Load_DH_params':
conn-ssl.c:251:9: warning: 'PEM_read_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  251 |         dh_params = PEM_read_DHparams(fp, NULL, NULL, NULL);
      |         ^~~~~~~~~
In file included from /home/pbulk/build/chat/ngircd/work/.buildlink/include/openssl/ssl.h:37,
                 from conf-ssl.h:15,
                 from conn-ssl.c:20:
/home/pbulk/build/chat/ngircd/work/.buildlink/include/openssl/pem.h:74:11: note: declared here
   74 |     type *PEM_##readname##_##name(INTYPE *out, type **x,                \
      |           ^~~~
/home/pbulk/build/chat/ngircd/work/.buildlink/include/openssl/pem.h:238:10: note: in expansion of macro 'PEM_read_cb_fnsig'
  238 |     attr PEM_read_cb_fnsig(name, type, FILE, read);
      |          ^~~~~~~~~~~~~~~~~
/home/pbulk/build/chat/ngircd/work/.buildlink/include/openssl/pem.h:337:5: note: in expansion of macro 'DECLARE_PEM_read_fp_attr'
  337 |     DECLARE_PEM_read_fp_attr(attr, name, type)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/chat/ngircd/work/.buildlink/include/openssl/pem.h:346:5: note: in expansion of macro 'DECLARE_PEM_read_attr'
  346 |     DECLARE_PEM_read_attr(attr, name, type)                                 \
      |     ^~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/chat/ngircd/work/.buildlink/include/openssl/pem.h:473:1: note: in expansion of macro 'DECLARE_PEM_rw_attr'
  473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
      | ^~~~~~~~~~~~~~~~~~~
conn-ssl.c: In function 'ConnSSL_LoadServerKey_openssl':
conn-ssl.c:617:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  617 |                 DH_free(dh_params);
      |                 ^~~~~~~
In file included from /home/pbulk/build/chat/ngircd/work/.buildlink/include/openssl/dsa.h:31,
                 from /home/pbulk/build/chat/ngircd/work/.buildlink/include/openssl/x509.h:37,
                 from /home/pbulk/build/chat/ngircd/work/.buildlink/include/openssl/ssl.h:32:
/home/pbulk/build/chat/ngircd/work/.buildlink/include/openssl/dh.h:211:28: note: declared here
  211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
--- conn-zip.o ---
  CC     conn-zip.o
--- hash.o ---
--- io.o ---
--- hash.o ---
  CC     hash.o
--- io.o ---
  CC     io.o
In file included from io.c:75:
/usr/include/sys/epoll.h:1:2: error: #error "This header has been disabled to stop its functionality from being used."
    1 | #error "This header has been disabled to stop its functionality from being used."
      |  ^~~~~
--- irc.o ---
--- irc-cap.o ---
--- irc.o ---
  CC     irc.o
--- irc-cap.o ---
  CC     irc-cap.o
--- io.o ---
io.c: In function 'io_event_change_epoll':
io.c:462:16: error: variable 'ev' has initializer but incomplete type
  462 |         struct epoll_event ev = { 0, {0} };
      |                ^~~~~~~~~~~
io.c:462:35: warning: excess elements in struct initializer
  462 |         struct epoll_event ev = { 0, {0} };
      |                                   ^
io.c:462:35: note: (near initialization for 'ev')
io.c:462:38: error: extra brace group at end of initializer
  462 |         struct epoll_event ev = { 0, {0} };
      |                                      ^
io.c:462:38: note: (near initialization for 'ev')
io.c:462:38: warning: excess elements in struct initializer
io.c:462:38: note: (near initialization for 'ev')
io.c:462:28: error: storage size of 'ev' isn't known
  462 |         struct epoll_event ev = { 0, {0} };
      |                            ^~
io.c:466:29: error: 'EPOLLIN' undeclared (first use in this function); did you mean 'POLLIN'?
  466 |                 ev.events = EPOLLIN | EPOLLPRI;
      |                             ^~~~~~~
      |                             POLLIN
io.c:466:29: note: each undeclared identifier is reported only once for each function it appears in
io.c:466:39: error: 'EPOLLPRI' undeclared (first use in this function); did you mean 'POLLPRI'?
  466 |                 ev.events = EPOLLIN | EPOLLPRI;
      |                                       ^~~~~~~~
      |                                       POLLPRI
io.c:468:30: error: 'EPOLLOUT' undeclared (first use in this function); did you mean 'POLLOUT'?
  468 |                 ev.events |= EPOLLOUT;
      |                              ^~~~~~~~
      |                              POLLOUT
io.c:470:16: warning: implicit declaration of function 'epoll_ctl' [-Wimplicit-function-declaration]
  470 |         return epoll_ctl(io_masterfd, action, fd, &ev) == 0;
      |                ^~~~~~~~~
io.c:462:28: warning: unused variable 'ev' [-Wunused-variable]
  462 |         struct epoll_event ev = { 0, {0} };
      |                            ^~
io.c: In function 'io_dispatch_epoll':
io.c:478:28: error: array type has incomplete element type 'struct epoll_event'
  478 |         struct epoll_event epoll_ev[MAX_EVENTS];
      |                            ^~~~~~~~
io.c:484:15: warning: implicit declaration of function 'epoll_wait' [-Wimplicit-function-declaration]
  484 |         ret = epoll_wait(io_masterfd, epoll_ev, MAX_EVENTS, timeout);
      |               ^~~~~~~~~~
io.c:488:43: error: 'EPOLLERR' undeclared (first use in this function); did you mean 'POLLERR'?
  488 |                 if (epoll_ev[i].events & (EPOLLERR | EPOLLHUP))
      |                                           ^~~~~~~~
      |                                           POLLERR
io.c:488:54: error: 'EPOLLHUP' undeclared (first use in this function); did you mean 'POLLHUP'?
  488 |                 if (epoll_ev[i].events & (EPOLLERR | EPOLLHUP))
      |                                                      ^~~~~~~~
      |                                                      POLLHUP
io.c:491:43: error: 'EPOLLIN' undeclared (first use in this function); did you mean 'POLLIN'?
  491 |                 if (epoll_ev[i].events & (EPOLLIN | EPOLLPRI))
      |                                           ^~~~~~~
      |                                           POLLIN
io.c:491:53: error: 'EPOLLPRI' undeclared (first use in this function); did you mean 'POLLPRI'?
  491 |                 if (epoll_ev[i].events & (EPOLLIN | EPOLLPRI))
      |                                                     ^~~~~~~~
      |                                                     POLLPRI
io.c:494:42: error: 'EPOLLOUT' undeclared (first use in this function); did you mean 'POLLOUT'?
  494 |                 if (epoll_ev[i].events & EPOLLOUT)
      |                                          ^~~~~~~~
      |                                          POLLOUT
io.c:478:28: warning: unused variable 'epoll_ev' [-Wunused-variable]
  478 |         struct epoll_event epoll_ev[MAX_EVENTS];
      |                            ^~~~~~~~
io.c: In function 'io_library_init_epoll':
io.c:509:23: warning: implicit declaration of function 'epoll_create'; did you mean 'OBJ_create'? [-Wimplicit-function-declaration]
  509 |         io_masterfd = epoll_create(ecreate_hint);
      |                       ^~~~~~~~~~~~
      |                       OBJ_create
io.c: In function 'backend_create_ev':
io.c:709:47: error: 'EPOLL_CTL_ADD' undeclared (first use in this function)
  709 |         ret = io_event_change_epoll(fd, what, EPOLL_CTL_ADD);
      |                                               ^~~~~~~~~~~~~
io.c: In function 'io_event_add':
io.c:769:59: error: 'EPOLL_CTL_MOD' undeclared (first use in this function)
  769 |                 return io_event_change_epoll(fd, i->what, EPOLL_CTL_MOD);
      |                                                           ^~~~~~~~~~~~~
io.c: In function 'io_close':
io.c:844:38: error: 'EPOLL_CTL_DEL' undeclared (first use in this function)
  844 |         io_event_change_epoll(fd, 0, EPOLL_CTL_DEL);
      |                                      ^~~~~~~~~~~~~
--- irc-channel.o ---
--- io.o ---
io.c: In function 'io_event_del':
io.c:874:59: error: 'EPOLL_CTL_MOD' undeclared (first use in this function)
  874 |                 return io_event_change_epoll(fd, i->what, EPOLL_CTL_MOD);
      |                                                           ^~~~~~~~~~~~~
--- irc-channel.o ---
  CC     irc-channel.o
--- io.o ---
*** [io.o] Error code 1

bmake[3]: stopped making "all" in /home/pbulk/build/chat/ngircd/work/ngircd-27/src/ngircd
bmake[3]: 1 error

bmake[3]: stopped making "all" in /home/pbulk/build/chat/ngircd/work/ngircd-27/src/ngircd

bmake[2]: stopped making "all-recursive" in /home/pbulk/build/chat/ngircd/work/ngircd-27/src

bmake[1]: stopped making "all" in /home/pbulk/build/chat/ngircd/work/ngircd-27/src

bmake: stopped making "all" in /home/pbulk/build/chat/ngircd/work/ngircd-27
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-2024Q4-x86_64/chat/ngircd
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-2024Q4-x86_64/chat/ngircd