=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for trafshow-5.2.3nb3 --- trafshow.o --- --- screen.o --- --- colormask.o --- --- screen.o --- clang -pipe -Os -DBIND_8_COMPAT -I/opt/pkg/include -I/opt/pkg/include/ncurses -Wall -I. -DHAVE_CONFIG_H -D_REENTRANT -c screen.c --- colormask.o --- clang -pipe -Os -DBIND_8_COMPAT -I/opt/pkg/include -I/opt/pkg/include/ncurses -Wall -I. -DHAVE_CONFIG_H -D_REENTRANT -c colormask.c --- trafshow.o --- clang -pipe -Os -DBIND_8_COMPAT -I/opt/pkg/include -I/opt/pkg/include/ncurses -Wall -I. -DHAVE_CONFIG_H -D_REENTRANT -c trafshow.c trafshow.c:64:12: error: static declaration of 'pcap_init' follows non-static declaration static int pcap_init(PCAP_HANDLER **ph_list, pcap_if_t *dp); ^ /Users/pbulk/build/net/trafshow/work/.buildlink/include/pcap/pcap.h:386:14: note: previous declaration is here PCAP_API int pcap_init(unsigned int, char *); ^ trafshow.c:178:22: warning: incompatible pointer to integer conversion passing 'PCAP_HANDLER **' (aka 'struct pcap_handler **') to parameter of type 'unsigned int' [-Wint-conversion] if ((op = pcap_init(&ph_list, dev_list)) < 1) { ^~~~~~~~ /Users/pbulk/build/net/trafshow/work/.buildlink/include/pcap/pcap.h:386:36: note: passing argument to parameter here PCAP_API int pcap_init(unsigned int, char *); ^ trafshow.c:178:32: warning: incompatible pointer types passing 'pcap_if_t *' (aka 'struct pcap_if *') to parameter of type 'char *' [-Wincompatible-pointer-types] if ((op = pcap_init(&ph_list, dev_list)) < 1) { ^~~~~~~~ /Users/pbulk/build/net/trafshow/work/.buildlink/include/pcap/pcap.h:386:44: note: passing argument to parameter here PCAP_API int pcap_init(unsigned int, char *); ^ trafshow.c:101:12: warning: variable 'show_thr' set but not used [-Wunused-but-set-variable] pthread_t show_thr, sig_thr, pcap_thr; ^ trafshow.c:304:1: error: static declaration of 'pcap_init' follows non-static declaration pcap_init(ph_list, dp) ^ /Users/pbulk/build/net/trafshow/work/.buildlink/include/pcap/pcap.h:386:14: note: previous declaration is here PCAP_API int pcap_init(unsigned int, char *); ^ --- getkey.o --- --- trafshow.o --- trafshow.c:547:6: warning: variable 'npkt' set but not used [-Wunused-but-set-variable] int npkt = -1, ndev, op; ^ 4 warnings and 2 errors generated. *** [trafshow.o] Error code 1 bmake: stopped in /Users/pbulk/build/net/trafshow/work/trafshow-5.2.3 --- getkey.o --- clang -pipe -Os -DBIND_8_COMPAT -I/opt/pkg/include -I/opt/pkg/include/ncurses -Wall -I. -DHAVE_CONFIG_H -D_REENTRANT -c getkey.c 1 error bmake: stopped in /Users/pbulk/build/net/trafshow/work/trafshow-5.2.3 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/trafshow *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/trafshow