+ 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/ntp-4.2.8p15nb4/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ntp-4.2.8p15nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for ntp-4.2.8p15nb4
Compiling with GCC now generates lots of new warnings.
 
Don't be concerned. They're just warnings.
 
Don't send bug reports about the warnings, either.
 
Feel free to send patches that fix these warnings, though.
 
cd ./html &&  ../scripts/build/checkHtmlFileDates
cd . &&  ./scripts/build/checkChangeLog
/opt/local/bin/bmake  all-recursive
Making all in scripts
Making all in build
Making all in calc_tickadj
/opt/local/bin/bmake  all-am
../../config.status --file=calc_tickadj.8+:./calc_tickadj.man.in
config.status: creating calc_tickadj.8+
mv calc_tickadj.8+ calc_tickadj.8
Making all in ntp-wait
../../config.status --file=ntp-wait.8+:./ntp-wait.man.in
config.status: creating ntp-wait.8+
mv ntp-wait.8+ ntp-wait.8
Making all in ntpsweep
../../config.status --file=ntpsweep.1+:./ntpsweep.man.in
config.status: creating ntpsweep.1+
mv ntpsweep.1+ ntpsweep.1
Making all in ntptrace
../../config.status --file=ntptrace.8+:./ntptrace.man.in
config.status: creating ntptrace.8+
mv ntptrace.8+ ntptrace.8
Making all in lib
Making all in update-leap
../../config.status --file=update-leap.+:./update-leap.man.in
config.status: creating update-leap.+
mv update-leap.+ update-leap.
Making all in include
Making all in isc
Making all in libntp
cp ../deps-ver .deps/deps-ver
/opt/local/bin/bmake  all-am
  CC       systime.o
  CC       a_md5encrypt.o
a_md5encrypt.c: In function 'cmac_ctx_size':
a_md5encrypt.c:34:17: warning: 'CMAC_CTX_get0_cipher_ctx' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   34 |                 if (NULL != (cctx = CMAC_CTX_get0_cipher_ctx (ctx)))
      |                 ^~
In file included from ../include/ntp_md5.h:13,
                 from a_md5encrypt.c:12:
/home/pbulk/build/net/ntp4/work/.buildlink/include/openssl/cmac.h:35:39: note: declared here
   35 | OSSL_DEPRECATEDIN_3_0 EVP_CIPHER_CTX *CMAC_CTX_get0_cipher_ctx(CMAC_CTX *ctx);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~
a_md5encrypt.c: In function 'make_mac':
a_md5encrypt.c:74:17: warning: 'CMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   74 |                 if (NULL == (ctx = CMAC_CTX_new())) {
      |                 ^~
/home/pbulk/build/net/ntp4/work/.buildlink/include/openssl/cmac.h:32:33: note: declared here
   32 | OSSL_DEPRECATEDIN_3_0 CMAC_CTX *CMAC_CTX_new(void);
      |                                 ^~~~~~~~~~~~
a_md5encrypt.c:78:17: warning: 'CMAC_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   78 |                 if (!CMAC_Init(ctx, keyptr, AES_128_KEY_SIZE, EVP_aes_128_cbc(), NULL)) {
      |                 ^~
