+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libtrace-4.0.10nb17/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libtrace-4.0.10nb17/work.log
===> Building for libtrace-4.0.10nb17
/opt/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/home/pbulk/build/net/libtrace/work/libtrace-4.0.10'
Making all in lib
gmake[2]: Entering directory '/home/pbulk/build/net/libtrace/work/libtrace-4.0.10/lib'
/opt/pkg/bin/gmake  all-am
gmake[3]: Entering directory '/home/pbulk/build/net/libtrace/work/libtrace-4.0.10/lib'
  CC     trace.lo
  CC     trace_parallel.lo
  CC     format_erf.lo
  CC     format_pktmeta.lo
trace.c: In function 'trace_apply_filter':
trace.c:1829:13: warning: implicit declaration of function 'bpf_filter' [-Wimplicit-function-declaration]
 1829 |         ret=bpf_filter(filter->filter.bf_insns,(u_char*)linkptr,(unsigned int)clen,(unsigned int)clen);
      |             ^~~~~~~~~~
In function 'xstrncpy',
    inlined from 'trace_create_dead' at trace.c:390:3:
trace.c:121:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
  121 |         strncpy(dest,src,slen);
      |         ^~~~~~~~~~~~~~~~~~~~~~
trace.c: In function 'trace_create_dead':
trace.c:390:17: note: length computed here
  390 |                 xstrncpy(scan, uri, strlen(uri), URI_PROTO_LINE);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC     format_pcap.lo
  CC     format_legacy.lo
  CC     format_rt.lo
  CC     format_helper.lo
  CC     format_pcapfile.lo
  CC     format_duck.lo
  CC     format_tsh.lo
  CC     format_linux_common.lo
In file included from format_linux_common.c:49:
format_linux_common.h:45:10: fatal error: net/ethernet.h: No such file or directory
   45 | #include <net/ethernet.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
  CC     format_linux_ring.lo
gmake[3]: *** [Makefile:628: format_linux_common.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
In file included from format_linux_ring.c:54:
format_linux_common.h:45:10: fatal error: net/ethernet.h: No such file or directory
   45 | #include <net/ethernet.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
gmake[3]: *** [Makefile:628: format_linux_ring.lo] Error 1
gmake[3]: Leaving directory '/home/pbulk/build/net/libtrace/work/libtrace-4.0.10/lib'
gmake[2]: *** [Makefile:427: all] Error 2
gmake[2]: Leaving directory '/home/pbulk/build/net/libtrace/work/libtrace-4.0.10/lib'
gmake[1]: *** [Makefile:450: all-recursive] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/net/libtrace/work/libtrace-4.0.10'
gmake: *** [Makefile:338: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libtrace
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/libtrace