+ 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 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ntp-4.2.8p15nb4 --- .gcc-warning --- --- FRC.html --- --- ./.checkChangeLog --- --- .gcc-warning --- 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. --- html/.datecheck --- --- ./.checkChangeLog --- cd . && ./scripts/build/checkChangeLog --- html/.datecheck --- cd ./html && ../scripts/build/checkHtmlFileDates --- all --- /opt/local/bin/bmake all-recursive --- all-recursive --- Making all in scripts --- all-recursive --- Making all in build Making all in calc_tickadj --- all --- /opt/local/bin/bmake all-am --- calc_tickadj.8 --- ../../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 --- ntp-wait.8 --- ../../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 --- ntpsweep.1 --- ../../config.status --file=ntpsweep.1+:./ntpsweep.man.in config.status: creating ntpsweep.1+ mv ntpsweep.1+ ntpsweep.1 Making all in ntptrace --- ntptrace.8 --- ../../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 --- 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 --- all-recursive --- Making all in isc Making all in libntp --- .deps-ver --- --- .deps/deps-ver --- cp ../deps-ver .deps/deps-ver --- all --- /opt/local/bin/bmake all-am --- systime.o --- --- a_md5encrypt.o --- --- adjtime.o --- --- atoint.o --- --- systime.o --- CC systime.o --- adjtime.o --- CC adjtime.o --- atoint.o --- CC atoint.o --- a_md5encrypt.o --- CC a_md5encrypt.o --- atolfp.o --- CC atolfp.o --- atouint.o --- CC atouint.o --- 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); | ^~~~~~~~~~~~~ --- audio.o --- CC audio.o --- authkeys.o --- CC authkeys.o --- 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 */ | ^~~~~~ --- authreadkeys.o --- --- audio.o --- audio.c: At top level: audio.c:66:28: warning: 'device' defined but not used [-Wunused-variable] --- authreadkeys.o --- CC authreadkeys.o --- authusekey.o --- CC authusekey.o --- bsd_strerror.o --- CC bsd_strerror.o --- buftvtots.o --- CC buftvtots.o --- caljulian.o --- CC caljulian.o --- caltontp.o --- CC caltontp.o --- calyearstart.o --- CC calyearstart.o --- clocktime.o --- CC clocktime.o --- clocktypes.o --- CC clocktypes.o --- decodenetnum.o --- CC decodenetnum.o --- dofptoa.o --- CC dofptoa.o --- dolfptoa.o --- CC dolfptoa.o --- emalloc.o --- CC emalloc.o --- findconfig.o --- CC findconfig.o --- getopt.o --- CC getopt.o --- hextoint.o --- --- hextolfp.o --- --- hextoint.o --- CC hextoint.o --- hextolfp.o --- CC hextolfp.o --- humandate.o --- CC humandate.o --- icom.o --- CC icom.o --- iosignal.o --- CC iosignal.o --- is_ip_address.o --- CC is_ip_address.o --- lib_strbuf.o --- CC lib_strbuf.o --- libssl_compat.o --- CC libssl_compat.o --- machines.o --- CC machines.o --- mktime.o --- CC mktime.o --- modetoa.o --- CC modetoa.o --- mstolfp.o --- CC mstolfp.o --- msyslog.o --- CC msyslog.o --- netof.o --- --- ntp_calendar.o --- --- netof.o --- CC netof.o --- ntp_calendar.o --- CC ntp_calendar.o --- ntp_calgps.o --- CC ntp_calgps.o --- ntp_crypto_rnd.o --- CC ntp_crypto_rnd.o --- ntp_intres.o --- CC ntp_intres.o --- ntp_libopts.o --- CC ntp_libopts.o --- ntp_lineedit.o --- CC ntp_lineedit.o --- ntp_random.o --- CC ntp_random.o --- ntp_rfc2553.o --- CC ntp_rfc2553.o --- ntp_worker.o --- CC ntp_worker.o --- numtoa.o --- CC numtoa.o --- numtohost.o --- CC numtohost.o --- octtoint.o --- CC octtoint.o --- prettydate.o --- CC prettydate.o --- refidsmear.o --- CC refidsmear.o --- recvbuff.o --- CC recvbuff.o --- refnumtoa.o --- CC refnumtoa.o --- snprintf.o --- CC snprintf.o --- socket.o --- CC socket.o --- socktoa.o --- CC socktoa.o --- socktohost.o --- CC socktohost.o --- 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]; | ^~~~~~~~~~~~~ --- ssl_init.o --- CC ssl_init.o --- 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]; | ^~~~~~~~~~~~~ --- statestr.o --- CC statestr.o --- strdup.o --- --- strl_obsd.o --- --- strdup.o --- CC strdup.o --- strl_obsd.o --- CC strl_obsd.o --- syssignal.o --- --- timespecops.o --- --- syssignal.o --- CC syssignal.o --- timespecops.o --- CC timespecops.o --- timetoa.o --- CC timetoa.o --- timevalops.o --- CC timevalops.o --- timexsup.o --- CC timexsup.o --- uglydate.o --- --- vint64ops.o --- --- uglydate.o --- CC uglydate.o --- vint64ops.o --- CC vint64ops.o --- work_fork.o --- CC work_fork.o --- work_thread.o --- CC work_thread.o --- xsbprintf.o --- CC xsbprintf.o --- ymd2yd.o --- CC ymd2yd.o --- assertions.o --- CC assertions.o --- buffer.o --- CC buffer.o --- 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", | ^~ --- backtrace-emptytbl.o --- CC backtrace-emptytbl.o --- backtrace.o --- CC backtrace.o --- condition.o --- CC condition.o --- dir.o --- CC dir.o --- error.o --- CC error.o --- errno2result.o --- CC errno2result.o --- event.o --- CC event.o --- file.o --- CC file.o --- inet_ntop.o --- --- inet_pton.o --- --- inet_ntop.o --- CC inet_ntop.o --- inet_pton.o --- CC inet_pton.o --- interfaceiter.o --- CC interfaceiter.o --- lib.o --- --- log.o --- --- lib.o --- CC lib.o --- log.o --- CC log.o --- md5.o --- CC md5.o --- msgcat.o --- CC msgcat.o --- net.o --- CC net.o --- netaddr.o --- CC netaddr.o --- netscope.o --- CC netscope.o --- ondestroy.o --- CC ondestroy.o --- random.o --- CC random.o --- result.o --- CC result.o --- stdio.o --- CC stdio.o --- stdtime.o --- CC stdtime.o --- strerror.o --- CC strerror.o --- task.o --- CC task.o --- thread.o --- CC thread.o --- time.o --- CC time.o --- sha1.o --- CC sha1.o --- sockaddr.o --- CC sockaddr.o --- tsmemcmp.o --- CC tsmemcmp.o --- mutex.o --- CC mutex.o --- libntp.a --- AR libntp.a Making all in sntp --- FRC --- --- libopts/libopts.la --- --- check-scm-rev --- --- .deps-ver --- --- libopts/libopts.la --- cd libopts && /opt/local/bin/bmake libopts.la --- check-COPYRIGHT --- --- libopts/libopts.la --- --- libopts_la-libopts.lo --- --- check-COPYRIGHT --- [ ! -r ./../COPYRIGHT ] || [ check-COPYRIGHT-submake -nt ./../COPYRIGHT ] || /opt/local/bin/bmake check-COPYRIGHT-submake --- .deps-ver --- --- .deps/deps-ver --- --- libopts/libopts.la --- CC libopts_la-libopts.lo --- check-COPYRIGHT --- --- check-COPYRIGHT-submake --- --- .deps-ver --- cp ./deps-ver .deps/deps-ver --- ./COPYRIGHT --- --- libopts/libopts.la --- --- libopts.la --- CCLD libopts.la libtool: warning: '-version-info/-version-number' is ignored for convenience libraries --- check-libopts --- --- all --- /opt/local/bin/bmake all-recursive --- all-recursive --- Making all in include Making all in scripts Making all in unity --- .deps-ver --- --- .deps/deps-ver --- cp ../deps-ver .deps/deps-ver --- all --- /opt/local/bin/bmake all-am --- libunity_a-colcomp.o --- --- libunity_a-unity.o --- --- libunity_a-ulib_setup.o --- --- libunity_a-ulib_teardown.o --- --- libunity_a-unity.o --- CC libunity_a-unity.o --- libunity_a-ulib_setup.o --- CC libunity_a-ulib_setup.o --- libunity_a-ulib_teardown.o --- CC libunity_a-ulib_teardown.o --- libunity_a-colcomp.o --- CC libunity_a-colcomp.o --- 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; | ^~~~~~~~~~~~~~~~~~~~ --- libunity_a-unity_fixture.o --- CC libunity_a-unity_fixture.o --- libunity.a --- AR libunity.a Making all in libevent --- evconfig-private.h --- --- include/event2/event-config.h --- GEN include/event2/event-config.h --- all --- /opt/local/bin/bmake all-am --- buffer.lo --- --- bufferevent.lo --- --- bufferevent_filter.lo --- --- bufferevent_pair.lo --- --- buffer.lo --- CC buffer.lo --- bufferevent_filter.lo --- CC bufferevent_filter.lo --- bufferevent_pair.lo --- CC bufferevent_pair.lo --- bufferevent.lo --- CC bufferevent.lo --- 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; | ^ --- bufferevent_ratelim.lo --- --- bufferevent_sock.lo --- --- bufferevent_ratelim.lo --- CC bufferevent_ratelim.lo --- bufferevent_sock.lo --- CC bufferevent_sock.lo --- event.lo --- CC event.lo --- evmap.lo --- CC evmap.lo --- 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) | ~~~~~~~~~~~~~~^~ --- evthread.lo --- CC evthread.lo --- evutil.lo --- CC evutil.lo --- evutil_rand.lo --- CC evutil_rand.lo --- 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[]); | ^~~~~~~~~~~~~~~ --- evutil_time.lo --- CC evutil_time.lo --- listener.lo --- CC listener.lo --- log.lo --- CC log.lo --- select.lo --- CC select.lo --- poll.lo --- CC poll.lo --- devpoll.lo --- CC devpoll.lo --- epoll.lo --- CC epoll.lo --- evport.lo --- CC evport.lo --- signal.lo --- CC signal.lo --- 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 making "all-am" in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15/sntp/libevent bmake[5]: 1 error bmake[5]: stopped making "all-am" in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15/sntp/libevent bmake[4]: stopped making "all" in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15/sntp/libevent bmake[3]: stopped making "all-recursive" in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15/sntp bmake[2]: stopped making "all" in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15/sntp bmake[1]: stopped making "all-recursive" in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15 bmake: stopped making "all" in /home/pbulk/build/net/ntp4/work/ntp-4.2.8p15 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-2024Q4-x86_64/net/ntp4 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-2024Q4-x86_64/net/ntp4