/home/pbulk/build/net/ntp4/work/.buildlink/include/openssl/cmac.h:37:27: note: declared here
   37 | OSSL_DEPRECATEDIN_3_0 int CMAC_Init(CMAC_CTX *ctx,
      |                           ^~~~~~~~~
a_md5encrypt.c:86:17: warning: 'CMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   86 |                 if (!CMAC_Update(ctx, msg->buf, msg->len)) {
      |                 ^~
/home/pbulk/build/net/ntp4/work/.buildlink/include/openssl/cmac.h:40:27: note: declared here
   40 | OSSL_DEPRECATEDIN_3_0 int CMAC_Update(CMAC_CTX *ctx,
      |                           ^~~~~~~~~~~
a_md5encrypt.c:90:17: warning: 'CMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   90 |                 if (!CMAC_Final(ctx, digest->buf, &retlen)) {
      |                 ^~
/home/pbulk/build/net/ntp4/work/.buildlink/include/openssl/cmac.h:42:27: note: declared here
   42 | OSSL_DEPRECATEDIN_3_0 int CMAC_Final(CMAC_CTX *ctx,
      |                           ^~~~~~~~~~
a_md5encrypt.c:96:25: warning: 'CMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   96 |                         CMAC_CTX_free(ctx);
      |                         ^~~~~~~~~~~~~
/home/pbulk/build/net/ntp4/work/.buildlink/include/openssl/cmac.h:34:28: note: declared here
   34 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_free(CMAC_CTX *ctx);
      |                            ^~~~~~~~~~~~~
  CC       adjtime.o
  CC       atoint.o
  CC       atolfp.o
  CC       atouint.o
  CC       audio.o
audio.c: In function 'audio_config_read':
audio.c:136:14: warning: declaration of 'device' shadows a global declaration [-Wshadow]
  136 |         char device[20], line[100], ab[100];
      |              ^~~~~~
audio.c:66:28: note: shadowed declaration is here
   66 | static struct audio_device device; /* audio device ident */
      |                            ^~~~~~
audio.c: At top level:
audio.c:66:28: warning: 'device' defined but not used [-Wunused-variable]
  CC       authkeys.o
  CC       authreadkeys.o
  CC       authusekey.o
  CC       bsd_strerror.o
  CC       buftvtots.o
  CC       caljulian.o
  CC       caltontp.o
  CC       calyearstart.o
  CC       clocktime.o
  CC       clocktypes.o
  CC       decodenetnum.o
  CC       dofptoa.o
  CC       dolfptoa.o
  CC       emalloc.o
  CC       findconfig.o
  CC       getopt.o
  CC       hextoint.o
  CC       hextolfp.o
  CC       humandate.o
  CC       icom.o
  CC       iosignal.o
  CC       is_ip_address.o
  CC       lib_strbuf.o
  CC       libssl_compat.o
  CC       machines.o
  CC       mktime.o
  CC       modetoa.o
  CC       mstolfp.o
  CC       msyslog.o
  CC       netof.o
  CC       ntp_calendar.o
  CC       ntp_calgps.o
  CC       ntp_crypto_rnd.o
  CC       ntp_intres.o
  CC       ntp_libopts.o
  CC       ntp_lineedit.o
  CC       ntp_random.o
  CC       ntp_rfc2553.o
  CC       ntp_worker.o
  CC       numtoa.o
  CC       numtohost.o
  CC       octtoint.o
  CC       prettydate.o
  CC       refidsmear.o
  CC       recvbuff.o
  CC       refnumtoa.o
  CC       snprintf.o
  CC       socket.o
  CC       socktoa.o
socktoa.c: In function 'socktoa':
socktoa.c:62:33: warning: 'snprintf' argument 4 may overlap destination object 'lib_stringbuf' [-Wrestrict]
   62 |                                 snprintf(res, LIB_BUFLENGTH, "%s%%%lu",
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   63 |                                          addr, scope);
      |                                          ~~~~~~~~~~~~
In file included from socktoa.c:24:
../include/lib_strbuf.h:17:18: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
   17 | extern libbufstr lib_stringbuf[LIB_NUMBUF];
      |                  ^~~~~~~~~~~~~
  CC       socktohost.o
socktohost.c: In function 'socktohost':
socktohost.c:114:9: warning: 'snprintf' argument 5 may overlap destination object 'lib_stringbuf' [-Wrestrict]
  114 |         snprintf(pliar, LIB_BUFLENGTH, "%s (%s)", stoa(sock), pbuf);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from socktohost.c:18:
../include/lib_strbuf.h:17:18: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
   17 | extern libbufstr lib_stringbuf[LIB_NUMBUF];
      |                  ^~~~~~~~~~~~~
  CC       ssl_init.o
  CC       statestr.o
  CC       strdup.o
  CC       strl_obsd.o
  CC       syssignal.o
  CC       timespecops.o
  CC       timetoa.o
  CC       timevalops.o
  CC       timexsup.o
  CC       uglydate.o
  CC       vint64ops.o
  CC       work_fork.o
  CC       work_thread.o
  CC       xsbprintf.o
  CC       ymd2yd.o
  CC       assertions.o
./../lib/isc/assertions.c: In function 'default_callback':
./../lib/isc/assertions.c:118:33: warning: '%s' directive argument is null [-Wformat-overflow=]
  118 |         fprintf(stderr, "%s:%d: %s(%s) %s%s\n",
      |                                 ^~
  CC       buffer.o
  CC       backtrace-emptytbl.o
  CC       backtrace.o
  CC       condition.o
  CC       dir.o
  CC       error.o
  CC       errno2result.o
  CC       event.o
  CC       file.o
  CC       inet_ntop.o
  CC       inet_pton.o
  CC       interfaceiter.o
  CC       lib.o
  CC       log.o
  CC       md5.o
  CC       msgcat.o
  CC       net.o
  CC       netaddr.o
  CC       netscope.o
  CC       ondestroy.o
  CC       random.o
  CC       result.o
  CC       stdio.o
  CC       stdtime.o
  CC       strerror.o
  CC       task.o
  CC       thread.o
  CC       time.o
  CC       sha1.o
  CC       sockaddr.o
  CC       tsmemcmp.o
  CC       mutex.o
  AR       libntp.a
Making all in sntp
cd libopts && /opt/local/bin/bmake  libopts.la
  CC       libopts_la-libopts.lo
  CCLD     libopts.la
libtool: warning: '-version-info/-version-number' is ignored for convenience libraries
[ ! -r ./../COPYRIGHT ]					 || [ check-COPYRIGHT-submake -nt ./../COPYRIGHT ]	 || /opt/local/bin/bmake  check-COPYRIGHT-submake
cp ./deps-ver .deps/deps-ver
/opt/local/bin/bmake  all-recursive
Making all in include
Making all in scripts
Making all in unity
cp ../deps-ver .deps/deps-ver
/opt/local/bin/bmake  all-am
  CC       libunity_a-colcomp.o
  CC       libunity_a-unity.o
unity.c: In function 'UnityFail':
unity.c:12:105: warning: function declared 'noreturn' has a 'return' statement
   12 | #define UNITY_SKIP_EXECUTION  { if ((Unity.CurrentTestFailed != 0) || (Unity.CurrentTestIgnored != 0)) {return;} }
      |                                                                                                         ^~~~~~
unity.c:1133:5: note: in expansion of macro 'UNITY_SKIP_EXECUTION'
 1133 |     UNITY_SKIP_EXECUTION;
      |     ^~~~~~~~~~~~~~~~~~~~
unity.c:12:105: warning: 'noreturn' function does return
   12 | #define UNITY_SKIP_EXECUTION  { if ((Unity.CurrentTestFailed != 0) || (Unity.CurrentTestIgnored != 0)) {return;} }
      |                                                                                                         ^~~~~~
unity.c:1133:5: note: in expansion of macro 'UNITY_SKIP_EXECUTION'
 1133 |     UNITY_SKIP_EXECUTION;
      |     ^~~~~~~~~~~~~~~~~~~~
  CC       libunity_a-ulib_setup.o
  CC       libunity_a-ulib_teardown.o
  CC       libunity_a-unity_fixture.o
  AR       libunity.a
Making all in libevent
  GEN      include/event2/event-config.h
/opt/local/bin/bmake  all-am
  CC       buffer.lo
buffer.c: In function 'evbuffer_reserve_space':
buffer.c:685:33: warning: pointer targets in assignment from 'unsigned char *' to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign]
  685 |                 vec[0].iov_base = CHAIN_SPACE_PTR(chain);
      |                                 ^
buffer.c: In function 'evbuffer_read_setup_vecs_':
buffer.c:2231:34: warning: pointer targets in assignment from 'unsigned char *' to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign]
 2231 |                 vecs[i].iov_base = CHAIN_SPACE_PTR(chain);
      |                                  ^
buffer.c: In function 'evbuffer_peek':
buffer.c:2784:41: warning: pointer targets in assignment from 'unsigned char *' to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign]
 2784 |                         vec[0].iov_base = chain->buffer + chain->misalign
      |                                         ^
buffer.c:2806:43: warning: pointer targets in assignment from 'unsigned char *' to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign]
 2806 |                         vec[idx].iov_base = chain->buffer + chain->misalign;
      |                                           ^
  CC       bufferevent.lo
  CC       bufferevent_filter.lo
  CC       bufferevent_pair.lo
  CC       bufferevent_ratelim.lo
  CC       bufferevent_sock.lo
  CC       event.lo
