+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tcptraceroute6-1.0.4/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tcptraceroute6-1.0.4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for tcptraceroute6-1.0.4 --- all --- /usr/pkg/bin/bmake all-recursive --- all-recursive --- Making all in po --- src/.dirstamp --- --- src/.deps/.dirstamp --- --- rdnss/.dirstamp --- --- rdnss/.deps/.dirstamp --- --- compat/.dirstamp --- --- compat/.deps/.dirstamp --- --- tracert6 --- ALIAS tracert6 --- src/addrinfo.o --- --- src/ndisc.o --- --- src/addrinfo.o --- CC src/addrinfo.o --- src/ndisc.o --- CC src/ndisc.o --- src/rdisc6-ndisc.o --- CC src/rdisc6-ndisc.o --- src/traceroute.o --- CC src/traceroute.o --- src/trace-tcp.o --- CC src/trace-tcp.o src/trace-tcp.c: In function 'send_syn_probe': src/trace-tcp.c:63:12: error: 'struct tcphdr' has no member named 'th_sport' packet->th.th_sport = sport; ^ src/trace-tcp.c:64:12: error: 'struct tcphdr' has no member named 'th_dport' packet->th.th_dport = port; ^ src/trace-tcp.c:65:12: error: 'struct tcphdr' has no member named 'th_seq' packet->th.th_seq = htonl((ttl << 24) | (n << 16) | (getpid() & 0xffff)); ^ src/trace-tcp.c:66:12: error: 'struct tcphdr' has no member named 'th_off' packet->th.th_off = sizeof (packet->th) / 4; ^ src/trace-tcp.c:67:12: error: 'struct tcphdr' has no member named 'th_flags' packet->th.th_flags = TH_SYN | (ecn ? (TH_ECE | TH_CWR) : 0); ^ src/trace-tcp.c:67:24: error: 'TH_SYN' undeclared (first use in this function) packet->th.th_flags = TH_SYN | (ecn ? (TH_ECE | TH_CWR) : 0); ^ src/trace-tcp.c:67:24: note: each undeclared identifier is reported only once for each function it appears in src/trace-tcp.c:68:12: error: 'struct tcphdr' has no member named 'th_win' packet->th.th_win = htons(TCP_WINDOW); ^ src/trace-tcp.c: In function 'parse_syn_resp': src/trace-tcp.c:82:10: error: 'const struct tcphdr' has no member named 'th_dport' || (pth->th_dport != sport) ^ src/trace-tcp.c:83:10: error: 'const struct tcphdr' has no member named 'th_sport' || (pth->th_sport != port) ^ src/trace-tcp.c:84:11: error: 'const struct tcphdr' has no member named 'th_flags' || ((pth->th_flags & TH_ACK) == 0) ^ src/trace-tcp.c:84:24: error: 'TH_ACK' undeclared (first use in this function) || ((pth->th_flags & TH_ACK) == 0) ^ src/trace-tcp.c:85:12: error: 'const struct tcphdr' has no member named 'th_flags' || (((pth->th_flags & TH_SYN) != 0) == ((pth->th_flags & TH_RST) != 0)) ^ src/trace-tcp.c:85:25: error: 'TH_SYN' undeclared (first use in this function) || (((pth->th_flags & TH_SYN) != 0) == ((pth->th_flags & TH_RST) != 0)) ^ src/trace-tcp.c:85:47: error: 'const struct tcphdr' has no member named 'th_flags' || (((pth->th_flags & TH_SYN) != 0) == ((pth->th_flags & TH_RST) != 0)) ^ src/trace-tcp.c:85:60: error: 'TH_RST' undeclared (first use in this function) || (((pth->th_flags & TH_SYN) != 0) == ((pth->th_flags & TH_RST) != 0)) ^ src/trace-tcp.c:86:10: error: 'const struct tcphdr' has no member named 'th_off' || (pth->th_off < (sizeof (*pth) / 4))) ^ In file included from src/trace-tcp.c:36:0: src/trace-tcp.c:89:18: error: 'const struct tcphdr' has no member named 'th_ack' seq = ntohl (pth->th_ack) - 1; ^ src/trace-tcp.c:95:18: error: 'const struct tcphdr' has no member named 'th_flags' return 1 + ((pth->th_flags & TH_SYN) == TH_SYN); ^ src/trace-tcp.c: In function 'parse_syn_error': src/trace-tcp.c:107:10: error: 'const struct tcphdr' has no member named 'th_sport' || (pth->th_sport != sport) ^ src/trace-tcp.c:108:10: error: 'const struct tcphdr' has no member named 'th_dport' || (pth->th_dport != port)) ^ In file included from src/trace-tcp.c:36:0: src/trace-tcp.c:111:18: error: 'const struct tcphdr' has no member named 'th_seq' seq = ntohl (pth->th_seq); ^ src/trace-tcp.c: In function 'send_ack_probe': src/trace-tcp.c:141:12: error: 'struct tcphdr' has no member named 'th_sport' packet->th.th_sport = sport; ^ src/trace-tcp.c:142:12: error: 'struct tcphdr' has no member named 'th_dport' packet->th.th_dport = port; ^ src/trace-tcp.c:143:12: error: 'struct tcphdr' has no member named 'th_ack' packet->th.th_ack = htonl((ttl << 24) | (n << 16) | (getpid () & 0xffff)); ^ src/trace-tcp.c:144:12: error: 'struct tcphdr' has no member named 'th_off' packet->th.th_off = sizeof (packet->th) / 4; ^ src/trace-tcp.c:145:12: error: 'struct tcphdr' has no member named 'th_flags' packet->th.th_flags = TH_ACK; ^ src/trace-tcp.c:145:24: error: 'TH_ACK' undeclared (first use in this function) packet->th.th_flags = TH_ACK; ^ src/trace-tcp.c:146:12: error: 'struct tcphdr' has no member named 'th_win' packet->th.th_win = htons(TCP_WINDOW); ^ src/trace-tcp.c: In function 'parse_ack_resp': src/trace-tcp.c:160:10: error: 'const struct tcphdr' has no member named 'th_dport' || (pth->th_dport != sport) ^ src/trace-tcp.c:161:10: error: 'const struct tcphdr' has no member named 'th_sport' || (pth->th_sport != port) ^ src/trace-tcp.c:162:10: error: 'const struct tcphdr' has no member named 'th_flags' || (pth->th_flags & TH_SYN) ^ src/trace-tcp.c:162:23: error: 'TH_SYN' undeclared (first use in this function) || (pth->th_flags & TH_SYN) ^ src/trace-tcp.c:163:10: error: 'const struct tcphdr' has no member named 'th_flags' || (pth->th_flags & TH_ACK) ^ src/trace-tcp.c:163:23: error: 'TH_ACK' undeclared (first use in this function) || (pth->th_flags & TH_ACK) ^ src/trace-tcp.c:164:11: error: 'const struct tcphdr' has no member named 'th_flags' || ((pth->th_flags & TH_RST) == 0) ^ src/trace-tcp.c:164:24: error: 'TH_RST' undeclared (first use in this function) || ((pth->th_flags & TH_RST) == 0) ^ src/trace-tcp.c:165:10: error: 'const struct tcphdr' has no member named 'th_off' || (pth->th_off < (sizeof (*pth) / 4))) ^ In file included from src/trace-tcp.c:36:0: src/trace-tcp.c:168:18: error: 'const struct tcphdr' has no member named 'th_seq' seq = ntohl (pth->th_seq); ^ src/trace-tcp.c: In function 'parse_ack_error': src/trace-tcp.c:186:10: error: 'const struct tcphdr' has no member named 'th_sport' || (pth->th_sport != sport) ^ src/trace-tcp.c:187:10: error: 'const struct tcphdr' has no member named 'th_dport' || (pth->th_dport != port)) ^ In file included from src/trace-tcp.c:36:0: src/trace-tcp.c:190:18: error: 'const struct tcphdr' has no member named 'th_ack' seq = ntohl (pth->th_ack); ^ *** [src/trace-tcp.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 1 error bmake[2]: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 1 error bmake[1]: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 1 error bmake: stopped in /home/pbulk/build/net/tcptraceroute6/work/ndisc6-1.0.4 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/tcptraceroute6 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/tcptraceroute6