=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for openbfdd-0.5.3 /usr/pkg/bin/gmake all-am gmake[1]: Entering directory '/pbulk/work/net/openbfdd/work/OpenBFDD-0.5.3' CXX common.o CXX utils.o CXX log.o CXX SmartPointer.o CXX threads.o CXX TimeSpec.o CXX bfd.o CXX Socket.o CXX RecvMsg.o In file included from SmartPointer.cpp:8: SmartPointer.h: In member function 'void RaiiBase::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::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::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::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 SockAddr.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:545: utils.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... In file included from Socket.h:10, from Socket.cpp:7: SmartPointer.h: In member function 'void RaiiBase::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::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::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::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;} | ^~~~~ In file included from RecvMsg.h:9, from RecvMsg.cpp:7: SmartPointer.h: In member function 'void RaiiBase::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::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::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::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;} | ^~~~~ gmake[1]: Leaving directory '/pbulk/work/net/openbfdd/work/OpenBFDD-0.5.3' gmake: *** [Makefile:405: all] Error 2 *** Error code 2 Stop. make[1]: stopped making "all" in /usr/pkgsrc/net/openbfdd *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/net/openbfdd