+ 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/traceroute-as-991603nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/traceroute-as-991603nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for traceroute-as-991603nb1
--- aslookup.o ---
--- vers.o ---
--- aslookup.o ---
cc -pipe -O2     -c aslookup.c
--- vers.o ---
cc -pipe -O2     -c vers.c
--- aslookup ---
cc -pipe -O2    -DSTANDALONE -c aslookup.c -o aslookup-std.o
--- traceroute.o ---
cc -pipe -O2     -c traceroute.c
--- aslookup ---
cc -pipe -O2    -DSTANDALONE -c vers.c -o vers-std.o
--- traceroute.o ---
In file included from traceroute.c:282:
linux.h:89:8: error: redefinition of 'struct icmp'
   89 | struct icmp {
      |        ^~~~
In file included from traceroute.c:272:
/usr/include/netinet/ip_icmp.h:155:8: note: originally defined here
  155 | struct icmp
      |        ^~~~
In file included from traceroute.c:282:
linux.h:96:24: error: redefinition of 'struct ih_idseq'
   96 |                 struct ih_idseq {
      |                        ^~~~~~~~
In file included from traceroute.c:272:
/usr/include/netinet/ip_icmp.h:164:12: note: originally defined here
  164 |     struct ih_idseq             /* echo datagram */
      |            ^~~~~~~~
--- aslookup ---
cc -pipe -O2    -o aslookup aslookup-std.o vers-std.o 
--- traceroute.o ---
traceroute.c: In function 'check_proto':
traceroute.c:990:31: error: 'IPPROTO_IPV4' undeclared (first use in this function); did you mean 'IPPROTO_IPV6'?
  990 |         if (proto->p_proto != IPPROTO_IPV4)
      |                               ^~~~~~~~~~~~
      |                               IPPROTO_IPV6
traceroute.c:990:31: note: each undeclared identifier is reported only once for each function it appears in
In file included from traceroute.c:282:
traceroute.c: In function 'send_probe':
linux.h:74:16: error: 'struct ip' has no member named 'ip_csum'; did you mean 'ip_sum'?
   74 | #define ip_sum ip_csum                  /* struct ip defines ip_csum */
      |                ^~~~~~~
traceroute.c:1631:13: note: in expansion of macro 'ip_sum'
 1631 |         ip->ip_sum = (u_short) 0;               /* checksum */
      |             ^~~~~~
traceroute.c: In function 'print_iphdr':
linux.h:74:16: error: 'struct ip' has no member named 'ip_csum'; did you mean 'ip_sum'?
   74 | #define ip_sum ip_csum                  /* struct ip defines ip_csum */
      |                ^~~~~~~
traceroute.c:2187:13: note: in expansion of macro 'ip_sum'
 2187 |         ip->ip_sum = ntohs(ip->ip_sum);
      |             ^~~~~~
In file included from traceroute.c:267:
linux.h:74:16: error: 'struct ip' has no member named 'ip_csum'; did you mean 'ip_sum'?
   74 | #define ip_sum ip_csum                  /* struct ip defines ip_csum */
      |                ^~~~~~~
traceroute.c:2187:32: note: in expansion of macro 'ip_sum'
 2187 |         ip->ip_sum = ntohs(ip->ip_sum);
      |                                ^~~~~~
In file included from traceroute.c:282:
linux.h:74:16: error: 'struct ip' has no member named 'ip_csum'; did you mean 'ip_sum'?
   74 | #define ip_sum ip_csum                  /* struct ip defines ip_csum */
      |                ^~~~~~~
traceroute.c:2205:31: note: in expansion of macro 'ip_sum'
 2205 |         printf(" %04x",   ip->ip_sum);
      |                               ^~~~~~
traceroute.c: In function 'main':
traceroute.c:817:16: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
  817 |         (void) setuid(getuid());
      |                ^~~~~~~~~~~~~~~~
*** [traceroute.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/net/traceroute-as/work
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/net/traceroute-as/work
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/traceroute-as
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/traceroute-as