+ 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/openbfdd-0.5.3/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/openbfdd-0.5.3/work.log ===> Building for openbfdd-0.5.3 /opt/local/bin/gmake all-am gmake[1]: Entering directory '/home/pbulk/build/net/openbfdd/work/OpenBFDD-0.5.3' CXX utils.o CXX log.o CXX common.o utils.cpp: In function 'UtilsTLSData* getUtilsTLS()': utils.cpp:67:16: error: 'pthread_getspecific' was not declared in this scope 67 | void *data = pthread_getspecific(gUtilsTLSKey); | ^~~~~~~~~~~~~~~~~~~ utils.cpp:75:12: error: 'pthread_setspecific' was not declared in this scope 75 | if (0 != pthread_setspecific(gUtilsTLSKey, tlsData)) | ^~~~~~~~~~~~~~~~~~~ utils.cpp: In function 'bool UtilsInit()': utils.cpp:91:13: error: 'pthread_key_create' was not declared in this scope; did you mean 'pthread_key_t'? 91 | int ret = pthread_key_create(&gUtilsTLSKey, deleteUtilsTLS); | ^~~~~~~~~~~~~~~~~~ | pthread_key_t utils.cpp:99:12: error: 'pthread_setspecific' was not declared in this scope 99 | if (0 != pthread_setspecific(gUtilsTLSKey, (void *)(uintptr_t)(0xbefed))) | ^~~~~~~~~~~~~~~~~~~ utils.cpp:102:16: error: 'pthread_getspecific' was not declared in this scope 102 | void *data = pthread_getspecific(gUtilsTLSKey); | ^~~~~~~~~~~~~~~~~~~ utils.cpp:106:12: error: 'pthread_setspecific' was not declared in this scope 106 | if (0 != pthread_setspecific(gUtilsTLSKey, NULL)) | ^~~~~~~~~~~~~~~~~~~ utils.cpp: At global scope: utils.cpp:55:13: warning: 'void deleteUtilsTLS(void*)' defined but not used [-Wunused-function] 55 | static void deleteUtilsTLS(void *data) | ^~~~~~~~~~~~~~ gmake[1]: *** [Makefile:540: utils.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory '/home/pbulk/build/net/openbfdd/work/OpenBFDD-0.5.3' gmake: *** [Makefile:400: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/openbfdd *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/openbfdd