=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for ngrep-1.45nb1 /usr/pkg/bin/gmake _PKGSRC_BARRIER=yes _PKGSRCDIR=/usr/pkgsrc _PATH_ORIG=/bin:/sbin:/usr/pkg.sav/bin:/usr/pkg.sav/sbin:/usr/bin:/usr/sbin:/usr/pbulk/bin:/usr/pbulk/sbin:/usr/pkg.sav/gcc44/bin:/root/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/pkg/bin:/usr/pkg/sbin:/usr/pkg/X11R6/bin _MAKE=/usr/pkg/bin/bmake _CC=/usr/pkg.sav/gcc44/bin/gcc WRKLOG=/usr/pbulk-logs/ngrep-1.45nb1/work.log PKGTOOLS_VERSION=20130131 OS_VERSION=3.2.1 OPSYS=Minix LOWER_OPSYS=minix DEPENDS_TARGET=/nonexistent BATCH=1 ALLOW_VULNERABLE_PACKAGES= -C regex-0.12 regex.o gmake[1]: Entering directory `/usr/pkgsrc/work/net/ngrep/work/ngrep-1.45/regex-0.12' gcc -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 gmake[1]: Leaving directory `/usr/pkgsrc/work/net/ngrep/work/ngrep-1.45/regex-0.12' gcc -Wno-error -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 ngrep.c:66:24: error: netinet/ip.h: no such file or directory In file included from ngrep.c:67: /usr/include/netinet/tcp.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tcp_seq' /usr/include/netinet/tcp.h:48: error: expected specifier-qualifier-list before 'u_int16_t' ngrep.c:68:25: error: netinet/udp.h: no such file or directory ngrep.c:69:29: error: netinet/ip_icmp.h: no such file or directory ngrep.c:70:26: error: netinet/igmp.h: no such file or directory ngrep.c:90:25: error: netinet/ip6.h: no such file or directory ngrep.c:91:27: error: netinet/icmp6.h: no such file or directory ngrep.c: In function 'main': ngrep.c:201: error: 'optarg' undeclared (first use in this function) ngrep.c:201: error: (Each undeclared identifier is reported only once ngrep.c:201: error: for each function it appears in.) ngrep.c:325: error: 'optind' undeclared (first use in this function) ngrep.c:352: error: invalid use of undefined type 'struct in_addr' ngrep.c:352: error: invalid use of undefined type 'struct in_addr' ngrep.c:354: error: invalid application of 'sizeof' to incomplete type 'struct in_addr' ngrep.c:355: error: invalid application of 'sizeof' to incomplete type 'struct in_addr' ngrep.c:360: error: invalid use of undefined type 'struct in_addr' ngrep.c:360: error: invalid use of undefined type 'struct in_addr' ngrep.c:361: error: 'net' has an incomplete type ngrep.c:362: error: 'mask' has an incomplete type ngrep.c:381: error: invalid use of undefined type 'struct in_addr' ngrep.c:389: error: invalid use of undefined type 'struct in_addr' ngrep.c:396: error: invalid use of undefined type 'struct in_addr' ngrep.c:405: error: invalid use of undefined type 'struct in_addr' ngrep.c: In function 'process': ngrep.c:630: error: 'INET6_ADDRSTRLEN' undeclared (first use in this function) ngrep.c:644: error: dereferencing pointer to incomplete type ngrep.c:653: error: dereferencing pointer to incomplete type ngrep.c:655: error: dereferencing pointer to incomplete type ngrep.c:656: error: dereferencing pointer to incomplete type ngrep.c:658: error: 'IP_MF' undeclared (first use in this function) ngrep.c:660: error: dereferencing pointer to incomplete type ngrep.c:662: error: 'AF_INET' undeclared (first use in this function) ngrep.c:662: error: dereferencing pointer to incomplete type ngrep.c:663: error: dereferencing pointer to incomplete type ngrep.c:668: error: invalid application of 'sizeof' to incomplete type 'struct ip6_hdr' ngrep.c:669: error: dereferencing pointer to incomplete type ngrep.c:671: error: 'IPPROTO_FRAGMENT' undeclared (first use in this function) ngrep.c:675: error: invalid application of 'sizeof' to incomplete type 'struct ip6_frag' ngrep.c:676: error: dereferencing pointer to incomplete type ngrep.c:679: error: dereferencing pointer to incomplete type ngrep.c:679: error: 'IP6F_OFF_MASK' undeclared (first use in this function) ngrep.c:680: error: dereferencing pointer to incomplete type ngrep.c:683: error: 'AF_INET6' undeclared (first use in this function) ngrep.c:683: error: dereferencing pointer to incomplete type ngrep.c:684: error: dereferencing pointer to incomplete type ngrep.c:695: error: 'IPPROTO_TCP' undeclared (first use in this function) ngrep.c:697: error: 'struct tcphdr' has no member named 'th_off' ngrep.c:704: error: dereferencing pointer to incomplete type ngrep.c:711: error: 'struct tcphdr' has no member named 'th_sport' ngrep.c:711: error: 'struct tcphdr' has no member named 'th_dport' ngrep.c:711: error: 'struct tcphdr' has no member named 'th_flags' ngrep.c:715: error: 'IPPROTO_UDP' undeclared (first use in this function) ngrep.c:717: error: dereferencing pointer to incomplete type ngrep.c:724: error: dereferencing pointer to incomplete type ngrep.c:734: error: dereferencing pointer to incomplete type ngrep.c:734: error: dereferencing pointer to incomplete type ngrep.c:739: error: 'IPPROTO_ICMP' undeclared (first use in this function) ngrep.c:750: error: dereferencing pointer to incomplete type ngrep.c:750: error: dereferencing pointer to incomplete type ngrep.c:755: error: 'IPPROTO_ICMPV6' undeclared (first use in this function) ngrep.c:760: error: dereferencing pointer to incomplete type ngrep.c:766: error: dereferencing pointer to incomplete type ngrep.c:766: error: dereferencing pointer to incomplete type ngrep.c:771: error: 'IPPROTO_IGMP' undeclared (first use in this function) ngrep.c:782: error: dereferencing pointer to incomplete type ngrep.c:782: error: dereferencing pointer to incomplete type ngrep.c: In function 'dump_packet': ngrep.c:827: error: 'IPPROTO_TCP' undeclared (first use in this function) ngrep.c:828: error: 'IPPROTO_UDP' undeclared (first use in this function) ngrep.c:829: error: 'IPPROTO_ICMP' undeclared (first use in this function) ngrep.c:830: error: 'IPPROTO_ICMPV6' undeclared (first use in this function) ngrep.c:831: error: 'IPPROTO_IGMP' undeclared (first use in this function) ngrep.c: In function 'update_windowsize': ngrep.c:1165: error: storage size of 'ws' isn't known ngrep.c:1167: error: invalid application of 'sizeof' to incomplete type 'struct winsize' ngrep.c: In function 'drop_privs': ngrep.c:1186: warning: assignment makes pointer from integer without a cast ngrep.c:1192: error: dereferencing pointer to incomplete type ngrep.c:1193: error: dereferencing pointer to incomplete type gmake: *** [ngrep.o] Error 1 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/net/ngrep *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/ngrep