too long lines were shrinked: x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I. -I. -pthread -I/usr/include/lua5.1 -I/usr/include/editline -I./ext/yahttp -I./ext/protozero/include -DSYSCONFDIR=\"/etc/dnsdist\" -DBOOST_CONTAINER_USE_STD_EXCEPTIONS -pthread -DNOMINMAX -std=c++17 -D_FILE_OFFSET_BITS=64 -D_ x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I. -I. -pthread -I/usr/include/lua5.1 -I/usr/include/editline -I./ext/yahttp -I./ext/protozero/include -DSYSCONFDIR=\"/etc/dnsdist\" -DBOOST_CONTAINER_USE_STD_EXCEPTIONS -pthread -DNOMINMAX -std=c++17 -D_FILE_OFFSET_BITS=64 -D_ x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I. -I. -pthread -I/usr/include/lua5.1 -I/usr/include/editline -I./ext/yahttp -I./ext/protozero/include -DSYSCONFDIR=\"/etc/dnsdist\" -DBOOST_CONTAINER_USE_STD_EXCEPTIONS -pthread -DNOMINMAX -std=c++17 -D_FILE_OFFSET_BITS=64 -D_ x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I. -I. -pthread -I/usr/include/lua5.1 -I/usr/include/editline -I./ext/yahttp -I./ext/protozero/include -DSYSCONFDIR=\"/etc/dnsdist\" -DBOOST_CONTAINER_USE_STD_EXCEPTIONS -pthread -DNOMINMAX -std=c++17 -D_FILE_OFFSET_BITS=64 -D_ x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I. -I. -pthread -I/usr/include/lua5.1 -I/usr/include/editline -I./ext/yahttp -I./ext/protozero/include -DSYSCONFDIR=\"/etc/dnsdist\" -DBOOST_CONTAINER_USE_STD_EXCEPTIONS -pthread -DNOMINMAX -std=c++17 -D_FILE_OFFSET_BITS=64 -D_ ext/json11/json11.cpp: In function void json11::dump(const std::string&, std::string&): ext/json11/json11.cpp:96:32: error: uint8_t does not name a type 96 | } else if (static_cast<uint8_t>(ch) <= 0x1f) { | ^~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop_plasma-20240806-191039 UNMASKED: Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense. <sys-devel/gcc-15.0.9999:15 Requested by sam ~dev-libs/icu-75.1 ~dev-libs/icu-layoutex-75.1 Requested by sam >=sys-libs/ncurses-6.5 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-15 * clang/llvm (if any): clang version 18.1.8 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.8 Python 3.12.5 Available Rust versions: [1] rust-bin-1.79.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21] 3) Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 [3] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.22.6 linux/amd64 HEAD of ::gentoo commit ad57b06c4beb84f5999a1822660d2abd6bce0b4f Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Aug 9 07:19:19 2024 +0000 2024-08-09 07:19:18 UTC emerge -qpvO =net-dns/dnsdist-1.9.6 [ebuild N ] net-dns/dnsdist-1.9.6 USE="regex snmp ssl xdp -bpf -cdb -dnscrypt -dnstap -doh -doh3 -ipcipher -lmdb -quic -systemd -test -web" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4 -luajit"
Created attachment 899690 [details] emerge-info.txt
Created attachment 899691 [details] emerge-history.txt
Created attachment 899692 [details] environment
Created attachment 899693 [details] etc.clang.tar.xz
Created attachment 899694 [details] etc.portage.tar.xz
Created attachment 899695 [details] logs.tar.xz
Created attachment 899696 [details] net-dns:dnsdist-1.9.6:20240809-083415.log
Created attachment 899697 [details] qlist-info.txt.xz
Created attachment 899698 [details] temp.tar.xz
See also: https://bugs.gentoo.org/937530 https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79d5a2baf84f5a9086cf49095928bc9fb31cfb82
Normally I would suggest to depend on unbundled dev-cpp/json11 but that would require quite severe surgery to the build system. :(
Reported upstream: https://github.com/PowerDNS/pdns/issues/14549
Created attachment 899707 [details, diff] Patch for json11 Easy peasy: diff --git a/net-dns/dnsdist/dnsdist-1.9.6.ebuild b/net-dns/dnsdist/dnsdist-1.9.6.ebuild index 201ef98..e076c3b 100644 --- a/net-dns/dnsdist/dnsdist-1.9.6.ebuild +++ b/net-dns/dnsdist/dnsdist-1.9.6.ebuild @@ -48,6 +48,8 @@ RDEPEND="acct-group/dnsdist DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" +PATCHES=( "${FILESDIR}/1.9.6-json11-gcc15.patch" ) + src_prepare() { default
Depends on: https://bugs.gentoo.org/932474
Fixed upstream in https://github.com/PowerDNS/pdns/commit/8d6d32bef74aa2cba41421645936fade35c71c72
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73369745e0a35f1b78af0e13c8db78866fae3eca commit 73369745e0a35f1b78af0e13c8db78866fae3eca Author: Holger Hoffstätte <holger@applied-asynchrony.com> AuthorDate: 2024-09-08 07:36:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-08 08:52:42 +0000 net-dns/dnsdist: build fixes for gcc-15 & boost-1.86.0 Also reported & fixed upstream. Closes: https://bugs.gentoo.org/937628 Closes: https://bugs.gentoo.org/938947 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Sam James <sam@gentoo.org> net-dns/dnsdist/dnsdist-1.9.6-r1.ebuild | 117 +++++++++++++++++++++++++ net-dns/dnsdist/files/1.9.6-boost-1.86.0.patch | 35 ++++++++ net-dns/dnsdist/files/1.9.6-json11-gcc15.patch | 19 ++++ 3 files changed, 171 insertions(+)