+ 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 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for arpwatch-2.1a15nb4 --- arpwatch.o --- --- db.o --- --- dns.o --- --- db.o --- 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 ./db.c --- arpwatch.o --- 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 --- dns.o --- 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 ./dns.c --- db.o --- In file included from ./db.c:50: ./arpwatch.h:13:1: warning: parameter names (without types) in function declaration 13 | char *intoa(u_int32_t); | ^~~~ In file included from ./db.c:51: ./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 ./db.c:52: ./dns.h:4:1: warning: parameter names (without types) in function declaration 4 | char *gethname(u_int32_t); | ^~~~ ./dns.h:5:1: warning: parameter names (without types) in function declaration 5 | char *getsname(u_int32_t); | ^~~~ In file included from ./db.c:53: ./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 ./db.c:54: ./report.h:3:21: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 3 | void report(char *, u_int32_t, u_char *, u_char *, time_t *, time_t *); | ^~~~~~~~~ | uint32_t In file included from ./db.c:55: ./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 *); | ^~~~~~~ | ) ./db.c:71:9: error: unknown type name 'u_int32_t' 71 | u_int32_t a; /* ip address */ | ^~~~~~~~~ ./db.c:83:44: error: expected ')' before 'u_char' 83 | static struct einfo *elist_alloc(u_int32_t, u_char *, time_t, char *); | ^~~~~~~ | ) ./db.c:84:15: warning: parameter names (without types) in function declaration 84 | static struct ainfo *ainfo_find(u_int32_t); | ^~~~~ ./db.c:89:18: error: unknown type name 'u_int32_t' 89 | ent_add(register u_int32_t a, register u_char *e, time_t t, register char *h) | ^~~~~~~~~ ./db.c: In function 'ent_add': ./db.c:106:33: warning: implicit declaration of function 'report' [-Wimplicit-function-declaration] 106 | report("new activity", a, e, NULL, &t, &ep->t); | ^~~~~~ ./db.c:117:32: warning: implicit declaration of function 'elist_alloc'; did you mean 'alist_alloc'? [-Wimplicit-function-declaration] 117 | ap->elist[0] = elist_alloc(a, e, t, h); | ^~~~~~~~~~~ | alist_alloc ./db.c:117:30: warning: assignment to 'struct einfo *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 117 | ap->elist[0] = elist_alloc(a, e, t, h); | ^ ./db.c:135:33: warning: implicit declaration of function 'dosyslog'; did you mean 'vsyslog'? [-Wimplicit-function-declaration] 135 | dosyslog(LOG_INFO, | ^~~~~~~~ | vsyslog ./db.c:173:22: warning: assignment to 'struct einfo *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 173 | ap->elist[0] = elist_alloc(a, e, t, h); | ^ ./db.c: At top level: ./db.c:179:21: error: unknown type name 'u_int32_t' 179 | ainfo_find(register u_int32_t a) | ^~~~~~~~~ ./db.c:219:10: error: unknown type name 'ent_process' 219 | ent_loop(ent_process fn) | ^~~~~~~~~~~ ./db.c:261:22: error: unknown type name 'u_int32_t' 261 | elist_alloc(register u_int32_t a, register u_char *e, register time_t t, | ^~~~~~~~~ ./db.c:261:1: error: conflicting types for 'elist_alloc'; have 'struct einfo *(int, u_char *, time_t, char *)' {aka 'struct einfo *(int, unsigned char *, long int, char *)'} 261 | elist_alloc(register u_int32_t a, register u_char *e, register time_t t, | ^~~~~~~~~~~ ./db.c:117:32: note: previous implicit declaration of 'elist_alloc' with type 'int()' 117 | ap->elist[0] = elist_alloc(a, e, t, h); | ^~~~~~~~~~~ --- dns.o --- In file included from ./dns.c:52: ./arpwatch.h:13:1: warning: parameter names (without types) in function declaration 13 | char *intoa(u_int32_t); | ^~~~ In file included from ./dns.c:53: ./dns.h:4:1: warning: parameter names (without types) in function declaration 4 | char *gethname(u_int32_t); | ^~~~ ./dns.h:5:1: warning: parameter names (without types) in function declaration 5 | char *getsname(u_int32_t); | ^~~~ ./dns.c:142:10: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 142 | gethname(u_int32_t a) | ^~~~~~~~~ | uint32_t ./dns.c:159:19: error: unknown type name 'u_int32_t' 159 | getsname(register u_int32_t a) | ^~~~~~~~~ --- db.o --- *** [db.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/arpwatch/work/arpwatch-2.1a15 --- arpwatch.o --- 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 *); | ^~~~~~~ | ) --- dns.o --- *** [dns.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/arpwatch/work/arpwatch-2.1a15 --- arpwatch.o --- ./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:444:18: note: declared here 444 | 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 making "all" in /home/pbulk/build/net/arpwatch/work/arpwatch-2.1a15 bmake: 3 errors bmake: stopped making "all" in /home/pbulk/build/net/arpwatch/work/arpwatch-2.1a15 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/arpwatch *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/arpwatch