+ 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 -O2 -msave-args -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:37: 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:22: error: 'SIOCGIFFLAGS' undeclared (first use in this function)
  489 |         if (ioctl(s, SIOCGIFFLAGS, &ifr) == -1) {
      |                      ^~~~~~~~~~~~
parpd.c:489:22: note: each undeclared identifier is reported only once for each function it appears in
parpd.c: In function 'discover_interfaces':
parpd.c:554:26: warning: assignment to 'char *' from incompatible pointer type 'struct interface *' [-Wincompatible-pointer-types]
  554 |                 ent.data = ifp;
      |                          ^
parpd.c:565:48: warning: comparison of distinct pointer types lacks a cast
  565 |                 if (entf != NULL && entf->data != ifp) {
      |                                                ^~
parpd.c:577:22: error: 'IFT_IEEE1394' undeclared (first use in this function)
  577 |                 case IFT_IEEE1394:
      |                      ^~~~~~~~~~~~
parpd.c:578:39: 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:9: error: 'SIGTERM' undeclared here (not in a function)
  607 |         SIGTERM,
      |         ^~~~~~~
parpd.c:608:9: error: 'SIGINT' undeclared here (not in a function)
  608 |         SIGINT
      |         ^~~~~~
parpd.c: In function 'main':
parpd.c:633:26: error: 'LOG_PERROR' undeclared (first use in this function); did you mean 'SO_ERROR'?
  633 |         openlog("parpd", LOG_PERROR, LOG_DAEMON);
      |                          ^~~~~~~~~~
      |                          SO_ERROR
*** [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