=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for LaBrea-2.5nb2 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in misc Making all in inc Making all in src --- labrea.o --- --- labrea_init.o --- --- pkt_handler.o --- --- lbio.o --- --- ctl.o --- --- utils.o --- --- pcaputil.o --- --- bget.o --- --- labrea.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -Wall -MT labrea.o -MD -MP -MF ".deps/labrea.Tpo" -c -o labrea.o `test -f 'labrea.c' || echo './'`labrea.c; then mv -f ".deps/labrea.Tpo" ".deps/labrea.Po"; else rm -f ".deps/labrea.Tpo"; exit 1; fi --- labrea_init.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -Wall -MT labrea_init.o -MD -MP -MF ".deps/labrea_init.Tpo" -c -o labrea_init.o `test -f 'labrea_init.c' || echo './'`labrea_init.c; then mv -f ".deps/labrea_init.Tpo" ".deps/labrea_init.Po"; else rm -f ".deps/labrea_init.Tpo"; exit 1; fi --- pkt_handler.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -Wall -MT pkt_handler.o -MD -MP -MF ".deps/pkt_handler.Tpo" -c -o pkt_handler.o `test -f 'pkt_handler.c' || echo './'`pkt_handler.c; then mv -f ".deps/pkt_handler.Tpo" ".deps/pkt_handler.Po"; else rm -f ".deps/pkt_handler.Tpo"; exit 1; fi --- lbio.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -Wall -MT lbio.o -MD -MP -MF ".deps/lbio.Tpo" -c -o lbio.o `test -f 'lbio.c' || echo './'`lbio.c; then mv -f ".deps/lbio.Tpo" ".deps/lbio.Po"; else rm -f ".deps/lbio.Tpo"; exit 1; fi --- ctl.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -Wall -MT ctl.o -MD -MP -MF ".deps/ctl.Tpo" -c -o ctl.o `test -f 'ctl.c' || echo './'`ctl.c; then mv -f ".deps/ctl.Tpo" ".deps/ctl.Po"; else rm -f ".deps/ctl.Tpo"; exit 1; fi --- utils.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -Wall -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o `test -f 'utils.c' || echo './'`utils.c; then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi --- pcaputil.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -Wall -MT pcaputil.o -MD -MP -MF ".deps/pcaputil.Tpo" -c -o pcaputil.o `test -f 'pcaputil.c' || echo './'`pcaputil.c; then mv -f ".deps/pcaputil.Tpo" ".deps/pcaputil.Po"; else rm -f ".deps/pcaputil.Tpo"; exit 1; fi --- bget.o --- if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -Wall -MT bget.o -MD -MP -MF ".deps/bget.Tpo" -c -o bget.o `test -f 'bget.c' || echo './'`bget.c; then mv -f ".deps/bget.Tpo" ".deps/bget.Po"; else rm -f ".deps/bget.Tpo"; exit 1; fi --- utils.o --- In file included from utils.c:73: ./../inc/pcaputil.h:18:10: error: conflicting types for 'pcap_open' pcap_t * pcap_open(char *device); ^ /usr/include/pcap/pcap.h:863:18: note: previous declaration is here PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, ^ utils.c:131:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(INFOTYPE, buf); ^~~ utils.c:131:22: note: treat the string as an argument to avoid this syslog(INFOTYPE, buf); ^ "%s", 1 warning and 1 error generated. *** [utils.o] Error code 1 make[2]: stopped in /data/scratch/net/LaBrea/work/labrea-2.5-stable-1/src --- labrea.o --- labrea.c:70:3: warning: implicit declaration of function 'util_alarm' is invalid in C99 [-Wimplicit-function-declaration] util_alarm(); /* Set an alarm to cause timer pop */ ^ --- pcaputil.o --- In file included from pcaputil.c:52: ./../inc/pcaputil.h:18:10: error: conflicting types for 'pcap_open' pcap_t * pcap_open(char *device); ^ /usr/include/pcap/pcap.h:863:18: note: previous declaration is here PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, ^ pcaputil.c:55:1: error: conflicting types for 'pcap_open' pcap_open(char *device) ^ /usr/include/pcap/pcap.h:863:18: note: previous declaration is here PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, ^ pcaputil.c:61:17: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if ((device = pcap_lookupdev(ebuf)) == NULL) ^ /usr/include/pcap/pcap.h:333:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device"); ^ /usr/include/pcap/funcattrs.h:227:53: note: expanded from macro 'PCAP_DEPRECATED' #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) ^ 1 warning and 2 errors generated. *** [pcaputil.o] Error code 1 make[2]: stopped in /data/scratch/net/LaBrea/work/labrea-2.5-stable-1/src --- pkt_handler.o --- pkt_handler.c:144:10: warning: passing 'char [17]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] "Persist Trapping"); ^~~~~~~~~~~~~~~~~~ ./../inc/lbio.h:69:41: note: passing argument to parameter 'msg' here const uint16_t ipl, const u_char *msg); ^ pkt_handler.c:190:55: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] lbio_send_ip_pkt(new, pkt, IP_HDR_LEN + TCP_HDR_LEN, msgptr); ^~~~~~ ./../inc/lbio.h:69:41: note: passing argument to parameter 'msg' here const uint16_t ipl, const u_char *msg); ^ --- labrea.o --- 1 warning generated. --- pkt_handler.o --- pkt_handler.c:429:10: warning: passing 'char [29]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] "Initial Connect - tarpitting"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../inc/lbio.h:69:41: note: passing argument to parameter 'msg' here const uint16_t ipl, const u_char *msg); ^ pkt_handler.c:462:10: warning: passing 'char [16]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] "Inbound SYN/ACK"); ^~~~~~~~~~~~~~~~~ ./../inc/lbio.h:69:41: note: passing argument to parameter 'msg' here const uint16_t ipl, const u_char *msg); ^ pkt_handler.c:496:10: warning: passing 'char [20]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] "Responded to a Ping"); ^~~~~~~~~~~~~~~~~~~~~ ./../inc/lbio.h:69:41: note: passing argument to parameter 'msg' here const uint16_t ipl, const u_char *msg); ^ --- labrea_init.o --- In file included from labrea_init.c:51: ./../inc/pcaputil.h:18:10: error: conflicting types for 'pcap_open' pcap_t * pcap_open(char *device); ^ /usr/include/pcap/pcap.h:863:18: note: previous declaration is here PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, ^ labrea_init.c:126:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int len = strlen(texpr); ^~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ labrea_init.c:130:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlcpy(p, chunk, len) >= len) { ^ /usr/include/string.h:104:23: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ labrea_init.c:130:18: warning: passing 'const u_char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlcpy(p, chunk, len) >= len) { ^~~~~ /usr/include/string.h:104:37: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ labrea_init.c:165:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy(buf, p, sizeof(buf)); /* Copy, watching for buffer overflow */ ^ /usr/include/string.h:104:37: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ labrea_init.c:375:28: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] io.intf_num = read_number(optarg); ^~~~~~ labrea_init.c:159:22: note: passing argument to parameter 'p' here read_number (u_char *p) ^ labrea_init.c:423:38: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] ctl.throttlesize = read_number(optarg); ^~~~~~ labrea_init.c:159:22: note: passing argument to parameter 'p' here read_number (u_char *p) ^ labrea_init.c:426:30: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] ctl.rate = read_number(optarg); ^~~~~~ labrea_init.c:159:22: note: passing argument to parameter 'p' here read_number (u_char *p) ^ labrea_init.c:441:31: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] ctl.maxbw = read_number(optarg); ^~~~~~ labrea_init.c:159:22: note: passing argument to parameter 'p' here read_number (u_char *p) ^ labrea_init.c:462:32: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] ctl.syslog_port = read_number(optarg); ^~~~~~ labrea_init.c:159:22: note: passing argument to parameter 'p' here read_number (u_char *p) ^ labrea_init.c:475:36: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] ctl.debuglevel = read_number(optarg); ^~~~~~ labrea_init.c:159:22: note: passing argument to parameter 'p' here read_number (u_char *p) ^ labrea_init.c:502:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] warnx( bigstring2 ); ^~~~~~~~~~ labrea_init.c:502:9: note: treat the string as an argument to avoid this warnx( bigstring2 ); ^ "%s", labrea_init.c:543:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] build_bpf_filter(texpr, bpf, BPFSIZE); ^~~~~ labrea_init.c:123:26: note: passing argument to parameter 'texpr' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:543:29: warning: passing 'char [49]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] build_bpf_filter(texpr, bpf, BPFSIZE); ^~~ labrea_init.c:123:47: note: passing argument to parameter 'chunk' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:553:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] build_bpf_filter(texpr, " or (", BPFSIZE); ^~~~~ labrea_init.c:123:26: note: passing argument to parameter 'texpr' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:553:31: warning: passing 'char [6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] build_bpf_filter(texpr, " or (", BPFSIZE); ^~~~~~~ labrea_init.c:123:47: note: passing argument to parameter 'chunk' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:556:19: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] build_bpf_filter(texpr, argv[c], BPFSIZE); /* tack on another argument */ ^~~~~ labrea_init.c:123:26: note: passing argument to parameter 'texpr' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:556:26: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] build_bpf_filter(texpr, argv[c], BPFSIZE); /* tack on another argument */ ^~~~~~~ labrea_init.c:123:47: note: passing argument to parameter 'chunk' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:558:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] build_bpf_filter(texpr, ")", BPFSIZE); ^~~~~ labrea_init.c:123:26: note: passing argument to parameter 'texpr' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:558:31: warning: passing 'char [2]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] build_bpf_filter(texpr, ")", BPFSIZE); ^~~ labrea_init.c:123:47: note: passing argument to parameter 'chunk' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:568:21: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] build_bpf_filter(texpr, " or (", BPFSIZE); ^~~~~ labrea_init.c:123:26: note: passing argument to parameter 'texpr' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:568:28: warning: passing 'char [6]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] build_bpf_filter(texpr, " or (", BPFSIZE); ^~~~~~~ labrea_init.c:123:47: note: passing argument to parameter 'chunk' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:573:25: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] build_bpf_filter(texpr, mybuffer, BPFSIZE); ^~~~~ labrea_init.c:123:26: note: passing argument to parameter 'texpr' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:573:32: warning: passing 'char [1024]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] build_bpf_filter(texpr, mybuffer, BPFSIZE); ^~~~~~~~ labrea_init.c:123:47: note: passing argument to parameter 'chunk' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:576:23: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] build_bpf_filter(texpr, ")", BPFSIZE); ^~~~~ labrea_init.c:123:26: note: passing argument to parameter 'texpr' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:576:30: warning: passing 'char [2]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] build_bpf_filter(texpr, ")", BPFSIZE); ^~~ labrea_init.c:123:47: note: passing argument to parameter 'chunk' here build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^ labrea_init.c:670:13: warning: passing 'char [1024]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] lbio_init(dev, texpr); ^~~ ./../inc/lbio.h:66:25: note: passing argument to parameter 'dev' here void lbio_init(u_char *dev, u_char *texpr); ^ labrea_init.c:670:18: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] lbio_init(dev, texpr); ^~~~~ ./../inc/lbio.h:66:38: note: passing argument to parameter 'texpr' here void lbio_init(u_char *dev, u_char *texpr); ^ 27 warnings and 1 error generated. --- lbio.o --- In file included from lbio.c:48: ./../inc/pcaputil.h:18:10: error: conflicting types for 'pcap_open' --- labrea_init.o --- *** [labrea_init.o] Error code 1 make[2]: stopped in /data/scratch/net/LaBrea/work/labrea-2.5-stable-1/src --- lbio.o --- pcap_t * pcap_open(char *device); ^ /usr/include/pcap/pcap.h:863:18: note: previous declaration is here PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, ^ lbio.c:254:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(dev) > 0) { ^~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ lbio.c:260:34: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy(io.ifent->intf_name, dev, sizeof(io.ifent->intf_name)); ^~~ /usr/include/string.h:104:37: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ lbio.c:289:49: error: too few arguments to function call, expected 6, have 1 if ((io.pcap = pcap_open(io.ifent->intf_name)) == NULL) { ~~~~~~~~~ ^ /usr/include/pcap/pcap.h:863:18: note: 'pcap_open' declared here PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, ^ lbio.c:339:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (pcap_filter(io.pcap, texpr) < 0) { ^~~~~ ./../inc/pcaputil.h:20:43: note: passing argument to parameter 'fmt' here int pcap_filter(pcap_t *pcap, const char *fmt, ...); ^ lbio.c:460:13: warning: passing 'u_char [2]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(c, " ", sizeof(c)); ^ /usr/include/string.h:64:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ 4 warnings and 2 errors generated. *** [lbio.o] Error code 1 make[2]: stopped in /data/scratch/net/LaBrea/work/labrea-2.5-stable-1/src --- ctl.o --- ctl.c:73:16: warning: array subscript is of type 'char' [-Wchar-subscripts] *p = (char)toupper(*p2); ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ ctl.c:479:53: warning: passing 'char [7]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] util_nk_new(ip , current - CULLTIME + arp_delay, ETH_ADDR_BOGUS); ^~~~~~~~~~~~~~ ./../inc/labrea.h:100:24: note: expanded from macro 'ETH_ADDR_BOGUS' #define ETH_ADDR_BOGUS "\x00\x00\x0f\xff\xff\xff" ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../inc/utils.h:58:24: note: passing argument to parameter 'mac' here const uint8_t *mac); ^ --- pkt_handler.o --- 5 warnings generated. --- ctl.o --- 2 warnings generated. 4 errors make[2]: stopped in /data/scratch/net/LaBrea/work/labrea-2.5-stable-1/src *** [all-recursive] Error code 1 make[1]: stopped in /data/scratch/net/LaBrea/work/labrea-2.5-stable-1 1 error make[1]: stopped in /data/scratch/net/LaBrea/work/labrea-2.5-stable-1 *** [all] Error code 2 make: stopped in /data/scratch/net/LaBrea/work/labrea-2.5-stable-1 1 error make: stopped in /data/scratch/net/LaBrea/work/labrea-2.5-stable-1 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/net/LaBrea *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/LaBrea