=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb 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 --- --- labrea.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -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 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include/pcap -I/usr/pkg/include -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -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 --- labrea_init.o --- In file included from labrea_init.c:51:0: ../inc/pcaputil.h:18:10: error: conflicting types for 'pcap_open' pcap_t * pcap_open(char *device); ^~~~~~~~~ In file included from ../inc/pcaputil.h:12:0, from labrea_init.c:51: /usr/include/pcap/pcap.h:839:18: note: previous declaration of 'pcap_open' was here PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, ^~~~~~~~~ --- pkt_handler.o --- pkt_handler.c: In function 'throttle_data': pkt_handler.c:144:10: warning: pointer targets in passing argument 4 of 'lbio_send_ip_pkt' differ in signedness [-Wpointer-sign] "Persist Trapping"); ^~~~~~~~~~~~~~~~~~ In file included from pkt_handler.c:44:0: ../inc/lbio.h:68:6: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' int lbio_send_ip_pkt (struct pkt *new, const struct pkt *pkt, ^~~~~~~~~~~~~~~~ --- labrea.o --- labrea.c: In function 'main': labrea.c:70:3: warning: implicit declaration of function 'util_alarm'; did you mean 'util_timer'? [-Wimplicit-function-declaration] util_alarm(); /* Set an alarm to cause timer pop */ ^~~~~~~~~~ util_timer --- pkt_handler.o --- pkt_handler.c:190:55: warning: pointer targets in passing argument 4 of 'lbio_send_ip_pkt' differ in signedness [-Wpointer-sign] lbio_send_ip_pkt(new, pkt, IP_HDR_LEN + TCP_HDR_LEN, msgptr); ^~~~~~ In file included from pkt_handler.c:44:0: ../inc/lbio.h:68:6: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' int lbio_send_ip_pkt (struct pkt *new, const struct pkt *pkt, ^~~~~~~~~~~~~~~~ pkt_handler.c: In function 'ip_handler': pkt_handler.c:429:10: warning: pointer targets in passing argument 4 of 'lbio_send_ip_pkt' differ in signedness [-Wpointer-sign] "Initial Connect - tarpitting"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from pkt_handler.c:44:0: ../inc/lbio.h:68:6: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' int lbio_send_ip_pkt (struct pkt *new, const struct pkt *pkt, ^~~~~~~~~~~~~~~~ --- lbio.o --- In file included from lbio.c:48:0: ../inc/pcaputil.h:18:10: error: conflicting types for 'pcap_open' pcap_t * pcap_open(char *device); ^~~~~~~~~ In file included from ../inc/pcaputil.h:12:0, from lbio.c:48: /usr/include/pcap/pcap.h:839:18: note: previous declaration of 'pcap_open' was here PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, ^~~~~~~~~ --- pkt_handler.o --- pkt_handler.c:462:10: warning: pointer targets in passing argument 4 of 'lbio_send_ip_pkt' differ in signedness [-Wpointer-sign] "Inbound SYN/ACK"); ^~~~~~~~~~~~~~~~~ In file included from pkt_handler.c:44:0: ../inc/lbio.h:68:6: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' int lbio_send_ip_pkt (struct pkt *new, const struct pkt *pkt, ^~~~~~~~~~~~~~~~ pkt_handler.c:496:10: warning: pointer targets in passing argument 4 of 'lbio_send_ip_pkt' differ in signedness [-Wpointer-sign] "Responded to a Ping"); ^~~~~~~~~~~~~~~~~~~~~ In file included from pkt_handler.c:44:0: ../inc/lbio.h:68:6: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' int lbio_send_ip_pkt (struct pkt *new, const struct pkt *pkt, ^~~~~~~~~~~~~~~~ --- lbio.o --- lbio.c: In function 'lbio_init': lbio.c:254:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(dev) > 0) { ^~~ In file included from lbio.c:30:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ lbio.c:260:34: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(io.ifent->intf_name, dev, sizeof(io.ifent->intf_name)); ^~~ In file included from lbio.c:30:0: /usr/include/string.h:104:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlcpy(char *, const char *, size_t); ^~~~~~~ lbio.c:339:28: warning: pointer targets in passing argument 2 of 'pcap_filter' differ in signedness [-Wpointer-sign] if (pcap_filter(io.pcap, texpr) < 0) { ^~~~~ In file included from lbio.c:48:0: ../inc/pcaputil.h:20:5: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' int pcap_filter(pcap_t *pcap, const char *fmt, ...); ^~~~~~~~~~~ --- labrea_init.o --- labrea_init.c: In function 'build_bpf_filter': labrea_init.c:126:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int len = strlen(texpr); ^~~~~ In file included from labrea_init.c:29:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlen(const char *); ^~~~~~ labrea_init.c:130:15: warning: pointer targets in passing argument 1 of 'strlcpy' differ in signedness [-Wpointer-sign] if (strlcpy(p, chunk, len) >= len) { ^ In file included from labrea_init.c:29:0: /usr/include/string.h:104:9: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlcpy(char *, const char *, size_t); ^~~~~~~ labrea_init.c:130:18: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] if (strlcpy(p, chunk, len) >= len) { ^~~~~ In file included from labrea_init.c:29:0: /usr/include/string.h:104:9: note: expected 'const char *' but argument is of type 'const u_char * {aka const unsigned char *}' size_t strlcpy(char *, const char *, size_t); ^~~~~~~ labrea_init.c: In function 'read_number': labrea_init.c:165:16: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(buf, p, sizeof(buf)); /* Copy, watching for buffer overflow */ ^ In file included from labrea_init.c:29:0: /usr/include/string.h:104:9: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlcpy(char *, const char *, size_t); ^~~~~~~ --- lbio.o --- In file included from /usr/include/string.h:127:0, from lbio.c:30: lbio.c: In function 'lbio_send_ip_pkt': lbio.c:460:13: warning: pointer targets in passing argument 1 of '__builtin___strncpy_chk' differ in signedness [-Wpointer-sign] strncpy(c, " ", sizeof(c)); ^ lbio.c:460:13: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' lbio.c:460:13: warning: pointer targets in passing argument 1 of '__strncpy_ichk' differ in signedness [-Wpointer-sign] strncpy(c, " ", sizeof(c)); ^ /usr/include/ssp/string.h:91:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __ssp_bos_icheck3_restrict(strncpy, char *, const char *) ^ --- labrea_init.o --- labrea_init.c: In function 'labrea_init': labrea_init.c:375:28: warning: pointer targets in passing argument 1 of 'read_number' differ in signedness [-Wpointer-sign] io.intf_num = read_number(optarg); ^~~~~~ labrea_init.c:159:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' read_number (u_char *p) ^~~~~~~~~~~ labrea_init.c:423:38: warning: pointer targets in passing argument 1 of 'read_number' differ in signedness [-Wpointer-sign] ctl.throttlesize = read_number(optarg); ^~~~~~ labrea_init.c:159:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' read_number (u_char *p) ^~~~~~~~~~~ labrea_init.c:426:30: warning: pointer targets in passing argument 1 of 'read_number' differ in signedness [-Wpointer-sign] ctl.rate = read_number(optarg); ^~~~~~ labrea_init.c:159:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' read_number (u_char *p) ^~~~~~~~~~~ labrea_init.c:441:31: warning: pointer targets in passing argument 1 of 'read_number' differ in signedness [-Wpointer-sign] ctl.maxbw = read_number(optarg); ^~~~~~ labrea_init.c:159:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' read_number (u_char *p) ^~~~~~~~~~~ labrea_init.c:462:32: warning: pointer targets in passing argument 1 of 'read_number' differ in signedness [-Wpointer-sign] ctl.syslog_port = read_number(optarg); ^~~~~~ labrea_init.c:159:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' read_number (u_char *p) ^~~~~~~~~~~ labrea_init.c:475:36: warning: pointer targets in passing argument 1 of 'read_number' differ in signedness [-Wpointer-sign] ctl.debuglevel = read_number(optarg); ^~~~~~ labrea_init.c:159:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' read_number (u_char *p) ^~~~~~~~~~~ labrea_init.c:543:22: warning: pointer targets in passing argument 1 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] build_bpf_filter(texpr, bpf, BPFSIZE); ^~~~~ labrea_init.c:123:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^~~~~~~~~~~~~~~~ labrea_init.c:543:29: warning: pointer targets in passing argument 2 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] build_bpf_filter(texpr, bpf, BPFSIZE); ^~~ labrea_init.c:123:1: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^~~~~~~~~~~~~~~~ labrea_init.c:553:24: warning: pointer targets in passing argument 1 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] build_bpf_filter(texpr, " or (", BPFSIZE); ^~~~~ labrea_init.c:123:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^~~~~~~~~~~~~~~~ labrea_init.c:553:31: warning: pointer targets in passing argument 2 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] build_bpf_filter(texpr, " or (", BPFSIZE); ^~~~~~~ labrea_init.c:123:1: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^~~~~~~~~~~~~~~~ labrea_init.c:556:19: warning: pointer targets in passing argument 1 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] build_bpf_filter(texpr, argv[c], BPFSIZE); /* tack on another argument */ ^~~~~ labrea_init.c:123:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^~~~~~~~~~~~~~~~ labrea_init.c:556:26: warning: pointer targets in passing argument 2 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] build_bpf_filter(texpr, argv[c], BPFSIZE); /* tack on another argument */ ^~~~ labrea_init.c:123:1: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^~~~~~~~~~~~~~~~ labrea_init.c:558:24: warning: pointer targets in passing argument 1 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] build_bpf_filter(texpr, ")", BPFSIZE); ^~~~~ labrea_init.c:123:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^~~~~~~~~~~~~~~~ labrea_init.c:558:31: warning: pointer targets in passing argument 2 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] build_bpf_filter(texpr, ")", BPFSIZE); ^~~ labrea_init.c:123:1: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^~~~~~~~~~~~~~~~ labrea_init.c:568:21: warning: pointer targets in passing argument 1 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] build_bpf_filter(texpr, " or (", BPFSIZE); ^~~~~ labrea_init.c:123:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^~~~~~~~~~~~~~~~ labrea_init.c:568:28: warning: pointer targets in passing argument 2 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] build_bpf_filter(texpr, " or (", BPFSIZE); ^~~~~~~ labrea_init.c:123:1: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^~~~~~~~~~~~~~~~ labrea_init.c:573:25: warning: pointer targets in passing argument 1 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] build_bpf_filter(texpr, mybuffer, BPFSIZE); ^~~~~ labrea_init.c:123:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^~~~~~~~~~~~~~~~ labrea_init.c:573:32: warning: pointer targets in passing argument 2 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] build_bpf_filter(texpr, mybuffer, BPFSIZE); ^~~~~~~~ labrea_init.c:123:1: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^~~~~~~~~~~~~~~~ labrea_init.c:576:23: warning: pointer targets in passing argument 1 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] build_bpf_filter(texpr, ")", BPFSIZE); ^~~~~ labrea_init.c:123:1: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^~~~~~~~~~~~~~~~ labrea_init.c:576:30: warning: pointer targets in passing argument 2 of 'build_bpf_filter' differ in signedness [-Wpointer-sign] build_bpf_filter(texpr, ")", BPFSIZE); ^~~ labrea_init.c:123:1: note: expected 'const u_char * {aka const unsigned char *}' but argument is of type 'char *' build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) ^~~~~~~~~~~~~~~~ labrea_init.c:670:13: warning: pointer targets in passing argument 1 of 'lbio_init' differ in signedness [-Wpointer-sign] lbio_init(dev, texpr); ^~~ In file included from labrea_init.c:54:0: ../inc/lbio.h:66:7: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' void lbio_init(u_char *dev, u_char *texpr); ^~~~~~~~~ labrea_init.c:670:18: warning: pointer targets in passing argument 2 of 'lbio_init' differ in signedness [-Wpointer-sign] lbio_init(dev, texpr); ^~~~~ In file included from labrea_init.c:54:0: ../inc/lbio.h:66:7: note: expected 'u_char * {aka unsigned char *}' but argument is of type 'char *' void lbio_init(u_char *dev, u_char *texpr); ^~~~~~~~~ --- lbio.o --- *** [lbio.o] Error code 1 make[2]: stopped in /tmp/net/LaBrea/work/labrea-2.5-stable-1/src --- labrea_init.o --- *** [labrea_init.o] Error code 1 make[2]: stopped in /tmp/net/LaBrea/work/labrea-2.5-stable-1/src 2 errors make[2]: stopped in /tmp/net/LaBrea/work/labrea-2.5-stable-1/src *** [all-recursive] Error code 1 make[1]: stopped in /tmp/net/LaBrea/work/labrea-2.5-stable-1 1 error make[1]: stopped in /tmp/net/LaBrea/work/labrea-2.5-stable-1 *** [all] Error code 2 make: stopped in /tmp/net/LaBrea/work/labrea-2.5-stable-1 1 error make: stopped in /tmp/net/LaBrea/work/labrea-2.5-stable-1 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/LaBrea *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/LaBrea