+ 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/arpwatch-2.1a15nb4/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/arpwatch-2.1a15nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for arpwatch-2.1a15nb4
gcc -O -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -DDEBUG -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_BCOPY=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGSET=1 -Dsignal=sigset -DDECLWAITSTATUS=int -DHAVE_LIBRESOLV=1  -DARPDIR=\"/var/db/arpwatch\" -DPATH_SENDMAIL=\"/usr/sbin/sendmail\"  -DETHERCODES=\"/opt/local/share/arpwatch/ethercodes.dat\" -I. -c ./arpwatch.c
In file included from ./arpwatch.c:73:
./arpwatch.h:13:1: warning: parameter names (without types) in function declaration
   13 | char    *intoa(u_int32_t);
      | ^~~~
In file included from ./arpwatch.c:74:
./db.h:3:39: error: expected ')' before 'u_char'
    3 | typedef void (*ent_process)(u_int32_t, u_char *, time_t, char *);
      |                                       ^~~~~~~
      |                                       )
./db.h:8:27: error: expected ')' before 'u_char'
    8 | int     ent_add(u_int32_t, u_char *, time_t, char *);
      |                           ^~~~~~~
      |                           )
./db.h:9:1: warning: parameter names (without types) in function declaration
    9 | int     ent_loop(ent_process);
      | ^~~
In file included from ./arpwatch.c:75:
./ec.h:3:37: error: expected ')' before 'char'
    3 | typedef int (*ec_process)(u_int32_t, char *);
      |                                     ^~~~~
      |                                     )
./ec.h:6:26: error: expected ')' before 'char'
    6 | int     ec_add(u_int32_t, char *);
      |                          ^~~~~
      |                          )
./ec.h:8:25: error: unknown type name 'ec_process'
    8 | int     ec_loop(FILE *, ec_process, const char *);
      |                         ^~~~~~~~~~
In file included from ./arpwatch.c:77:
./file.h:3:39: error: expected ')' before 'u_char'
    3 | typedef int (*file_process)(u_int32_t, u_char *, time_t, char *);
      |                                       ^~~~~~~
      |                                       )
./file.h:5:23: error: unknown type name 'file_process'
    5 | int file_loop(FILE *, file_process, const char *);
      |                       ^~~~~~~~~~~~
In file included from ./arpwatch.c:80:
./util.h:3:31: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
    3 | void    dosyslog(int, char *, u_int32_t, u_char *, u_char *);
      |                               ^~~~~~~~~
      |                               uint32_t
./util.h:5:27: error: expected ')' before 'u_char'
    5 | void    dumpone(u_int32_t, u_char *, time_t, char *);
      |                           ^~~~~~~
      |                           )
./arpwatch.c:116:8: error: unknown type name 'u_int32_t'
  116 | static u_int32_t net;
      |        ^~~~~~~~~
./arpwatch.c:117:8: error: unknown type name 'u_int32_t'
  117 | static u_int32_t netmask;
      |        ^~~~~~~~~
./arpwatch.c:120:9: error: unknown type name 'u_int32_t'
  120 |         u_int32_t net;
      |         ^~~~~~~~~
./arpwatch.c:121:9: error: unknown type name 'u_int32_t'
  121 |         u_int32_t netmask;
      |         ^~~~~~~~~
./arpwatch.c:136:1: warning: parameter names (without types) in function declaration
  136 | int     isbogon(u_int32_t);
      | ^~~
./arpwatch.c:141:28: error: expected ')' before 'u_char'
  141 | int     snmp_add(u_int32_t, u_char *, time_t, char *);
      |                            ^~~~~~~
      |                            )
./arpwatch.c: In function 'main':
./arpwatch.c:224:21: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
  224 |                     (interface = pcap_lookupdev(errbuf)) == NULL) {
      |                     ^
In file included from /home/pbulk/build/net/arpwatch/work/.buildlink/include/pcap.h:43,
                 from ./arpwatch.c:66:
/home/pbulk/build/net/arpwatch/work/.buildlink/include/pcap/pcap.h:395:18: note: declared here
  395 | PCAP_API char   *pcap_lookupdev(char *);
      |                  ^~~~~~~~~~~~~~
./arpwatch.c: In function 'process_ether':
./arpwatch.c:385:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  385 |         u_int32_t sia;
      |         ^~~~~~~~~
      |         uint32_t
./arpwatch.c:394:9: error: cannot convert to a pointer type
  394 |         sea = (u_char *)ESRC(eh);
      |         ^~~
./arpwatch.c:404:17: warning: implicit declaration of function 'dosyslog'; did you mean 'vsyslog'? [-Wimplicit-function-declaration]
  404 |                 dosyslog(LOG_INFO, "bogon", sia, sea, sha);
      |                 ^~~~~~~~
      |                 vsyslog
./arpwatch.c:424:14: warning: implicit declaration of function 'ent_add'; did you mean 'inet_addr'? [-Wimplicit-function-declaration]
  424 |         if (!ent_add(sia, sea, t, NULL))
      |              ^~~~~~~
      |              inet_addr
./arpwatch.c: In function 'process_fddi':
./arpwatch.c:530:9: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  530 |         u_int32_t sia;
      |         ^~~~~~~~~
      |         uint32_t
./arpwatch.c: In function 'addnet':
./arpwatch.c:662:18: error: unknown type name 'u_int32_t'
  662 |         register u_int32_t n, m;
      |                  ^~~~~~~~~
./arpwatch.c: At top level:
./arpwatch.c:730:18: error: unknown type name 'u_int32_t'
  730 | isbogon(register u_int32_t sia)
      |                  ^~~~~~~~~
*** [arpwatch.o] Error code 1

bmake: stopped in /home/pbulk/build/net/arpwatch/work/arpwatch-2.1a15
1 error

bmake: stopped in /home/pbulk/build/net/arpwatch/work/arpwatch-2.1a15
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/arpwatch
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/arpwatch