event.c: In function 'event_signal_closure':
event.c:1272:32: warning: storing the address of local variable 'ncalls' in '*ev.ev_.ev_signal.ev_pncalls' [-Wdangling-pointer=]
 1272 |                 ev->ev_pncalls = &ncalls;
      |                 ~~~~~~~~~~~~~~~^~~~~~~~~
event.c:1266:15: note: 'ncalls' declared here
 1266 |         short ncalls;
      |               ^~~~~~
event.c:1264:61: note: 'ev' declared here
 1264 | event_signal_closure(struct event_base *base, struct event *ev)
      |                                               ~~~~~~~~~~~~~~^~
  CC       evmap.lo
  CC       evthread.lo
  CC       evutil.lo
evutil.c:208:21: warning: argument 4 of type 'int[2]' with mismatched bound [-Warray-parameter=]
  208 |     evutil_socket_t fd[2])
In file included from evutil.c:80:
./include/event2/util.h:292:25: note: previously declared as 'int[]'
  292 | #define evutil_socket_t int
util-internal.h:268:47: note: in expansion of macro 'evutil_socket_t'
  268 | int evutil_ersatz_socketpair_(int, int , int, evutil_socket_t[]);
      |                                               ^~~~~~~~~~~~~~~
  CC       evutil_rand.lo
  CC       evutil_time.lo
  CC       listener.lo
  CC       log.lo
  CC       select.lo
  CC       poll.lo
  CC       devpoll.lo
  CC       epoll.lo
