+ 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/mesure-0.5nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mesure-0.5nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for mesure-0.5nb3
cd src && /opt/pkg/bin/gmake all
gmake[1]: Entering directory '/home/pbulk/build/sysutils/mesure/work/mesure-0.5/src'
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DVERSION=0.5 -DHAVE_GMP=1 -DHAVE_PCAP=1 -I/opt/pkg/include  -c -o main.o main.c
main.c: In function 'mesure_signal':
main.c:58:17: warning: implicit declaration of function 'stdin_finalize' [-Wimplicit-function-declaration]
   58 |                 stdin_finalize();
      |                 ^~~~~~~~~~~~~~
main.c:61:17: warning: implicit declaration of function 'sniff_finalize' [-Wimplicit-function-declaration]
   61 |                 sniff_finalize();
      |                 ^~~~~~~~~~~~~~
main.c: In function 'do_work':
main.c:178:17: warning: implicit declaration of function 'file_get_value'; did you mean 'disk_get_value'? [-Wimplicit-function-declaration]
  178 |                 file_get_value(target,&one);
      |                 ^~~~~~~~~~~~~~
      |                 disk_get_value
main.c:185:32: warning: implicit declaration of function 'mem_get_value'; did you mean 'disk_get_value'? [-Wimplicit-function-declaration]
  185 |                 mpz_set_d(one, mem_get_value());
      |                                ^~~~~~~~~~~~~
      |                                disk_get_value
main.c:199:31: warning: implicit declaration of function 'stdin_get_value'; did you mean 'disk_get_value'? [-Wimplicit-function-declaration]
  199 |                 mpz_set_d(one,stdin_get_value());
      |                               ^~~~~~~~~~~~~~~
      |                               disk_get_value
main.c:213:17: warning: implicit declaration of function 'sniff_get_value'; did you mean 'disk_get_value'? [-Wimplicit-function-declaration]
  213 |                 sniff_get_value(&one);
      |                 ^~~~~~~~~~~~~~~
      |                 disk_get_value
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DVERSION=0.5 -DHAVE_GMP=1 -DHAVE_PCAP=1 -I/opt/pkg/include  -c -o iface.o iface.c
iface.c: In function 'iface_get_value':
iface.c:106:27: error: storage size of 'ifmr' isn't known
  106 |         struct ifmediareq ifmr;
      |                           ^~~~
iface.c:115:5: warning: implicit declaration of function 'getifaddrs' [-Wimplicit-function-declaration]
  115 |     getifaddrs(&ifa);
      |     ^~~~~~~~~~
iface.c:118:32: error: invalid use of undefined type 'struct ifaddrs'
  118 |       strncpy(ifmr.ifm_name,ifa->ifa_name,sizeof(ifmr.ifm_name));
      |                                ^~
iface.c:119:25: error: invalid use of undefined type 'struct ifaddrs'
  119 |                 addr=ifa->ifa_addr;
      |                         ^~
iface.c:123:24: error: invalid use of undefined type 'struct ifaddrs'
  123 |                 ifm=ifa->ifa_data;
      |                        ^~
iface.c:125:32: error: invalid use of undefined type 'struct ifaddrs'
  125 |                 if (!strcmp(ifa->ifa_name,name))
      |                                ^~
iface.c:151:20: error: invalid use of undefined type 'struct ifaddrs'
  151 |             ifa=ifa->ifa_next;
      |                    ^~
gmake[1]: *** [<builtin>: iface.o] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/sysutils/mesure/work/mesure-0.5/src'
gmake: *** [Makefile:12: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/mesure
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/mesure