+ 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/jemalloc-5.3.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/jemalloc-5.3.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for jemalloc-5.3.0
gcc -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -fvisibility=hidden -Wimplicit-fallthrough -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -fPIC -DPIC -c -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/jemalloc.sym.o src/jemalloc.c
nm -a src/jemalloc.sym.o | /usr/bin/nawk -f include/jemalloc/internal/private_symbols.awk > src/jemalloc.sym
Usage: nm [-ACDhiLlnPpRrsTVv] [-efox] [-g | -u] [-t d|o|x] file ...
gcc -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -fvisibility=hidden -Wimplicit-fallthrough -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -fPIC -DPIC -c -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/arena.sym.o src/arena.c
nm -a src/arena.sym.o | /usr/bin/nawk -f include/jemalloc/internal/private_symbols.awk > src/arena.sym
Usage: nm [-ACDhiLlnPpRrsTVv] [-efox] [-g | -u] [-t d|o|x] file ...
gcc -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -fvisibility=hidden -Wimplicit-fallthrough -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -fPIC -DPIC -c -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/background_thread.sym.o src/background_thread.c
src/background_thread.c: In function 'set_current_thread_affinity':
src/background_thread.c:87:9: error: unknown type name 'cpuset_t'; did you mean 'psset_t'?
   87 |         cpuset_t cpuset;
      |         ^~~~~~~~
      |         psset_t
src/background_thread.c:94:9: warning: implicit declaration of function 'CPU_ZERO'; did you mean 'FP_ZERO'? [-Wimplicit-function-declaration]
   94 |         CPU_ZERO(&cpuset);
      |         ^~~~~~~~
      |         FP_ZERO
src/background_thread.c:95:9: warning: implicit declaration of function 'CPU_SET' [-Wimplicit-function-declaration]
   95 |         CPU_SET(cpu, &cpuset);
      |         ^~~~~~~
src/background_thread.c:104:19: warning: implicit declaration of function 'pthread_setaffinity_np'; did you mean 'pthread_setname_np'? [-Wimplicit-function-declaration]
  104 |         int ret = pthread_setaffinity_np(pthread_self(), sizeof(cpuset_t),
      |                   ^~~~~~~~~~~~~~~~~~~~~~
      |                   pthread_setname_np
src/background_thread.c:104:65: error: 'cpuset_t' undeclared (first use in this function); did you mean 'cpuset'?
  104 |         int ret = pthread_setaffinity_np(pthread_self(), sizeof(cpuset_t),
      |                                                                 ^~~~~~~~
      |                                                                 cpuset
src/background_thread.c:104:65: note: each undeclared identifier is reported only once for each function it appears in
gmake: *** [Makefile:479: src/background_thread.sym.o] Error 1
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/jemalloc