+ 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/lpcnetfreedv-0.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lpcnetfreedv-0.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for lpcnetfreedv-0.2
[  2%] Building C object src/CMakeFiles/lpcnetfreedv.dir/freq.c.o
/home/pbulk/build/ham/lpcnetfreedv/work/LPCNet-0.2/src/freq.c: In function 'check_init':
/home/pbulk/build/ham/lpcnetfreedv/work/LPCNet-0.2/src/freq.c:132:36: error: 'M_PI' undeclared (first use in this function)
  132 |     common.half_window[i] = sin(.5*M_PI*sin(.5*M_PI*(i+.5)/OVERLAP_SIZE) * sin(.5*M_PI*(i+.5)/OVERLAP_SIZE));
      |                                    ^~~~
/home/pbulk/build/ham/lpcnetfreedv/work/LPCNet-0.2/src/freq.c:132:36: note: each undeclared identifier is reported only once for each function it appears in
*** [src/CMakeFiles/lpcnetfreedv.dir/freq.c.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/ham/lpcnetfreedv/work/LPCNet-0.2/build
1 error

bmake[2]: stopped in /home/pbulk/build/ham/lpcnetfreedv/work/LPCNet-0.2/build
*** [src/CMakeFiles/lpcnetfreedv.dir/all] Error code 2

bmake[1]: stopped in /home/pbulk/build/ham/lpcnetfreedv/work/LPCNet-0.2/build
1 error

bmake[1]: stopped in /home/pbulk/build/ham/lpcnetfreedv/work/LPCNet-0.2/build
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/ham/lpcnetfreedv/work/LPCNet-0.2/build
1 error

bmake: stopped in /home/pbulk/build/ham/lpcnetfreedv/work/LPCNet-0.2/build
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/ham/lpcnetfreedv