+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dieharder-3.31.1nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/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'
/bin/bash ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -DVERSION=3.31.1 -DLITTLE_ENDIAN=1 -I ../include -I /usr/pkg/include -I/usr/pkg/include -std=c99 -Wall -pedantic -pipe -O2 -I/usr/pkg/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:  cc -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 -MT libdieharder_la-bits.lo -MD -MP -MF .deps/libdieharder_la-bits.Tpo -c bits.c  -fPIC -DPIC -o .libs/libdieharder_la-bits.o
In file included from ../include/dieharder/libdieharder.h:22,
                 from bits.c:7:
/usr/include/unistd.h:1041:20: error: unknown type name 'intptr_t'; did you mean 'int64_t'?
 extern void *sbrk (intptr_t __delta) __THROW;
                    ^~~~~~~~
                    int64_t
bits.c: In function 'fill_uint_buffer':
bits.c:407:15: warning: variable 'bufbits' set but not used [-Wunused-but-set-variable]
  unsigned int bufbits,bdelta;
               ^~~~~~~
make[1]: *** [Makefile:566: libdieharder_la-bits.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 making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/dieharder
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/dieharder