+ 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-2.1.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/parpd-2.1.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for parpd-2.1.1
for x in src; do cd $x; /opt/pkg/bin/bmake all || exit $?; cd ..; done
gcc  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -DHAVE_CONFIG_H -DNDEBUG -I.. -I../src -I ../compat -c parpd.c -o parpd.o
parpd.c: In function 'ifa_valid':
parpd.c:580:22: error: 'SIOCGIFFLAGS' undeclared (first use in this function)
  580 |         if (ioctl(s, SIOCGIFFLAGS, &ifr) == -1) {
      |                      ^~~~~~~~~~~~
parpd.c:580:22: note: each undeclared identifier is reported only once for each function it appears in
parpd.c: In function 'discover_interfaces':
parpd.c:642:22: error: 'IFT_IEEE1394' undeclared (first use in this function)
  642 |                 case IFT_IEEE1394:
      |                      ^~~~~~~~~~~~
parpd.c:643:39: error: 'ARPHRD_IEEE1394' undeclared (first use in this function); did you mean 'ARPHRD_IEEE802'?
  643 |                         ifp->family = ARPHRD_IEEE1394;
      |                                       ^~~~~~~~~~~~~~~
      |                                       ARPHRD_IEEE802
parpd.c: At top level:
parpd.c:675:9: error: 'SIGTERM' undeclared here (not in a function)
  675 |         SIGTERM,
      |         ^~~~~~~
parpd.c:676:9: error: 'SIGINT' undeclared here (not in a function)
  676 |         SIGINT
      |         ^~~~~~
parpd.c: In function 'main':
parpd.c:702:26: error: 'LOG_PERROR' undeclared (first use in this function); did you mean 'SO_ERROR'?
  702 |         openlog("parpd", LOG_PERROR, LOG_DAEMON);
      |                          ^~~~~~~~~~
      |                          SO_ERROR
*** [parpd.o] Error code 1

bmake[1]: stopped in /home/pbulk/build/net/parpd/work/parpd-2.1.1/src
1 error

bmake[1]: stopped in /home/pbulk/build/net/parpd/work/parpd-2.1.1/src
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/net/parpd/work/parpd-2.1.1
1 error

bmake: stopped in /home/pbulk/build/net/parpd/work/parpd-2.1.1
*** 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