=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for ngrep-1.45nb1 /usr/pkg/bin/gmake -C regex-0.12 regex.o gmake[1]: Entering directory '/usr/pkgsrc/work/net/ngrep/work/ngrep-1.45/regex-0.12' cc -g -D_POSIX_SOURCE=1 -D_POSIX_1_SOURCE=2 -D_MINIX=1 -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_ALLOCA=1 -I. -I. -c regex.c regex.c:1639:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ regex.c:1659:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ regex.c:2847:33: warning: expression which evaluates to zero treated as a null pointer constant of type 'regoff_t *' (aka 'int *') [-Wnon-literal-null-conversion] regs->start = regs->end = (regoff_t) 0; ^~~~~~~~~~~~ 3 warnings generated. gmake[1]: Leaving directory '/usr/pkgsrc/work/net/ngrep/work/ngrep-1.45/regex-0.12' cc -O2 -march=i586 -I/usr/pkg/include -DUNKNOWN_OS -DHAVE_CONFIG_H -D_BSD_SOURCE=1 -D__FAVOR_BSD=1 -I. -I/usr/pkg/include -g -c ngrep.c In file included from ngrep.c:66: In file included from /usr/include/netinet/ip.h:37: /usr/include/netinet/in_systm.h:50:9: error: unknown type name 'u_int16_t' typedef u_int16_t n_short; /* short as received from the net */ ^ /usr/include/netinet/in_systm.h:51:9: error: unknown type name 'u_int32_t' typedef u_int32_t n_long; /* long as received from the net */ ^ /usr/include/netinet/in_systm.h:53:9: error: unknown type name 'u_int32_t' typedef u_int32_t n_time; /* ms since 00:00 GMT, byte rev */ ^ In file included from ngrep.c:66: /usr/include/netinet/ip.h:53:15: error: duplicate member 'ip_v' unsigned int ip_v:4, /* version */ ^ /usr/include/netinet/ip.h:50:8: note: previous declaration is here ip_v:4; /* version */ ^ /usr/include/netinet/ip.h:54:8: error: duplicate member 'ip_hl' ip_hl:4; /* header length */ ^ /usr/include/netinet/ip.h:49:15: note: previous declaration is here unsigned int ip_hl:4, /* header length */ ^ /usr/include/netinet/ip.h:56:2: error: unknown type name 'u_int8_t' u_int8_t ip_tos; /* type of service */ ^ /usr/include/netinet/ip.h:57:2: error: unknown type name 'u_int16_t' u_int16_t ip_len; /* total length */ ^ /usr/include/netinet/ip.h:58:2: error: unknown type name 'u_int16_t' u_int16_t ip_id; /* identification */ ^ /usr/include/netinet/ip.h:59:2: error: unknown type name 'u_int16_t' u_int16_t ip_off; /* fragment offset field */ ^ /usr/include/netinet/ip.h:65:2: error: unknown type name 'u_int8_t' u_int8_t ip_ttl; /* time to live */ ^ /usr/include/netinet/ip.h:66:2: error: unknown type name 'u_int8_t' u_int8_t ip_p; /* protocol */ ^ /usr/include/netinet/ip.h:67:2: error: unknown type name 'u_int16_t' u_int16_t ip_sum; /* checksum */ ^ /usr/include/netinet/ip.h:68:19: error: field has incomplete type 'struct in_addr' struct in_addr ip_src, ip_dst; /* source and dest address */ ^ /usr/include/netinet/ip.h:68:11: note: forward declaration of 'struct in_addr' struct in_addr ip_src, ip_dst; /* source and dest address */ ^ /usr/include/netinet/ip.h:68:27: error: field has incomplete type 'struct in_addr' struct in_addr ip_src, ip_dst; /* source and dest address */ ^ /usr/include/netinet/ip.h:68:11: note: forward declaration of 'struct in_addr' struct in_addr ip_src, ip_dst; /* source and dest address */ ^ /usr/include/netinet/ip.h:190:2: error: unknown type name 'u_int8_t' u_int8_t ipt_code; /* IPOPT_TS */ ^ /usr/include/netinet/ip.h:191:2: error: unknown type name 'u_int8_t' u_int8_t ipt_len; /* size of structure (variable) */ ^ /usr/include/netinet/ip.h:192:2: error: unknown type name 'u_int8_t' u_int8_t ipt_ptr; /* index of current entry */ ^ /usr/include/netinet/ip.h:198:15: error: duplicate member 'ipt_oflw' unsigned int ipt_oflw:4, /* overflow counter */ ^ /usr/include/netinet/ip.h:195:8: note: previous declaration is here ipt_oflw:4; /* overflow counter */ ^ /usr/include/netinet/ip.h:199:8: error: duplicate member 'ipt_flg' ipt_flg:4; /* flags, see below */ ^ /usr/include/netinet/ip.h:194:15: note: previous declaration is here unsigned int ipt_flg:4, /* flags, see below */ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. Makefile:55: recipe for target 'ngrep.o' failed gmake: *** [ngrep.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/net/ngrep *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/ngrep