=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/tcpdpriv", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tcpdpriv-0.8nb1 --- tcpdpriv.o --- --- tcpdutil.o --- --- tcpdpriv.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSVR4 -DIPPROTO_IPV4=IPPROTO_ENCAP -DIP_OFFMASK=0x1fff -DARPOP_REVREQUEST=REVARP_REQUEST -DARPOP_REVREPLY=REVARP_REPLY -Du_int64_t=uint64_t -Du_int32_t=uint32_t -Du_int16_t=uint16_t -Du_int8_t=uint8_t -I/opt/pkg/include -g -I/usr/local/include -I/home/pbulk/work/net/tcpdpriv/work/.home/usr/include -Wall -DWIDE -I/opt/pkg/include -c tcpdpriv.c --- tcpdutil.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DSVR4 -DIPPROTO_IPV4=IPPROTO_ENCAP -DIP_OFFMASK=0x1fff -DARPOP_REVREQUEST=REVARP_REQUEST -DARPOP_REVREPLY=REVARP_REPLY -Du_int64_t=uint64_t -Du_int32_t=uint32_t -Du_int16_t=uint16_t -Du_int8_t=uint8_t -I/opt/pkg/include -g -I/usr/local/include -I/home/pbulk/work/net/tcpdpriv/work/.home/usr/include -Wall -DWIDE -I/opt/pkg/include -c tcpdutil.c --- tcpdpriv.o --- tcpdpriv.c:370:9: error: conflicting types for 'gettimeofday'; have 'int(void)' 370 | int gettimeofday __P((struct timeval *, struct timezone *)); | ^~~~~~~~~~~~ In file included from /usr/include/sys/select.h:53, from /usr/include/sys/types.h:687, from /usr/include/unistd.h:41, from tcpdpriv.c:58: /usr/include/sys/time.h:472:5: note: previous declaration of 'gettimeofday' with type 'int(struct timeval * restrict, void * restrict)' 472 | int gettimeofday(struct timeval *_RESTRICT_KYWD, void *_RESTRICT_KYWD); | ^~~~~~~~~~~~ tcpdpriv.c: In function 'rand_start': tcpdpriv.c:627:9: error: too many arguments to function 'gettimeofday'; expected 0, have 2 627 | if (gettimeofday(&x.tv, &x.tz) == -1) { | ^~~~~~~~~~~~ ~~~~~ tcpdpriv.c:370:9: note: declared here 370 | int gettimeofday __P((struct timeval *, struct timezone *)); | ^~~~~~~~~~~~ tcpdpriv.c: In function 'dumpip6': tcpdpriv.c:2201:14: warning: variable 'nxt' set but not used [-Wunused-but-set-variable] 2201 | u_int8_t nxt; | ^~~ tcpdpriv.c: In function 'main': tcpdpriv.c:2882:13: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 2882 | interface = pcap_lookupdev(pcap_errbuf); | ^~~~~~~~~ In file included from /home/pbulk/work/net/tcpdpriv/work/.buildlink/include/pcap.h:43, from tcpdpriv.c:112: /home/pbulk/work/net/tcpdpriv/work/.buildlink/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ *** [tcpdpriv.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/net/tcpdpriv/work/tcpd-tools-0.8/wide-tcpdpriv bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/net/tcpdpriv/work/tcpd-tools-0.8/wide-tcpdpriv *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/tcpdpriv *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/tcpdpriv