+ 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.0nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/jemalloc-5.3.0nb1/work.log ===> Building for jemalloc-5.3.0nb1 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 -fPIC -DPIC -c -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/arena.sym.o src/arena.c 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 -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 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 -fPIC -DPIC -c -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/base.sym.o src/base.c 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 -fPIC -DPIC -c -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/jemalloc.sym.o src/jemalloc.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:478: src/background_thread.sym.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/jemalloc *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/jemalloc