=> 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 powerdns-4.6.4nb5 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/tmp/net/powerdns/work/pdns-4.6.4' Making all in ext gmake[2]: Entering directory '/tmp/net/powerdns/work/pdns-4.6.4/ext' Making all in ipcrypt gmake[3]: Entering directory '/tmp/net/powerdns/work/pdns-4.6.4/ext/ipcrypt' CC ipcrypt.lo CCLD libipcrypt.la gmake[3]: Leaving directory '/tmp/net/powerdns/work/pdns-4.6.4/ext/ipcrypt' Making all in json11 gmake[3]: Entering directory '/tmp/net/powerdns/work/pdns-4.6.4/ext/json11' CXX json11.lo CXXLD libjson11.la gmake[3]: Leaving directory '/tmp/net/powerdns/work/pdns-4.6.4/ext/json11' Making all in yahttp gmake[3]: Entering directory '/tmp/net/powerdns/work/pdns-4.6.4/ext/yahttp' Making all in yahttp gmake[4]: Entering directory '/tmp/net/powerdns/work/pdns-4.6.4/ext/yahttp/yahttp' CXX reqresp.lo CXX router.lo CXXLD libyahttp.la gmake[4]: Leaving directory '/tmp/net/powerdns/work/pdns-4.6.4/ext/yahttp/yahttp' gmake[4]: Entering directory '/tmp/net/powerdns/work/pdns-4.6.4/ext/yahttp' gmake[4]: Nothing to be done for 'all-am'. gmake[4]: Leaving directory '/tmp/net/powerdns/work/pdns-4.6.4/ext/yahttp' gmake[3]: Leaving directory '/tmp/net/powerdns/work/pdns-4.6.4/ext/yahttp' gmake[3]: Entering directory '/tmp/net/powerdns/work/pdns-4.6.4/ext' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/tmp/net/powerdns/work/pdns-4.6.4/ext' gmake[2]: Leaving directory '/tmp/net/powerdns/work/pdns-4.6.4/ext' Making all in modules gmake[2]: Entering directory '/tmp/net/powerdns/work/pdns-4.6.4/modules' Making all in bindbackend gmake[3]: Entering directory '/tmp/net/powerdns/work/pdns-4.6.4/modules/bindbackend' /usr/pkg/bin/gmake all-am gmake[4]: Entering directory '/tmp/net/powerdns/work/pdns-4.6.4/modules/bindbackend' CXX bindbackend2.lo CXX binddnssec.lo In file included from bindbackend2.hh:42:0, from binddnssec.cc:26: ../../pdns/lock.hh:24:10: error: /usr/include/g++/shared_mutex: Input/output error #include ^~~~~~~~~~~~~~ In file included from ../../pdns/ueberbackend.hh:34:0, from ../../pdns/dnsseckeeper.hh:35, from bindbackend2.cc:40: ../../pdns/lock.hh:24:10: error: /usr/include/g++/shared_mutex: Input/output error #include ^~~~~~~~~~~~~~ ../../pdns/lock.hh:92:8: error: 'shared_mutex' in namespace 'std' does not name a type std::shared_mutex& getLock() ^~~~~~~~~~~~ ../../pdns/lock.hh:98:8: error: 'shared_mutex' in namespace 'std' does not name a type std::shared_mutex d_lock; ^~~~~~~~~~~~ ../../pdns/lock.hh:119:29: error: expected ')' before '&' token ReadLock(std::shared_mutex& lock) : d_lock(lock) ^ ../../pdns/lock.hh:123:8: error: 'shared_lock' in namespace 'std' does not name a template type std::shared_lock d_lock; ^~~~~~~~~~~ ../../pdns/lock.hh: In constructor 'ReadLock::ReadLock(ReadWriteLock&)': ../../pdns/lock.hh:104:48: error: 'class ReadWriteLock' has no member named 'getLock' ReadLock(ReadWriteLock& lock): ReadLock(lock.getLock()) ^~~~~~~ ../../pdns/lock.hh: In constructor 'ReadLock::ReadLock(ReadWriteLock*)': ../../pdns/lock.hh:108:49: error: 'class ReadWriteLock' has no member named 'getLock' ReadLock(ReadWriteLock* lock): ReadLock(lock->getLock()) ^~~~~~~ ../../pdns/lock.hh: In constructor 'ReadLock::ReadLock(ReadLock&&)': ../../pdns/lock.hh:114:30: error: class 'ReadLock' does not have any field named 'd_lock' ReadLock(ReadLock&& rhs) : d_lock(std::move(rhs.d_lock)) ^~~~~~ ../../pdns/lock.hh:114:51: error: 'class ReadLock' has no member named 'd_lock' ReadLock(ReadLock&& rhs) : d_lock(std::move(rhs.d_lock)) ^~~~~~ ../../pdns/lock.hh: At global scope: ../../pdns/lock.hh:144:30: error: expected ')' before '&' token WriteLock(std::shared_mutex& lock) : d_lock(lock) ^ ../../pdns/lock.hh:148:25: error: 'shared_mutex' is not a member of 'std' std::unique_lock d_lock; ^~~~~~~~~~~~ ../../pdns/lock.hh:148:25: note: suggested alternative: 'timed_mutex' std::unique_lock d_lock; ^~~~~~~~~~~~ timed_mutex ../../pdns/lock.hh:148:37: error: template argument 1 is invalid std::unique_lock d_lock; ^ ../../pdns/lock.hh: In constructor 'WriteLock::WriteLock(ReadWriteLock&)': ../../pdns/lock.hh:129:50: error: 'class ReadWriteLock' has no member named 'getLock' WriteLock(ReadWriteLock& lock): WriteLock(lock.getLock()) ^~~~~~~ ../../pdns/lock.hh: In constructor 'WriteLock::WriteLock(ReadWriteLock*)': ../../pdns/lock.hh:133:51: error: 'class ReadWriteLock' has no member named 'getLock' WriteLock(ReadWriteLock* lock): WriteLock(lock->getLock()) ^~~~~~~ ../../pdns/lock.hh: At global scope: ../../pdns/lock.hh:171:32: error: expected ')' before '&' token TryReadLock(std::shared_mutex& lock) : d_lock(lock, std::try_to_lock) ^ ../../pdns/lock.hh:175:8: error: 'shared_lock' in namespace 'std' does not name a template type std::shared_lock d_lock; ^~~~~~~~~~~ ../../pdns/lock.hh: In constructor 'TryReadLock::TryReadLock(ReadWriteLock&)': ../../pdns/lock.hh:154:54: error: 'class ReadWriteLock' has no member named 'getLock' TryReadLock(ReadWriteLock& lock): TryReadLock(lock.getLock()) ^~~~~~~ ../../pdns/lock.hh: In constructor 'TryReadLock::TryReadLock(ReadWriteLock*)': ../../pdns/lock.hh:158:55: error: 'class ReadWriteLock' has no member named 'getLock' TryReadLock(ReadWriteLock* lock): TryReadLock(lock->getLock()) ^~~~~~~ ../../pdns/lock.hh: In member function 'bool TryReadLock::gotIt() const': ../../pdns/lock.hh:167:12: error: 'd_lock' was not declared in this scope return d_lock.owns_lock(); ^~~~~~ ../../pdns/lock.hh:167:12: note: suggested alternative: 'clock' return d_lock.owns_lock(); ^~~~~~ clock ../../pdns/lock.hh: At global scope: ../../pdns/lock.hh:198:33: error: expected ')' before '&' token TryWriteLock(std::shared_mutex& lock) : d_lock(lock, std::try_to_lock) ^ ../../pdns/lock.hh:202:25: error: 'shared_mutex' is not a member of 'std' std::unique_lock d_lock; ^~~~~~~~~~~~ ../../pdns/lock.hh:202:25: note: suggested alternative: 'timed_mutex' std::unique_lock d_lock; ^~~~~~~~~~~~ timed_mutex ../../pdns/lock.hh:202:37: error: template argument 1 is invalid std::unique_lock d_lock; ^ ../../pdns/lock.hh: In constructor 'TryWriteLock::TryWriteLock(ReadWriteLock&)': ../../pdns/lock.hh:181:56: error: 'class ReadWriteLock' has no member named 'getLock' TryWriteLock(ReadWriteLock& lock): TryWriteLock(lock.getLock()) ^~~~~~~ ../../pdns/lock.hh: In constructor 'TryWriteLock::TryWriteLock(ReadWriteLock*)': ../../pdns/lock.hh:185:57: error: 'class ReadWriteLock' has no member named 'getLock' TryWriteLock(ReadWriteLock* lock): TryWriteLock(lock->getLock()) ^~~~~~~ ../../pdns/lock.hh: In member function 'bool TryWriteLock::gotIt() const': ../../pdns/lock.hh:194:19: error: request for member 'owns_lock' in '((const TryWriteLock*)this)->TryWriteLock::d_lock', which is of non-class type 'const int' return d_lock.owns_lock(); ^~~~~~~~~ ../../pdns/lock.hh: At global scope: ../../pdns/lock.hh:306:46: error: 'std::shared_mutex' has not been declared explicit SharedLockGuardedHolder(T& value, std::shared_mutex& mutex): d_lock(mutex), d_value(value) ^~~ ../../pdns/lock.hh:319:24: error: 'shared_mutex' is not a member of 'std' std::lock_guard d_lock; ^~~~~~~~~~~~ ../../pdns/lock.hh:319:24: note: suggested alternative: 'timed_mutex' std::lock_guard d_lock; ^~~~~~~~~~~~ timed_mutex ../../pdns/lock.hh:319:36: error: template argument 1 is invalid std::lock_guard d_lock; ^ ../../pdns/lock.hh:327:49: error: 'std::shared_mutex' has not been declared explicit SharedLockGuardedTryHolder(T& value, std::shared_mutex& mutex): d_lock(mutex, std::try_to_lock), d_value(value) ^~~ ../../pdns/lock.hh:354:25: error: 'shared_mutex' is not a member of 'std' std::unique_lock d_lock; ^~~~~~~~~~~~ ../../pdns/lock.hh:354:25: note: suggested alternative: 'timed_mutex' std::unique_lock d_lock; ^~~~~~~~~~~~ timed_mutex ../../pdns/lock.hh:354:37: error: template argument 1 is invalid std::unique_lock d_lock; ^ ../../pdns/lock.hh: In member function 'SharedLockGuardedTryHolder::operator bool() const': ../../pdns/lock.hh:346:19: error: request for member 'owns_lock' in '((const SharedLockGuardedTryHolder*)this)->SharedLockGuardedTryHolder::d_lock', which is of non-class type 'const int' return d_lock.owns_lock(); ^~~~~~~~~ ../../pdns/lock.hh: In member function 'bool SharedLockGuardedTryHolder::owns_lock() const': ../../pdns/lock.hh:350:19: error: request for member 'owns_lock' in '((const SharedLockGuardedTryHolder*)this)->SharedLockGuardedTryHolder::d_lock', which is of non-class type 'const int' return d_lock.owns_lock(); ^~~~~~~~~ ../../pdns/lock.hh: At global scope: ../../pdns/lock.hh:362:64: error: 'std::shared_mutex' has not been declared explicit SharedLockGuardedNonExclusiveHolder(const T& value, std::shared_mutex& mutex): d_lock(mutex), d_value(value) ^~~ ../../pdns/lock.hh:375:8: error: 'shared_lock' in namespace 'std' does not name a template type std::shared_lock d_lock; ^~~~~~~~~~~ ../../pdns/lock.hh: In constructor 'SharedLockGuardedNonExclusiveHolder::SharedLockGuardedNonExclusiveHolder(const T&, int&)': ../../pdns/lock.hh:362:91: error: class 'SharedLockGuardedNonExclusiveHolder' does not have any field named 'd_lock' explicit SharedLockGuardedNonExclusiveHolder(const T& value, std::shared_mutex& mutex): d_lock(mutex), d_value(value) ^~~~~~ ../../pdns/lock.hh: At global scope: ../../pdns/lock.hh:383:67: error: 'std::shared_mutex' has not been declared explicit SharedLockGuardedNonExclusiveTryHolder(const T& value, std::shared_mutex& mutex): d_lock(mutex, std::try_to_lock), d_value(value) ^~~ In file included from bindbackend2.hh:42:0, from binddnssec.cc:26: ../../pdns/lock.hh:410:8: error: 'shared_lock' in namespace 'std' does not name a template type std::shared_lock d_lock; ^~~~~~~~~~~ In file included from bindbackend2.hh:42:0, from binddnssec.cc:26: ../../pdns/lock.hh: In constructor 'SharedLockGuardedNonExclusiveTryHolder::SharedLockGuardedNonExclusiveTryHolder(const T&, int&)': ../../pdns/lock.hh:383:94: error: class 'SharedLockGuardedNonExclusiveTryHolder' does not have any field named 'd_lock' explicit SharedLockGuardedNonExclusiveTryHolder(const T& value, std::shared_mutex& mutex): d_lock(mutex, std::try_to_lock), d_value(value) ^~~~~~ In file included from bindbackend2.hh:42:0, from binddnssec.cc:26: ../../pdns/lock.hh: In member function 'SharedLockGuardedNonExclusiveTryHolder::operator bool() const': ../../pdns/lock.hh:402:12: error: 'd_lock' was not declared in this scope return d_lock.owns_lock(); ^~~~~~ ../../pdns/lock.hh:402:12: note: suggested alternative: 'clock' return d_lock.owns_lock(); ^~~~~~ clock ../../pdns/lock.hh: In member function 'bool SharedLockGuardedNonExclusiveTryHolder::owns_lock() const': ../../pdns/lock.hh:406:12: error: 'd_lock' was not declared in this scope return d_lock.owns_lock(); ^~~~~~ ../../pdns/lock.hh:406:12: note: suggested alternative: 'clock' return d_lock.owns_lock(); ^~~~~~ clock ../../pdns/lock.hh: At global scope: ../../pdns/lock.hh:451:8: error: 'shared_mutex' in namespace 'std' does not name a type std::shared_mutex d_mutex; ^~~~~~~~~~~~ ../../pdns/lock.hh: In member function 'SharedLockGuardedTryHolder SharedLockGuarded::try_write_lock()': ../../pdns/lock.hh:432:51: error: 'd_mutex' was not declared in this scope return SharedLockGuardedTryHolder(d_value, d_mutex); ^~~~~~~ ../../pdns/lock.hh: In member function 'SharedLockGuardedHolder SharedLockGuarded::write_lock()': ../../pdns/lock.hh:437:48: error: 'd_mutex' was not declared in this scope return SharedLockGuardedHolder(d_value, d_mutex); ^~~~~~~ ../../pdns/lock.hh: In member function 'SharedLockGuardedNonExclusiveTryHolder SharedLockGuarded::try_read_lock()': ../../pdns/lock.hh:442:63: error: 'd_mutex' was not declared in this scope return SharedLockGuardedNonExclusiveTryHolder(d_value, d_mutex); ^~~~~~~ ../../pdns/lock.hh: In member function 'SharedLockGuardedNonExclusiveHolder SharedLockGuarded::read_lock()': ../../pdns/lock.hh:447:60: error: 'd_mutex' was not declared in this scope return SharedLockGuardedNonExclusiveHolder(d_value, d_mutex); ^~~~~~~ ../../pdns/lock.hh:92:8: error: 'shared_mutex' in namespace 'std' does not name a type std::shared_mutex& getLock() ^~~~~~~~~~~~ ../../pdns/lock.hh:98:8: error: 'shared_mutex' in namespace 'std' does not name a type std::shared_mutex d_lock; ^~~~~~~~~~~~ ../../pdns/lock.hh:119:29: error: expected ')' before '&' token ReadLock(std::shared_mutex& lock) : d_lock(lock) ^ ../../pdns/lock.hh:123:8: error: 'shared_lock' in namespace 'std' does not name a template type std::shared_lock d_lock; ^~~~~~~~~~~ ../../pdns/lock.hh: In constructor 'ReadLock::ReadLock(ReadWriteLock&)': ../../pdns/lock.hh:104:48: error: 'class ReadWriteLock' has no member named 'getLock' ReadLock(ReadWriteLock& lock): ReadLock(lock.getLock()) ^~~~~~~ ../../pdns/lock.hh: In constructor 'ReadLock::ReadLock(ReadWriteLock*)': ../../pdns/lock.hh:108:49: error: 'class ReadWriteLock' has no member named 'getLock' ReadLock(ReadWriteLock* lock): ReadLock(lock->getLock()) ^~~~~~~ ../../pdns/lock.hh: In constructor 'ReadLock::ReadLock(ReadLock&&)': ../../pdns/lock.hh:114:30: error: class 'ReadLock' does not have any field named 'd_lock' ReadLock(ReadLock&& rhs) : d_lock(std::move(rhs.d_lock)) ^~~~~~ ../../pdns/lock.hh:114:51: error: 'class ReadLock' has no member named 'd_lock' ReadLock(ReadLock&& rhs) : d_lock(std::move(rhs.d_lock)) ^~~~~~ ../../pdns/lock.hh: At global scope: ../../pdns/lock.hh:144:30: error: expected ')' before '&' token WriteLock(std::shared_mutex& lock) : d_lock(lock) ^ ../../pdns/lock.hh:148:25: error: 'shared_mutex' is not a member of 'std' std::unique_lock d_lock; ^~~~~~~~~~~~ ../../pdns/lock.hh:148:25: note: suggested alternative: 'timed_mutex' std::unique_lock d_lock; ^~~~~~~~~~~~ timed_mutex ../../pdns/lock.hh:148:37: error: template argument 1 is invalid std::unique_lock d_lock; ^ ../../pdns/lock.hh: In constructor 'WriteLock::WriteLock(ReadWriteLock&)': ../../pdns/lock.hh:129:50: error: 'class ReadWriteLock' has no member named 'getLock' WriteLock(ReadWriteLock& lock): WriteLock(lock.getLock()) ^~~~~~~ ../../pdns/lock.hh: In constructor 'WriteLock::WriteLock(ReadWriteLock*)': ../../pdns/lock.hh:133:51: error: 'class ReadWriteLock' has no member named 'getLock' WriteLock(ReadWriteLock* lock): WriteLock(lock->getLock()) ^~~~~~~ ../../pdns/lock.hh: At global scope: ../../pdns/lock.hh:171:32: error: expected ')' before '&' token TryReadLock(std::shared_mutex& lock) : d_lock(lock, std::try_to_lock) ^ ../../pdns/lock.hh:175:8: error: 'shared_lock' in namespace 'std' does not name a template type std::shared_lock d_lock; ^~~~~~~~~~~ ../../pdns/lock.hh: In constructor 'TryReadLock::TryReadLock(ReadWriteLock&)': ../../pdns/lock.hh:154:54: error: 'class ReadWriteLock' has no member named 'getLock' TryReadLock(ReadWriteLock& lock): TryReadLock(lock.getLock()) ^~~~~~~ ../../pdns/lock.hh: In constructor 'TryReadLock::TryReadLock(ReadWriteLock*)': ../../pdns/lock.hh:158:55: error: 'class ReadWriteLock' has no member named 'getLock' TryReadLock(ReadWriteLock* lock): TryReadLock(lock->getLock()) ^~~~~~~ ../../pdns/lock.hh: In member function 'bool TryReadLock::gotIt() const': ../../pdns/lock.hh:167:12: error: 'd_lock' was not declared in this scope return d_lock.owns_lock(); ^~~~~~ ../../pdns/lock.hh:167:12: note: suggested alternative: 'flock' return d_lock.owns_lock(); ^~~~~~ flock ../../pdns/lock.hh: At global scope: ../../pdns/lock.hh:198:33: error: expected ')' before '&' token TryWriteLock(std::shared_mutex& lock) : d_lock(lock, std::try_to_lock) ^ ../../pdns/lock.hh:202:25: error: 'shared_mutex' is not a member of 'std' std::unique_lock d_lock; ^~~~~~~~~~~~ ../../pdns/lock.hh:202:25: note: suggested alternative: 'timed_mutex' std::unique_lock d_lock; ^~~~~~~~~~~~ timed_mutex ../../pdns/lock.hh:202:37: error: template argument 1 is invalid std::unique_lock d_lock; ^ ../../pdns/lock.hh: In constructor 'TryWriteLock::TryWriteLock(ReadWriteLock&)': ../../pdns/lock.hh:181:56: error: 'class ReadWriteLock' has no member named 'getLock' TryWriteLock(ReadWriteLock& lock): TryWriteLock(lock.getLock()) ^~~~~~~ ../../pdns/lock.hh: In constructor 'TryWriteLock::TryWriteLock(ReadWriteLock*)': ../../pdns/lock.hh:185:57: error: 'class ReadWriteLock' has no member named 'getLock' TryWriteLock(ReadWriteLock* lock): TryWriteLock(lock->getLock()) ^~~~~~~ ../../pdns/lock.hh: In member function 'bool TryWriteLock::gotIt() const': ../../pdns/lock.hh:194:19: error: request for member 'owns_lock' in '((const TryWriteLock*)this)->TryWriteLock::d_lock', which is of non-class type 'const int' return d_lock.owns_lock(); ^~~~~~~~~ ../../pdns/lock.hh: At global scope: ../../pdns/lock.hh:306:46: error: 'std::shared_mutex' has not been declared explicit SharedLockGuardedHolder(T& value, std::shared_mutex& mutex): d_lock(mutex), d_value(value) ^~~ ../../pdns/lock.hh:319:24: error: 'shared_mutex' is not a member of 'std' std::lock_guard d_lock; ^~~~~~~~~~~~ ../../pdns/lock.hh:319:24: note: suggested alternative: 'timed_mutex' std::lock_guard d_lock; ^~~~~~~~~~~~ timed_mutex ../../pdns/lock.hh:319:36: error: template argument 1 is invalid std::lock_guard d_lock; ^ ../../pdns/lock.hh:327:49: error: 'std::shared_mutex' has not been declared explicit SharedLockGuardedTryHolder(T& value, std::shared_mutex& mutex): d_lock(mutex, std::try_to_lock), d_value(value) ^~~ ../../pdns/lock.hh:354:25: error: 'shared_mutex' is not a member of 'std' std::unique_lock d_lock; ^~~~~~~~~~~~ ../../pdns/lock.hh:354:25: note: suggested alternative: 'timed_mutex' std::unique_lock d_lock; ^~~~~~~~~~~~ timed_mutex ../../pdns/lock.hh:354:37: error: template argument 1 is invalid std::unique_lock d_lock; ^ ../../pdns/lock.hh: In member function 'SharedLockGuardedTryHolder::operator bool() const': ../../pdns/lock.hh:346:19: error: request for member 'owns_lock' in '((const SharedLockGuardedTryHolder*)this)->SharedLockGuardedTryHolder::d_lock', which is of non-class type 'const int' return d_lock.owns_lock(); ^~~~~~~~~ ../../pdns/lock.hh: In member function 'bool SharedLockGuardedTryHolder::owns_lock() const': ../../pdns/lock.hh:350:19: error: request for member 'owns_lock' in '((const SharedLockGuardedTryHolder*)this)->SharedLockGuardedTryHolder::d_lock', which is of non-class type 'const int' return d_lock.owns_lock(); ^~~~~~~~~ ../../pdns/lock.hh: At global scope: ../../pdns/lock.hh:362:64: error: 'std::shared_mutex' has not been declared explicit SharedLockGuardedNonExclusiveHolder(const T& value, std::shared_mutex& mutex): d_lock(mutex), d_value(value) ^~~ ../../pdns/lock.hh:375:8: error: 'shared_lock' in namespace 'std' does not name a template type std::shared_lock d_lock; ^~~~~~~~~~~ ../../pdns/lock.hh: In constructor 'SharedLockGuardedNonExclusiveHolder::SharedLockGuardedNonExclusiveHolder(const T&, int&)': ../../pdns/lock.hh:362:91: error: class 'SharedLockGuardedNonExclusiveHolder' does not have any field named 'd_lock' explicit SharedLockGuardedNonExclusiveHolder(const T& value, std::shared_mutex& mutex): d_lock(mutex), d_value(value) ^~~~~~ ../../pdns/lock.hh: At global scope: ../../pdns/lock.hh:383:67: error: 'std::shared_mutex' has not been declared explicit SharedLockGuardedNonExclusiveTryHolder(const T& value, std::shared_mutex& mutex): d_lock(mutex, std::try_to_lock), d_value(value) ^~~ In file included from ../../pdns/ueberbackend.hh:34:0, from ../../pdns/dnsseckeeper.hh:35, from bindbackend2.cc:40: ../../pdns/lock.hh:410:8: error: 'shared_lock' in namespace 'std' does not name a template type std::shared_lock d_lock; ^~~~~~~~~~~ In file included from ../../pdns/ueberbackend.hh:34:0, from ../../pdns/dnsseckeeper.hh:35, from bindbackend2.cc:40: ../../pdns/lock.hh: In constructor 'SharedLockGuardedNonExclusiveTryHolder::SharedLockGuardedNonExclusiveTryHolder(const T&, int&)': ../../pdns/lock.hh:383:94: error: class 'SharedLockGuardedNonExclusiveTryHolder' does not have any field named 'd_lock' explicit SharedLockGuardedNonExclusiveTryHolder(const T& value, std::shared_mutex& mutex): d_lock(mutex, std::try_to_lock), d_value(value) ^~~~~~ In file included from ../../pdns/ueberbackend.hh:34:0, from ../../pdns/dnsseckeeper.hh:35, from bindbackend2.cc:40: ../../pdns/lock.hh: In member function 'SharedLockGuardedNonExclusiveTryHolder::operator bool() const': ../../pdns/lock.hh:402:12: error: 'd_lock' was not declared in this scope return d_lock.owns_lock(); ^~~~~~ ../../pdns/lock.hh:402:12: note: suggested alternative: 'flock' return d_lock.owns_lock(); ^~~~~~ flock ../../pdns/lock.hh: In member function 'bool SharedLockGuardedNonExclusiveTryHolder::owns_lock() const': ../../pdns/lock.hh:406:12: error: 'd_lock' was not declared in this scope return d_lock.owns_lock(); ^~~~~~ ../../pdns/lock.hh:406:12: note: suggested alternative: 'flock' return d_lock.owns_lock(); ^~~~~~ flock ../../pdns/lock.hh: At global scope: ../../pdns/lock.hh:451:8: error: 'shared_mutex' in namespace 'std' does not name a type std::shared_mutex d_mutex; ^~~~~~~~~~~~ ../../pdns/lock.hh: In member function 'SharedLockGuardedTryHolder SharedLockGuarded::try_write_lock()': ../../pdns/lock.hh:432:51: error: 'd_mutex' was not declared in this scope return SharedLockGuardedTryHolder(d_value, d_mutex); ^~~~~~~ ../../pdns/lock.hh: In member function 'SharedLockGuardedHolder SharedLockGuarded::write_lock()': ../../pdns/lock.hh:437:48: error: 'd_mutex' was not declared in this scope return SharedLockGuardedHolder(d_value, d_mutex); ^~~~~~~ ../../pdns/lock.hh: In member function 'SharedLockGuardedNonExclusiveTryHolder SharedLockGuarded::try_read_lock()': ../../pdns/lock.hh:442:63: error: 'd_mutex' was not declared in this scope return SharedLockGuardedNonExclusiveTryHolder(d_value, d_mutex); ^~~~~~~ ../../pdns/lock.hh: In member function 'SharedLockGuardedNonExclusiveHolder SharedLockGuarded::read_lock()': ../../pdns/lock.hh:447:60: error: 'd_mutex' was not declared in this scope return SharedLockGuardedNonExclusiveHolder(d_value, d_mutex); ^~~~~~~ gmake[4]: *** [Makefile:635: binddnssec.lo] Error 1 gmake[4]: *** Waiting for unfinished jobs.... gmake[4]: *** [Makefile:635: bindbackend2.lo] Error 1 gmake[4]: Leaving directory '/tmp/net/powerdns/work/pdns-4.6.4/modules/bindbackend' gmake[3]: *** [Makefile:531: all] Error 2 gmake[3]: Leaving directory '/tmp/net/powerdns/work/pdns-4.6.4/modules/bindbackend' gmake[2]: *** [Makefile:528: all-recursive] Error 1 gmake[2]: Leaving directory '/tmp/net/powerdns/work/pdns-4.6.4/modules' gmake[1]: *** [Makefile:580: all-recursive] Error 1 gmake[1]: Leaving directory '/tmp/net/powerdns/work/pdns-4.6.4' gmake: *** [Makefile:512: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/powerdns *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/powerdns