In file included from epoll.c:39:
/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."
      |  ^~~~~
In file included from epoll.c:73:
epolltable-internal.h:143:23: error: 'EPOLL_CTL_ADD' undeclared here (not in a function)
  143 |         { EPOLLRDHUP, EPOLL_CTL_ADD },
      |                       ^~~~~~~~~~~~~
epolltable-internal.h:145:23: error: 'EPOLL_CTL_DEL' undeclared here (not in a function)
  145 |         { EPOLLRDHUP, EPOLL_CTL_DEL },
      |                       ^~~~~~~~~~~~~
epolltable-internal.h:149:11: error: 'EPOLLIN' undeclared here (not in a function); did you mean 'POLLIN'?
  149 |         { EPOLLIN, EPOLL_CTL_ADD },
      |           ^~~~~~~
      |           POLLIN
epolltable-internal.h:173:11: error: 'EPOLLOUT' undeclared here (not in a function); did you mean 'POLLOUT'?
  173 |         { EPOLLOUT, EPOLL_CTL_ADD },
      |           ^~~~~~~~
      |           POLLOUT
epolltable-internal.h:271:31: error: 'EPOLL_CTL_MOD' undeclared here (not in a function)
  271 |         { EPOLLIN|EPOLLRDHUP, EPOLL_CTL_MOD },
      |                               ^~~~~~~~~~~~~
epoll.c: In function 'epoll_init':
epoll.c:148:16: warning: implicit declaration of function 'epoll_create1' [-Wimplicit-function-declaration]
  148 |         epfd = epoll_create1(EPOLL_CLOEXEC);
      |                ^~~~~~~~~~~~~
epoll.c:148:16: warning: nested extern declaration of 'epoll_create1' [-Wnested-externs]
epoll.c:148:30: error: 'EPOLL_CLOEXEC' undeclared (first use in this function); did you mean 'O_CLOEXEC'?
  148 |         epfd = epoll_create1(EPOLL_CLOEXEC);
      |                              ^~~~~~~~~~~~~
      |                              O_CLOEXEC
