=> 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 --- screen.o --- screen.c:49:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen_open(resize) ^ --- trafshow.o --- 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 *); ^ --- screen.o --- screen.c:163:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] screen_dock_cursor(y, x) ^ --- trafshow.o --- 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:92:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ trafshow.c:269:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] catch_signals(arg) ^ trafshow.c:269:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trafshow.c:287:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_matchdev(dp, name) ^ trafshow.c:287:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 *); ^ trafshow.c:304:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_init(ph_list, dp) ^ trafshow.c:414:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcaph_create(top, nh) ^ trafshow.c:451:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcaph_close(ph) ^ trafshow.c:477:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_setexpr(ph, expr) ^ --- colormask.o --- colormask.c:540:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] colormask(nh) ^ --- trafshow.o --- trafshow.c:512:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_feed(arg) ^ trafshow.c:512:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trafshow.c:543:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_feed2(arg) ^ trafshow.c:547:6: warning: variable 'npkt' set but not used [-Wunused-but-set-variable] int npkt = -1, ndev, op; ^ trafshow.c:543:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_feed2(arg) ^ trafshow.c:605:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_feed(a, h, p) ^ trafshow.c:605:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trafshow.c:627:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_save(ph, ns) ^ trafshow.c:663:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_show(arg) ^ trafshow.c:709:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_purge(arg) ^ trafshow.c:730:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_clear(arg) ^ trafshow.c:743:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_get_selected(ph) ^ trafshow.c:756:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pcap_set_selected(ph, idx) ^ trafshow.c:773:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traf_show(arg) ^ trafshow.c:773:1: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 27 warnings and 2 errors generated. *** [trafshow.o] Error code 1 bmake: stopped in /Users/pbulk/build/net/trafshow/work/trafshow-5.2.3 --- screen.o --- 2 warnings generated. --- colormask.o --- 1 warning generated. 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