+ 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
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
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
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 file.o file.c
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 mem.o mem.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
iface.c: In function 'iface_get_value':
iface.c:106:27: error: storage size of 'ifmr' isn't known
  106 |         struct ifmediareq ifmr;
      |                           ^~~~
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 disk.o disk.c
mem.c:6:10: fatal error: sys/sysctl.h: No such file or directory
    6 | #include <sys/sysctl.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
gmake[1]: *** [<builtin>: iface.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: *** [<builtin>: mem.o] Error 1
disk.c: In function 'disk_get_value':
disk.c:29:23: error: storage size of 'sv' isn't known
   29 |         struct statfs sv;
      |                       ^~
disk.c:30:13: warning: implicit declaration of function 'statfs' [-Wimplicit-function-declaration]
   30 |         ret=statfs(name,&sv);
      |             ^~~~~~
gmake[1]: *** [<builtin>: disk.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 making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/mesure
*** Error code 1

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