+ 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/parpd-1.7nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/parpd-1.7nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for parpd-1.7nb1
gcc -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DSYSCONFDIR=\"/opt/pkg/etc\" -c parpd.c -o parpd.o
parpd.c: In function 'load_config':
parpd.c:246:9: warning: assignment to 'struct interface *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
246 | ifp = entf->data;
| ^
parpd.c: In function 'ifa_valid':
parpd.c:489:15: error: 'SIOCGIFFLAGS' undeclared (first use in this function)
489 | if (ioctl(s, SIOCGIFFLAGS, &ifr) == -1) {
| ^~~~~~~~~~~~
parpd.c:489:15: note: each undeclared identifier is reported only once for each function it appears in
parpd.c: In function 'discover_interfaces':
parpd.c:554:12: warning: assignment to 'char *' from incompatible pointer type 'struct interface *' [-Wincompatible-pointer-types]
554 | ent.data = ifp;
| ^
parpd.c:565:34: warning: comparison of distinct pointer types lacks a cast
565 | if (entf != NULL && entf->data != ifp) {
| ^~
parpd.c:577:8: error: 'IFT_IEEE1394' undeclared (first use in this function)
577 | case IFT_IEEE1394:
| ^~~~~~~~~~~~
parpd.c:578:18: error: 'ARPHRD_IEEE1394' undeclared (first use in this function); did you mean 'ARPHRD_IEEE802'?
578 | ifp->family = ARPHRD_IEEE1394;
| ^~~~~~~~~~~~~~~
| ARPHRD_IEEE802
parpd.c: At top level:
parpd.c:607:2: error: 'SIGTERM' undeclared here (not in a function)
607 | SIGTERM,
| ^~~~~~~
parpd.c:608:2: error: 'SIGINT' undeclared here (not in a function)
608 | SIGINT
| ^~~~~~
parpd.c: In function 'parpd_signal_cb':
parpd.c:618:10: warning: comparison between pointer and integer
618 | sig == SIGTERM ? "TERM" : sig == SIGINT ? "INT" : "UNKNOWN",
| ^~
parpd.c:618:36: warning: comparison between pointer and integer
618 | sig == SIGTERM ? "TERM" : sig == SIGINT ? "INT" : "UNKNOWN",
| ^~
parpd.c:620:22: warning: comparison between pointer and integer
620 | eloop_exit(arg, sig == SIGTERM ? EXIT_SUCCESS : EXIT_FAILURE);
| ^~
parpd.c: In function 'main':
parpd.c:633:19: error: 'LOG_PERROR' undeclared (first use in this function); did you mean 'SO_ERROR'?
633 | openlog("parpd", LOG_PERROR, LOG_DAEMON);
| ^~~~~~~~~~
| SO_ERROR
parpd.c:633:19: warning: passing argument 2 of 'openlog' makes integer from pointer without a cast [-Wint-conversion]
In file included from parpd.c:61:
/usr/include/syslog.h:40:28: note: expected 'int' but argument is of type 'const int *'
40 | void openlog(const char *, int, int);
| ^~~
*** [parpd.o] Error code 1
bmake: stopped in /home/pbulk/build/net/parpd/work/parpd-1.7
1 error
bmake: stopped in /home/pbulk/build/net/parpd/work/parpd-1.7
*** Error code 2
Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/parpd
*** Error code 1
Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/parpd