+ 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/tcpreplay-4.4.4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tcpreplay-4.4.4/work.log
===> Building for tcpreplay-4.4.4
--- all-recursive ---
Making all in scripts
Making all in lib
Making all in libopts
--- all ---
/opt/pkg/bin/bmake  all-am
--- libopts_la-libopts.lo ---
  CC       libopts_la-libopts.lo
--- libopts.la ---
  CCLD     libopts.la
libtool: warning: '-version-info/-version-number' is ignored for convenience libraries
Making all in src
--- all ---
/opt/pkg/bin/bmake  all-recursive
--- all-recursive ---
Making all in common
--- all ---
/opt/pkg/bin/bmake  all-am
--- cidr.o ---
--- err.o ---
--- list.o ---
--- cache.o ---
--- cidr.o ---
  CC       cidr.o
--- err.o ---
  CC       err.o
--- list.o ---
  CC       list.o
--- cache.o ---
  CC       cache.o
In file included from ../../src/common/sendpacket.h:30,
                 from ../../src/common.h:42,
                 from cache.c:23:
/usr/include/netinet/if_ether.h:78:23: error: field 'ac_if' has incomplete type
   78 |         struct  ifnet ac_if;            /* network-visible interface */
      |                       ^~~~~
compilation terminated due to -Wfatal-errors.
--- cidr.o ---
In file included from ../../src/common/sendpacket.h:30,
                 from ../../src/common.h:42,
                 from cidr.c:23:
/usr/include/netinet/if_ether.h:78:23: error: field 'ac_if' has incomplete type
   78 |         struct  ifnet ac_if;            /* network-visible interface */
      |                       ^~~~~
compilation terminated due to -Wfatal-errors.
--- err.o ---
In file included from ../../src/common/sendpacket.h:30,
                 from ../../src/common.h:42,
                 from err.c:47:
/usr/include/netinet/if_ether.h:78:23: error: field 'ac_if' has incomplete type
   78 |         struct  ifnet ac_if;            /* network-visible interface */
      |                       ^~~~~
compilation terminated due to -Wfatal-errors.
--- list.o ---
In file included from ../../src/common/sendpacket.h:30,
                 from ../../src/common.h:42,
                 from list.c:29:
/usr/include/netinet/if_ether.h:78:23: error: field 'ac_if' has incomplete type
   78 |         struct  ifnet ac_if;            /* network-visible interface */
      |                       ^~~~~
compilation terminated due to -Wfatal-errors.
--- cache.o ---
*** [cache.o] Error code 1

bmake[4]: stopped making "all-am" in /home/pbulk/build/net/tcpreplay/work/tcpreplay-4.4.4/src/common
--- cidr.o ---
*** [cidr.o] Error code 1

bmake[4]: stopped making "all-am" in /home/pbulk/build/net/tcpreplay/work/tcpreplay-4.4.4/src/common
--- err.o ---
*** [err.o] Error code 1

bmake[4]: stopped making "all-am" in /home/pbulk/build/net/tcpreplay/work/tcpreplay-4.4.4/src/common
--- list.o ---
*** [list.o] Error code 1

bmake[4]: stopped making "all-am" in /home/pbulk/build/net/tcpreplay/work/tcpreplay-4.4.4/src/common
bmake[4]: 4 errors

bmake[4]: stopped making "all-am" in /home/pbulk/build/net/tcpreplay/work/tcpreplay-4.4.4/src/common

bmake[3]: stopped making "all" in /home/pbulk/build/net/tcpreplay/work/tcpreplay-4.4.4/src/common

bmake[2]: stopped making "all-recursive" in /home/pbulk/build/net/tcpreplay/work/tcpreplay-4.4.4/src

bmake[1]: stopped making "all" in /home/pbulk/build/net/tcpreplay/work/tcpreplay-4.4.4/src

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

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

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