+ 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/openbfdd-0.5.3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/openbfdd-0.5.3/work.log
===> Building for openbfdd-0.5.3
/opt/pkg/bin/gmake  all-am
gmake[1]: Entering directory '/home/pbulk/build/net/openbfdd/work/OpenBFDD-0.5.3'
  CXX      common.o
  CXX      utils.o
  CXX      log.o
  CXX      SmartPointer.o
In file included from SmartPointer.cpp:8:
SmartPointer.h: In member function 'void RaiiBase<T, nullval, freeFn>::Dispose()':
SmartPointer.h:27:20: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   27 |   void Dispose() { if (!isNull())
      |                    ^~
SmartPointer.h:28:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   28 |       freeFn(val); val = nullval;}
      |                    ^~~
SmartPointer.h: In member function 'void RaiiNullBase<T, freeFn>::Dispose()':
SmartPointer.h:56:20: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   56 |   void Dispose() { if (!isNull())
      |                    ^~
SmartPointer.h:57:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   57 |       freeFn(val); val = NULL;}
      |                    ^~~
SmartPointer.h: In member function 'void RaiiClassCall<T, C, freeFn>::Dispose()':
SmartPointer.h:117:20: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  117 |   void Dispose() { if (!isNull())
      |                    ^~
SmartPointer.h:118:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  118 |       (myClass->*freeFn)(val); val = NULL;}
      |                                ^~~
SmartPointer.h: In member function 'void RaiiObjCallVar<T, C, R, freeFn>::Dispose()':
SmartPointer.h:149:20: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  149 |   void Dispose() { if (valid)
      |                    ^~
SmartPointer.h:150:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  150 |       (myClass->*freeFn)(val); valid = false;}
      |                                ^~~~~
  CXX      threads.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))
      |            ^~~~~~~~~~~~~~~~~~~
  CXX      bfd.o
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....
  CXX      TimeSpec.o
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-upstream-trunk/net/openbfdd
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/openbfdd