from dnsdist-tcp-downstream.hh:6, from dnsdist-tcp-downstream.cc:2: lock.hh:94:8: error: ‘unique_lock’ in namespace ‘std’ does not name a template type 94 | std::unique_lock<std::shared_mutex> d_lock; | ^~~~~~~~~~~ lock.hh:24:1: note: ‘std::unique_lock’ is defined in header ‘<mutex>’; did you forget to ‘#include <mutex>’? 23 | #include <shared_mutex> ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib-j2-20210510-162903 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-9.3.1 [3] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.0 Python 3.8.10 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.52.1 [2] rust-1.52.1 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 (none found) timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Mon May 17 18:20:14 UTC 2021 emerge -qpvO net-dns/dnsdist [ebuild U ] net-dns/dnsdist-1.6.0 [1.5.1-r100] USE="lmdb ssl -dnscrypt -dnstap -doh -gnutls -regex -remote-logging -snmp -systemd -test" LUA_SINGLE_TARGET="lua5-1 -lua5-2 -lua5-3 -lua5-4 -luajit"
Created attachment 709458 [details] emerge-info.txt
Created attachment 709461 [details] emerge-history.txt
Created attachment 709464 [details] environment
Created attachment 709467 [details] etc.portage.tar.bz2
Created attachment 709470 [details] logs.tar.bz2
Created attachment 709473 [details] net-dns:dnsdist-1.6.0:20210517-190835.log
Created attachment 709476 [details] temp.tar.bz2
Previous 1.5.1-r100 is fine with gcc11, seems this version introduced this.
Feel free to steal a patch from my overlay: https://github.com/hhoffstaette/portage/blob/master/net-dns/dnsdist/files/dnsdist-1.6.0-add-missing-include.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f4c9bd084526bce777418dc7a1d269046413bea commit 6f4c9bd084526bce777418dc7a1d269046413bea Author: Sam James <sam@gentoo.org> AuthorDate: 2021-06-15 03:45:51 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-15 03:45:51 +0000 net-dns/dnsdist: fix build with GCC 11, protobuf no longer optional * Fix build with GCC 11 * Upstream made protobuf mandatory Closes: https://bugs.gentoo.org/790719 Signed-off-by: Sam James <sam@gentoo.org> net-dns/dnsdist/dnsdist-1.6.0.ebuild | 9 ++++---- .../dnsdist-1.6.0-gcc11-missing-include.patch | 24 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 5 deletions(-)