+ 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/libnet-1.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libnet-1.2/work.log
===> Building for libnet-1.2
--- all-recursive ---
Making all in include
--- all ---
/opt/pkg/bin/bmake  all-am
Making all in src
--- libnet_asn1.lo ---
--- libnet_build_802.1q.lo ---
--- libnet_build_802.1x.lo ---
--- libnet_build_802.2.lo ---
--- libnet_asn1.lo ---
  CC       libnet_asn1.lo
--- libnet_build_802.1q.lo ---
  CC       libnet_build_802.1q.lo
--- libnet_build_802.1x.lo ---
  CC       libnet_build_802.1x.lo
--- libnet_build_802.2.lo ---
  CC       libnet_build_802.2.lo
--- libnet_build_802.3.lo ---
  CC       libnet_build_802.3.lo
--- libnet_build_arp.lo ---
  CC       libnet_build_arp.lo
--- libnet_build_bgp.lo ---
  CC       libnet_build_bgp.lo
--- libnet_build_cdp.lo ---
  CC       libnet_build_cdp.lo
--- libnet_build_data.lo ---
  CC       libnet_build_data.lo
--- libnet_build_dhcp.lo ---
  CC       libnet_build_dhcp.lo
--- libnet_build_dns.lo ---
  CC       libnet_build_dns.lo
--- libnet_build_ethernet.lo ---
  CC       libnet_build_ethernet.lo
--- libnet_build_fddi.lo ---
  CC       libnet_build_fddi.lo
--- libnet_build_gre.lo ---
  CC       libnet_build_gre.lo
--- libnet_build_hsrp.lo ---
  CC       libnet_build_hsrp.lo
--- libnet_build_icmp.lo ---
  CC       libnet_build_icmp.lo
--- libnet_build_igmp.lo ---
  CC       libnet_build_igmp.lo
--- libnet_build_ip.lo ---
  CC       libnet_build_ip.lo
--- libnet_build_ipsec.lo ---
  CC       libnet_build_ipsec.lo
--- libnet_build_isl.lo ---
  CC       libnet_build_isl.lo
--- libnet_build_link.lo ---
  CC       libnet_build_link.lo
--- libnet_build_mpls.lo ---
  CC       libnet_build_mpls.lo
--- libnet_build_ntp.lo ---
  CC       libnet_build_ntp.lo
--- libnet_build_ospf.lo ---
  CC       libnet_build_ospf.lo
--- libnet_build_rip.lo ---
  CC       libnet_build_rip.lo
--- libnet_build_rpc.lo ---
  CC       libnet_build_rpc.lo
--- libnet_build_sebek.lo ---
  CC       libnet_build_sebek.lo
--- libnet_build_snmp.lo ---
  CC       libnet_build_snmp.lo
--- libnet_build_stp.lo ---
  CC       libnet_build_stp.lo
--- libnet_build_tcp.lo ---
  CC       libnet_build_tcp.lo
--- libnet_build_token_ring.lo ---
  CC       libnet_build_token_ring.lo
--- libnet_build_udp.lo ---
  CC       libnet_build_udp.lo
--- libnet_build_vrrp.lo ---
  CC       libnet_build_vrrp.lo
--- libnet_advanced.lo ---
  CC       libnet_advanced.lo
--- libnet_checksum.lo ---
  CC       libnet_checksum.lo
--- libnet_cq.lo ---
  CC       libnet_cq.lo
--- libnet_crc.lo ---
  CC       libnet_crc.lo
--- libnet_error.lo ---
  CC       libnet_error.lo
--- libnet_if_addr.lo ---
  CC       libnet_if_addr.lo
--- libnet_init.lo ---
  CC       libnet_init.lo
--- libnet_internal.lo ---
  CC       libnet_internal.lo
--- libnet_pblock.lo ---
  CC       libnet_pblock.lo
--- libnet_port_list.lo ---
  CC       libnet_port_list.lo
--- libnet_prand.lo ---
  CC       libnet_prand.lo
--- libnet_raw.lo ---
  CC       libnet_raw.lo
--- libnet_resolve.lo ---
  CC       libnet_resolve.lo
--- libnet_version.lo ---
  CC       libnet_version.lo
--- libnet_write.lo ---
  CC       libnet_write.lo
--- libnet_link_bpf.lo ---
  CC       libnet_link_bpf.lo
libnet_link_bpf.c:43:10: fatal error: sys/sysctl.h: No such file or directory
   43 | #include <sys/sysctl.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
*** [libnet_link_bpf.lo] Error code 1

bmake[1]: stopped making "all" in /home/pbulk/build/devel/libnet/work/libnet-1.2/src
bmake[1]: 1 error

bmake[1]: stopped making "all" in /home/pbulk/build/devel/libnet/work/libnet-1.2/src

bmake: stopped making "all" in /home/pbulk/build/devel/libnet/work/libnet-1.2
*** Error code 2

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

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