epoll.c:148:30: note: each undeclared identifier is reported only once for each function it appears in
epoll.c:153:29: warning: implicit declaration of function 'epoll_create' [-Wimplicit-function-declaration]
  153 |                 if ((epfd = epoll_create(32000)) == -1) {
      |                             ^~~~~~~~~~~~
epoll.c:153:29: warning: nested extern declaration of 'epoll_create' [-Wnested-externs]
In file included from minheap-internal.h:37,
                 from event-internal.h:40,
                 from epoll.c:54:
epoll.c:169:60: error: invalid application of 'sizeof' to incomplete type 'struct epoll_event'
  169 |         epollop->events = mm_calloc(INITIAL_NEVENT, sizeof(struct epoll_event));
      |                                                            ^~~~~~
mm-internal.h:71:59: note: in definition of macro 'mm_calloc'
   71 | #define mm_calloc(count, size) event_mm_calloc_((count), (size))
      |                                                           ^~~~
epoll.c:196:44: error: storage size of 'epev' isn't known
  196 |                         struct epoll_event epev;
      |                                            ^~~~
epoll.c:200:29: warning: implicit declaration of function 'epoll_ctl' [-Wimplicit-function-declaration]
  200 |                         if (epoll_ctl(epollop->epfd, EPOLL_CTL_ADD, fd, &epev) < 0) {
      |                             ^~~~~~~~~
epoll.c:200:29: warning: nested extern declaration of 'epoll_ctl' [-Wnested-externs]
epoll.c:196:44: warning: unused variable 'epev' [-Wunused-variable]
  196 |                         struct epoll_event epev;
      |                                            ^~~~
epoll.c: In function 'epoll_apply_one_change':
epoll.c:254:28: error: storage size of 'epev' isn't known
  254 |         struct epoll_event epev;
      |                            ^~~~
epoll.c:268:27: error: 'EPOLLET' undeclared (first use in this function); did you mean 'POLLET'?
  268 |                 events |= EPOLLET;
      |                           ^~~~~~~
      |                           POLLET
epoll.c:254:28: warning: unused variable 'epev' [-Wunused-variable]
  254 |         struct epoll_event epev;
      |                            ^~~~
epoll.c: In function 'epoll_dispatch':
epoll.c:463:15: warning: implicit declaration of function 'epoll_wait'; did you mean 'epoll_init'? [-Wimplicit-function-declaration]
  463 |         res = epoll_wait(epollop->epfd, events, epollop->nevents, timeout);
      |               ^~~~~~~~~~
      |               epoll_init
epoll.c:463:15: warning: nested extern declaration of 'epoll_wait' [-Wnested-externs]
epoll.c:480:34: error: invalid use of undefined type 'struct epoll_event'
  480 |                 int what = events[i].events;
      |                                  ^
epoll.c:480:37: error: invalid use of undefined type 'struct epoll_event'
  480 |                 int what = events[i].events;
      |                                     ^
epoll.c:483:27: error: invalid use of undefined type 'struct epoll_event'
  483 |                 if (events[i].data.fd == epollop->timerfd)
      |                           ^
epoll.c:483:30: error: invalid use of undefined type 'struct epoll_event'
  483 |                 if (events[i].data.fd == epollop->timerfd)
      |                              ^
epoll.c:487:29: error: 'EPOLLHUP' undeclared (first use in this function); did you mean 'POLLHUP'?
  487 |                 if (what & (EPOLLHUP|EPOLLERR)) {
      |                             ^~~~~~~~
      |                             POLLHUP
epoll.c:487:38: error: 'EPOLLERR' undeclared (first use in this function); did you mean 'POLLERR'?
  487 |                 if (what & (EPOLLHUP|EPOLLERR)) {
      |                                      ^~~~~~~~
      |                                      POLLERR
epoll.c:501:46: error: invalid use of undefined type 'struct epoll_event'
  501 |                 evmap_io_active_(base, events[i].data.fd, ev | EV_ET);
      |                                              ^
epoll.c:501:49: error: invalid use of undefined type 'struct epoll_event'
  501 |                 evmap_io_active_(base, events[i].data.fd, ev | EV_ET);
      |                                                 ^
epoll.c:511:42: error: invalid application of 'sizeof' to incomplete type 'struct epoll_event'
  511 |                     new_nevents * sizeof(struct epoll_event));
      |                                          ^~~~~~
mm-internal.h:73:51: note: in definition of macro 'mm_realloc'
   73 | #define mm_realloc(p, sz) event_mm_realloc_((p), (sz))
      |                                                   ^~
*** [epoll.lo] Error code 1

bmake[5]: stopped in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15/sntp/libevent
1 error

bmake[5]: stopped in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15/sntp/libevent
*** [all] Error code 2

bmake[4]: stopped in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15/sntp/libevent
1 error

bmake[4]: stopped in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15/sntp/libevent
*** [all-recursive] Error code 1

bmake[3]: stopped in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15/sntp
1 error

bmake[3]: stopped in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15/sntp
*** [all] Error code 2

bmake[2]: stopped in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15/sntp
1 error

bmake[2]: stopped in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15/sntp
*** [all-recursive] Error code 1

bmake[1]: stopped in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15
1 error

bmake[1]: stopped in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15
1 error

bmake: stopped in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15
*** Error code 2

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

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