+ 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.8p15nb2/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ntp-4.2.8p15nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ntp-4.2.8p15nb2 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 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:7: 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 */ | ^~~~~~ 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:5: 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:2: 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 timetoa.c: In function 'format_time_fraction': timetoa.c:102:30: warning: '%0*ld' directive output may be truncated writing between 1 and 2147483647 bytes into a region of size between 106 and 126 [-Wformat-truncation=] 102 | snprintf(cp, LIB_BUFLENGTH, "%s%" UTIME_FORMAT ".%0*ld", | ^~~~~ timetoa.c:102:51: note: format string is defined here 102 | snprintf(cp, LIB_BUFLENGTH, "%s%" UTIME_FORMAT ".%0*ld", | ^~~~~ timetoa.c:102:30: note: directive argument in the range [-9223372036854775798, 9223372036854775807] 102 | snprintf(cp, LIB_BUFLENGTH, "%s%" UTIME_FORMAT ".%0*ld", | ^~~~~ timetoa.c:102:2: note: 'snprintf' output between 4 and 2147483670 bytes into a destination of size 128 102 | snprintf(cp, LIB_BUFLENGTH, "%s%" UTIME_FORMAT ".%0*ld", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | notneg? "" : "-", secs_u, prec_u, frac); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:2: warning: '%s' directive argument is null [-Wformat-overflow=] 118 | fprintf(stderr, "%s:%d: %s(%s) %s%s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 119 | file, line, isc_assertion_typetotext(type), cond, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | isc_msgcat_get(isc_msgcat, ISC_MSGSET_GENERAL, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | ISC_MSG_FAILED, "failed"), logsuffix); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../lib/isc/assertions.c:118:2: warning: '%s' directive argument is null [-Wformat-overflow=] 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:19: 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:20: 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:20: 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:22: 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 In file included from minheap-internal.h:36, from event-internal.h:40, from event.c:59: event.c: In function 'event_callback_activate_nolock_': util-internal.h:318:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 318 | if (EVUTIL_UNLIKELY(!(cond))) { \ | ^ event.c:2915:3: note: in expansion of macro 'EVUTIL_ASSERT' 2915 | EVUTIL_ASSERT(0); | ^~~~~~~~~~~~~ event.c:2916:2: note: here 2916 | case EVLIST_ACTIVE_LATER: | ^~~~ CC evmap.lo CC evthread.lo CC evutil.lo 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:16: error: 'EPOLL_CTL_ADD' undeclared here (not in a function) 143 | { EPOLLRDHUP, EPOLL_CTL_ADD }, | ^~~~~~~~~~~~~ epolltable-internal.h:145:16: error: 'EPOLL_CTL_DEL' undeclared here (not in a function) 145 | { EPOLLRDHUP, EPOLL_CTL_DEL }, | ^~~~~~~~~~~~~ epolltable-internal.h:149:4: error: 'EPOLLIN' undeclared here (not in a function); did you mean 'POLLIN'? 149 | { EPOLLIN, EPOLL_CTL_ADD }, | ^~~~~~~ | POLLIN epolltable-internal.h:173:4: error: 'EPOLLOUT' undeclared here (not in a function); did you mean 'POLLOUT'? 173 | { EPOLLOUT, EPOLL_CTL_ADD }, | ^~~~~~~~ | POLLOUT epolltable-internal.h:271:24: 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:9: warning: implicit declaration of function 'epoll_create1' [-Wimplicit-function-declaration] 148 | epfd = epoll_create1(EPOLL_CLOEXEC); | ^~~~~~~~~~~~~ epoll.c:148:9: warning: nested extern declaration of 'epoll_create1' [-Wnested-externs] epoll.c:148:23: error: 'EPOLL_CLOEXEC' undeclared (first use in this function); did you mean 'SOCK_CLOEXEC'? 148 | epfd = epoll_create1(EPOLL_CLOEXEC); | ^~~~~~~~~~~~~ | SOCK_CLOEXEC epoll.c:148:23: note: each undeclared identifier is reported only once for each function it appears in epoll.c:153:15: warning: implicit declaration of function 'epoll_create' [-Wimplicit-function-declaration] 153 | if ((epfd = epoll_create(32000)) == -1) { | ^~~~~~~~~~~~ epoll.c:153:15: 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:53: 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)) | ^~~~ mm-internal.h:71:58: warning: passing argument 2 of 'event_mm_calloc_' makes integer from pointer without a cast [-Wint-conversion] 71 | #define mm_calloc(count, size) event_mm_calloc_((count), (size)) | ^~~~~~ | | | const struct operation * epoll.c:169:20: note: in expansion of macro 'mm_calloc' 169 | epollop->events = mm_calloc(INITIAL_NEVENT, sizeof(struct epoll_event)); | ^~~~~~~~~ mm-internal.h:56:45: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'const struct operation *' 56 | void *event_mm_calloc_(size_t count, size_t size); | ~~~~~~~^~~~ epoll.c:196:23: error: storage size of 'epev' isn't known 196 | struct epoll_event epev; | ^~~~ epoll.c:197:11: warning: passing argument 1 of 'memset' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 197 | memset(&epev, 0, sizeof(epev)); | ^~~~~ In file included from /usr/include/string.h:34, from epoll.c:44: /usr/include/iso/string_iso.h:72:21: note: expected 'void *' but argument is of type 'const struct operation (*)[1]' 72 | extern void *memset(void *, int, size_t); | ^~~~~~ epoll.c:197:21: warning: passing argument 3 of 'memset' makes integer from pointer without a cast [-Wint-conversion] 197 | memset(&epev, 0, sizeof(epev)); | ^~~~~~~~~~~~ | | | const struct operation * In file included from /usr/include/string.h:34, from epoll.c:44: /usr/include/iso/string_iso.h:72:34: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'const struct operation *' 72 | extern void *memset(void *, int, size_t); | ^~~~~~ epoll.c:198:8: error: '(const struct operation *)&' is a pointer; did you mean to use '->'? 198 | epev.data.fd = epollop->timerfd; | ^ | -> epoll.c:198:13: error: '(const struct operation *)&' is a pointer; did you mean to use '->'? 198 | epev.data.fd = epollop->timerfd; | ^ | -> epoll.c:198:4: warning: statement with no effect [-Wunused-value] 198 | epev.data.fd = epollop->timerfd; | ^~~~ epoll.c:199:8: error: '(const struct operation *)&' is a pointer; did you mean to use '->'? 199 | epev.events = EPOLLIN; | ^ | -> epoll.c:199:4: warning: statement with no effect [-Wunused-value] 199 | epev.events = EPOLLIN; | ^~~~ epoll.c:200:8: 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:8: warning: nested extern declaration of 'epoll_ctl' [-Wnested-externs] epoll.c:196:23: warning: unused variable 'epev' [-Wunused-variable] 196 | struct epoll_event epev; | ^~~~ epoll.c: In function 'epoll_op_to_string': epoll.c:243:12: warning: comparison between pointer and integer 243 | return op == EPOLL_CTL_ADD?"ADD": | ^~ epoll.c:244:9: warning: comparison between pointer and integer 244 | op == EPOLL_CTL_DEL?"DEL": | ^~ epoll.c:245:9: warning: comparison between pointer and integer 245 | op == EPOLL_CTL_MOD?"MOD": | ^~ epoll.c: In function 'epoll_apply_one_change': epoll.c:254:21: error: storage size of 'epev' isn't known 254 | struct epoll_event epev; | ^~~~ epoll.c:268:13: error: 'EPOLLET' undeclared (first use in this function); did you mean 'POLLET'? 268 | events |= EPOLLET; | ^~~~~~~ | POLLET epoll.c:268:10: error: invalid operands to binary | (have 'int' and 'const struct operation *') 268 | events |= EPOLLET; | ^~ ~~~~~~~ | | | const struct operation * epoll.c:268:3: warning: statement with no effect [-Wunused-value] 268 | events |= EPOLLET; | ^~~~~~ epoll.c:270:9: warning: passing argument 1 of 'memset' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 270 | memset(&epev, 0, sizeof(epev)); | ^~~~~ In file included from /usr/include/string.h:34, from epoll.c:44: /usr/include/iso/string_iso.h:72:21: note: expected 'void *' but argument is of type 'const struct operation (*)[1]' 72 | extern void *memset(void *, int, size_t); | ^~~~~~ epoll.c:270:19: warning: passing argument 3 of 'memset' makes integer from pointer without a cast [-Wint-conversion] 270 | memset(&epev, 0, sizeof(epev)); | ^~~~~~~~~~~~ | | | const struct operation * In file included from /usr/include/string.h:34, from epoll.c:44: /usr/include/iso/string_iso.h:72:34: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'const struct operation *' 72 | extern void *memset(void *, int, size_t); | ^~~~~~ epoll.c:271:6: error: '(const struct operation *)&' is a pointer; did you mean to use '->'? 271 | epev.data.fd = ch->fd; | ^ | -> epoll.c:271:11: error: '(const struct operation *)&' is a pointer; did you mean to use '->'? 271 | epev.data.fd = ch->fd; | ^ | -> epoll.c:271:2: warning: statement with no effect [-Wunused-value] 271 | epev.data.fd = ch->fd; | ^~~~ epoll.c:272:6: error: '(const struct operation *)&' is a pointer; did you mean to use '->'? 272 | epev.events = events; | ^ | -> epoll.c:272:2: warning: statement with no effect [-Wunused-value] 272 | epev.events = events; | ^~~~ In file included from util-internal.h:35, from minheap-internal.h:36, from event-internal.h:40, from epoll.c:54: epoll.c:276:13: error: '(const struct operation *)&' is a pointer; did you mean to use '->'? 276 | (int)epev.events, | ^ log-internal.h:74:17: note: in definition of macro 'event_debug' 74 | event_debugx_ x; \ | ^ epoll.c:276:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 276 | (int)epev.events, | ^ log-internal.h:74:17: note: in definition of macro 'event_debug' 74 | event_debugx_ x; \ | ^ epoll.c:294:18: error: '(const struct operation *)&' is a pointer; did you mean to use '->'? 294 | (int)epev.events, ch->fd); | ^ | -> epoll.c:294:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 294 | (int)epev.events, ch->fd); | ^ In file included from util-internal.h:35, from minheap-internal.h:36, from event-internal.h:40, from epoll.c:54: epoll.c:298:15: error: '(const struct operation *)&' is a pointer; did you mean to use '->'? 298 | (int)epev.events, | ^ log-internal.h:74:17: note: in definition of macro 'event_debug' 74 | event_debugx_ x; \ | ^ epoll.c:298:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 298 | (int)epev.events, | ^ log-internal.h:74:17: note: in definition of macro 'event_debug' 74 | event_debugx_ x; \ | ^ epoll.c:315:18: error: '(const struct operation *)&' is a pointer; did you mean to use '->'? 315 | (int)epev.events, ch->fd); | ^ | -> epoll.c:315:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 315 | (int)epev.events, ch->fd); | ^ In file included from util-internal.h:35, from minheap-internal.h:36, from event-internal.h:40, from epoll.c:54: epoll.c:319:15: error: '(const struct operation *)&' is a pointer; did you mean to use '->'? 319 | (int)epev.events, | ^ log-internal.h:74:17: note: in definition of macro 'event_debug' 74 | event_debugx_ x; \ | ^ epoll.c:319:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 319 | (int)epev.events, | ^ log-internal.h:74:17: note: in definition of macro 'event_debug' 74 | event_debugx_ x; \ | ^ epoll.c:331:14: error: '(const struct operation *)&' is a pointer; did you mean to use '->'? 331 | (int)epev.events, | ^ log-internal.h:74:17: note: in definition of macro 'event_debug' 74 | event_debugx_ x; \ | ^ epoll.c:331:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 331 | (int)epev.events, | ^ log-internal.h:74:17: note: in definition of macro 'event_debug' 74 | event_debugx_ x; \ | ^ epoll.c:343:15: error: '(const struct operation *)&' is a pointer; did you mean to use '->'? 343 | (int)epev.events, | ^ | -> epoll.c:343:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 343 | (int)epev.events, | ^ epoll.c:254:21: warning: unused variable 'epev' [-Wunused-variable] 254 | struct epoll_event epev; | ^~~~ epoll.c: In function 'epoll_dispatch': epoll.c:463:8: 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:8: warning: nested extern declaration of 'epoll_wait' [-Wnested-externs] epoll.c:480:20: error: invalid use of undefined type 'struct epoll_event' 480 | int what = events[i].events; | ^ epoll.c:480:23: error: invalid use of undefined type 'struct epoll_event' 480 | int what = events[i].events; | ^ epoll.c:480:14: warning: initialization of 'int' from 'const struct operation *' makes integer from pointer without a cast [-Wint-conversion] 480 | int what = events[i].events; | ^~~~~~ epoll.c:483:13: error: invalid use of undefined type 'struct epoll_event' 483 | if (events[i].data.fd == epollop->timerfd) | ^ epoll.c:483:16: error: invalid use of undefined type 'struct epoll_event' 483 | if (events[i].data.fd == epollop->timerfd) | ^ epoll.c:483:21: error: '(const struct operation *)&' is a pointer; did you mean to use '->'? 483 | if (events[i].data.fd == epollop->timerfd) | ^ | -> epoll.c:483:25: warning: comparison between pointer and integer 483 | if (events[i].data.fd == epollop->timerfd) | ^~ epoll.c:487:15: error: 'EPOLLHUP' undeclared (first use in this function); did you mean 'POLLHUP'? 487 | if (what & (EPOLLHUP|EPOLLERR)) { | ^~~~~~~~ | POLLHUP epoll.c:487:24: error: 'EPOLLERR' undeclared (first use in this function); did you mean 'POLLERR'? 487 | if (what & (EPOLLHUP|EPOLLERR)) { | ^~~~~~~~ | POLLERR epoll.c:487:23: error: invalid operands to binary | (have 'const struct operation *' and 'const struct operation *') 487 | if (what & (EPOLLHUP|EPOLLERR)) { | ~~~~~~~~^ | | | | | const struct operation * | const struct operation * epoll.c:487:12: error: invalid operands to binary & (have 'int' and 'const struct operation *') 487 | if (what & (EPOLLHUP|EPOLLERR)) { | ^ | | | const struct operation * epoll.c:490:13: error: invalid operands to binary & (have 'int' and 'const struct operation *') 490 | if (what & EPOLLIN) | ^ | | | const struct operation * epoll.c:492:13: error: invalid operands to binary & (have 'int' and 'const struct operation *') 492 | if (what & EPOLLOUT) | ^ | | | const struct operation * epoll.c:501:32: error: invalid use of undefined type 'struct epoll_event' 501 | evmap_io_active_(base, events[i].data.fd, ev | EV_ET); | ^ epoll.c:501:35: error: invalid use of undefined type 'struct epoll_event' 501 | evmap_io_active_(base, events[i].data.fd, ev | EV_ET); | ^ epoll.c:501:40: error: '(const struct operation *)&' is a pointer; did you mean to use '->'? 501 | evmap_io_active_(base, events[i].data.fd, ev | EV_ET); | ^ | -> epoll.c:501:26: warning: passing argument 2 of 'evmap_io_active_' makes integer from pointer without a cast [-Wint-conversion] 501 | evmap_io_active_(base, events[i].data.fd, ev | EV_ET); | ^~~~~~~~~~~~~~~~~ | | | const struct operation * In file included from epoll.c:59: evmap-internal.h:78:64: note: expected 'int' but argument is of type 'const struct operation *' 78 | void evmap_io_active_(struct event_base *base, evutil_socket_t fd, short events); In file included from minheap-internal.h:37, from event-internal.h:40, from epoll.c:54: epoll.c:511:28: 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.c:511:19: error: invalid operands to binary * (have 'int' and 'const struct operation *') 511 | new_nevents * sizeof(struct epoll_event)); | ^ | | | const struct operation * mm-internal.h:73:51: note: in definition of macro 'mm_realloc' 73 | #define mm_realloc(p, sz) event_mm_realloc_((p), (sz)) | ^~ mm-internal.h:73:50: warning: passing argument 2 of 'event_mm_realloc_' makes integer from pointer without a cast [-Wint-conversion] 73 | #define mm_realloc(p, sz) event_mm_realloc_((p), (sz)) | ^~~~ | | | const struct operation * epoll.c:510:16: note: in expansion of macro 'mm_realloc' 510 | new_events = mm_realloc(epollop->events, | ^~~~~~~~~~ mm-internal.h:68:41: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'const struct operation *' 68 | void *event_mm_realloc_(void *p, size_t 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-2021Q4-x86_64/net/ntp4 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/net/ntp4