+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dieharder-3.31.1nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dieharder-3.31.1nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for dieharder-3.31.1nb1
(cd libdieharder; \
make)
make[1]: Entering directory '/home/pbulk/build/math/dieharder/work/dieharder-3.31.1/libdieharder'
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I ../include -I /opt/local/include -I/opt/local/include -I/usr/include -std=c99 -Wall -pedantic -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -MT libdieharder_la-bits.lo -MD -MP -MF .deps/libdieharder_la-bits.Tpo -c -o libdieharder_la-bits.lo `test -f 'bits.c' || echo './'`bits.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I../include -I/home/pbulk/build/math/dieharder/work/.buildlink/include -std=c99 -Wall -pedantic -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libdieharder_la-bits.lo -MD -MP -MF .deps/libdieharder_la-bits.Tpo -c bits.c  -fPIC -DPIC -o .libs/libdieharder_la-bits.o
bits.c: In function 'fill_uint_buffer':
bits.c:407:15: warning: variable 'bufbits' set but not used [-Wunused-but-set-variable]
  407 |  unsigned int bufbits,bdelta;
      |               ^~~~~~~
bits.c: In function 'mybitadd':
bits.c:1247:23: warning: array subscript 8 is outside array bounds of 'unsigned int[1]' [-Warray-bounds=]
 1247 |    dst[dindex] += btmp[0];                    /* always add in left byte */
      |                   ~~~~^~~
bits.c:1212:15: note: at offset 8 into object 'tmp' of size 4
 1212 |  unsigned int tmp;
      |               ^~~
bits.c:1265:18: warning: array subscript 9 is outside array bounds of 'unsigned int[1]' [-Warray-bounds=]
 1265 |      dst[dindex] = btmp[1];
      |      ~~~~~~~~~~~~^~~~~~~~~
bits.c:1212:15: note: at offset 9 into object 'tmp' of size 4
 1212 |  unsigned int tmp;
      |               ^~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I../include -I/home/pbulk/build/math/dieharder/work/.buildlink/include -std=c99 -Wall -pedantic -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libdieharder_la-bits.lo -MD -MP -MF .deps/libdieharder_la-bits.Tpo -c bits.c -o libdieharder_la-bits.o >/dev/null 2>&1
mv -f .deps/libdieharder_la-bits.Tpo .deps/libdieharder_la-bits.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I ../include -I /opt/local/include -I/opt/local/include -I/usr/include -std=c99 -Wall -pedantic -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -MT libdieharder_la-chisq.lo -MD -MP -MF .deps/libdieharder_la-chisq.Tpo -c -o libdieharder_la-chisq.lo `test -f 'chisq.c' || echo './'`chisq.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I../include -I/home/pbulk/build/math/dieharder/work/.buildlink/include -std=c99 -Wall -pedantic -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libdieharder_la-chisq.lo -MD -MP -MF .deps/libdieharder_la-chisq.Tpo -c chisq.c  -fPIC -DPIC -o .libs/libdieharder_la-chisq.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I../include -I/home/pbulk/build/math/dieharder/work/.buildlink/include -std=c99 -Wall -pedantic -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libdieharder_la-chisq.lo -MD -MP -MF .deps/libdieharder_la-chisq.Tpo -c chisq.c -o libdieharder_la-chisq.o >/dev/null 2>&1
mv -f .deps/libdieharder_la-chisq.Tpo .deps/libdieharder_la-chisq.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I ../include -I /opt/local/include -I/opt/local/include -I/usr/include -std=c99 -Wall -pedantic -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -MT libdieharder_la-countx.lo -MD -MP -MF .deps/libdieharder_la-countx.Tpo -c -o libdieharder_la-countx.lo `test -f 'countx.c' || echo './'`countx.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I../include -I/home/pbulk/build/math/dieharder/work/.buildlink/include -std=c99 -Wall -pedantic -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libdieharder_la-countx.lo -MD -MP -MF .deps/libdieharder_la-countx.Tpo -c countx.c  -fPIC -DPIC -o .libs/libdieharder_la-countx.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I../include -I/home/pbulk/build/math/dieharder/work/.buildlink/include -std=c99 -Wall -pedantic -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libdieharder_la-countx.lo -MD -MP -MF .deps/libdieharder_la-countx.Tpo -c countx.c -o libdieharder_la-countx.o >/dev/null 2>&1
mv -f .deps/libdieharder_la-countx.Tpo .deps/libdieharder_la-countx.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I ../include -I /opt/local/include -I/opt/local/include -I/usr/include -std=c99 -Wall -pedantic -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -MT libdieharder_la-dab_bytedistrib.lo -MD -MP -MF .deps/libdieharder_la-dab_bytedistrib.Tpo -c -o libdieharder_la-dab_bytedistrib.lo `test -f 'dab_bytedistrib.c' || echo './'`dab_bytedistrib.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I../include -I/home/pbulk/build/math/dieharder/work/.buildlink/include -std=c99 -Wall -pedantic -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libdieharder_la-dab_bytedistrib.lo -MD -MP -MF .deps/libdieharder_la-dab_bytedistrib.Tpo -c dab_bytedistrib.c  -fPIC -DPIC -o .libs/libdieharder_la-dab_bytedistrib.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I../include -I/home/pbulk/build/math/dieharder/work/.buildlink/include -std=c99 -Wall -pedantic -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libdieharder_la-dab_bytedistrib.lo -MD -MP -MF .deps/libdieharder_la-dab_bytedistrib.Tpo -c dab_bytedistrib.c -o libdieharder_la-dab_bytedistrib.o >/dev/null 2>&1
mv -f .deps/libdieharder_la-dab_bytedistrib.Tpo .deps/libdieharder_la-dab_bytedistrib.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I ../include -I /opt/local/include -I/opt/local/include -I/usr/include -std=c99 -Wall -pedantic -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -MT libdieharder_la-dab_dct.lo -MD -MP -MF .deps/libdieharder_la-dab_dct.Tpo -c -o libdieharder_la-dab_dct.lo `test -f 'dab_dct.c' || echo './'`dab_dct.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I../include -I/home/pbulk/build/math/dieharder/work/.buildlink/include -std=c99 -Wall -pedantic -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libdieharder_la-dab_dct.lo -MD -MP -MF .deps/libdieharder_la-dab_dct.Tpo -c dab_dct.c  -fPIC -DPIC -o .libs/libdieharder_la-dab_dct.o
dab_dct.c: In function 'fDCT2':
dab_dct.c:251:44: error: 'M_PI' undeclared (first use in this function)
  251 |      output[i] += (double) input[j] * cos((M_PI / len) * (0.5 + j) * i);
      |                                            ^~~~
dab_dct.c:251:44: note: each undeclared identifier is reported only once for each function it appears in
dab_dct.c: In function 'iDCT2':
dab_dct.c:274:30: error: 'M_PI' undeclared (first use in this function)
  274 |      sum += input[j] * cos(((M_PI * j) / len) * (0.5 + i));
      |                              ^~~~
dab_dct.c: In function 'evalMostExtreme':
dab_dct.c:289:15: warning: variable 'pos' set but not used [-Wunused-but-set-variable]
  289 |  unsigned int pos = 0;
      |               ^~~
make[1]: *** [Makefile:594: libdieharder_la-dab_dct.lo] Error 1
make[1]: Leaving directory '/home/pbulk/build/math/dieharder/work/dieharder-3.31.1/libdieharder'
gmake: *** [Makefile:847: libwulf.time] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/math/dieharder
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/math/dieharder