Your message dated Mon, 12 Oct 2026 15:21:03 +0000
with message-id <[email protected]>
and subject line Bug#1140146: fixed in dnsdist 2.1.3-1
has caused the Debian Bug report #1140146,
regarding dnsdist: fix ftbfs on armhf
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1140146: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1140146
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dnsdist
Version: 2.0.5-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu stonking ubuntu-patch
Dear Maintainer,
armhf build is failing with clang21.
2 changes are needed to fix the build failure:
* d/rules: drop -fno-stack-clash-protection from C/C++ flags.
clang does not implement stack-clash protection on armhf, so this flag
is an unused argument. meson promotes the resulting warning to an error
during its compiler checks (-Werror=unused-command-line-argument),
which made the pthread.h check fail and broke configure on armhf.
* d/p/fix-cache-size-narrowing-32bit.patch
Thanks for considering the patch.
-- System Information:
Debian Release: trixie/sid
APT prefers noble-updates
APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'),
(100, 'noble-backports')
Architecture: amd64 (x86_64)
Kernel: Linux 6.17.0-35-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru dnsdist-2.0.5/debian/patches/fix-cache-size-narrowing-32bit.patch
dnsdist-2.0.5/debian/patches/fix-cache-size-narrowing-32bit.patch
--- dnsdist-2.0.5/debian/patches/fix-cache-size-narrowing-32bit.patch
1970-01-01 01:00:00.000000000 +0100
+++ dnsdist-2.0.5/debian/patches/fix-cache-size-narrowing-32bit.patch
2026-06-16 00:14:55.000000000 +0200
@@ -0,0 +1,21 @@
+Description: Fix narrowing of packet cache size on 32-bit architectures
+ The YAML configuration field cache.size is a uint64_t, while
+ DNSDistPacketCache::CacheSettings::d_maxEntries is a size_t. On 32-bit
+ architectures (e.g. armhf) size_t is 32-bit, so the designated-initializer
+ assignment is a narrowing conversion, which clang rejects with
+ -Wc++11-narrowing. Cast explicitly to size_t.
+Author: Hector Cao <[email protected]>
+Forwarded: https://github.com/PowerDNS/pdns/pull/17575
+Last-Update: 2026-06-16
+
+--- a/dnsdist-configuration-yaml.cc
++++ b/dnsdist-configuration-yaml.cc
+@@ -1165,7 +1165,7 @@
+
+ for (const auto& cache : globalConfig.packet_caches) {
+ DNSDistPacketCache::CacheSettings settings{
+- .d_maxEntries = cache.size,
++ .d_maxEntries = static_cast<size_t>(cache.size),
+ .d_maxTTL = cache.max_ttl,
+ .d_minTTL = cache.min_ttl,
+ .d_tempFailureTTL = cache.temporary_failure_ttl,
diff -Nru dnsdist-2.0.5/debian/patches/series
dnsdist-2.0.5/debian/patches/series
--- dnsdist-2.0.5/debian/patches/series 2026-04-26 22:35:15.000000000 +0200
+++ dnsdist-2.0.5/debian/patches/series 2026-06-16 00:14:55.000000000 +0200
@@ -1 +1,2 @@
rust-debcargo-licensing.patch
+fix-cache-size-narrowing-32bit.patch
diff -Nru dnsdist-2.0.5/debian/rules dnsdist-2.0.5/debian/rules
--- dnsdist-2.0.5/debian/rules 2026-05-30 00:57:34.000000000 +0200
+++ dnsdist-2.0.5/debian/rules 2026-06-16 00:14:55.000000000 +0200
@@ -29,6 +29,16 @@
# Vendor and version
CXXFLAGS += -DPACKAGEVERSION='"$(DEB_VERSION).$(DEB_VENDOR)"'
+# We build with clang, but clang does not implement stack-clash protection on
+# armhf, where dpkg-buildflags still emits -fno-stack-clash-protection. For
+# clang this is an unused argument, resulting warning to
+# an error during its compiler checks (-Werror=unused-command-line-argument),
+# breaking configure. Drop the no-op flag on armhf to avoid this.
+ifeq ($(DEB_HOST_ARCH),armhf)
+CFLAGS := $(filter-out -fno-stack-clash-protection,$(CFLAGS))
+CXXFLAGS := $(filter-out -fno-stack-clash-protection,$(CXXFLAGS))
+endif
+
%:
dh $@ --buildsystem=meson
--- End Message ---
--- Begin Message ---
Source: dnsdist
Source-Version: 2.1.3-1
Done: Chris Hofstaedtler <[email protected]>
We believe that the bug you reported is fixed in the latest version of
dnsdist, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Hofstaedtler <[email protected]> (supplier of updated dnsdist package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 12 Oct 2026 17:01:24 +0200
Source: dnsdist
Architecture: source
Version: 2.1.3-1
Distribution: unstable
Urgency: medium
Maintainer: dnsdist packagers <[email protected]>
Changed-By: Chris Hofstaedtler <[email protected]>
Closes: 1140146 1141584 1149737
Changes:
dnsdist (2.1.3-1) unstable; urgency=medium
.
[ Chris Hofstaedtler ]
* New upstream version 2.1.3
* Build with lld 22, matching rustc LLVM 22 usage (Closes: #1149737)
* Update librust-cxx-dev build-dep to match upstream constraints
(Closes: #1141584)
.
[ Hector Cao ]
* Filter out -fno-stack-clash-protection on armhf (Closes: #1140146)
Checksums-Sha1:
f07648c3848584694ebed88d322339c36bba2ef7 1919 dnsdist_2.1.3-1.dsc
0e28b7d9a416126750e978ba7812d0ea05223843 2372376 dnsdist_2.1.3.orig.tar.xz
87391d49c299c77f6ebfc948a98b7d343c3dc4bb 12280 dnsdist_2.1.3-1.debian.tar.xz
dec005e2ac183caa2938004200478c1ed1f6f3e1 11656 dnsdist_2.1.3-1_arm64.buildinfo
Checksums-Sha256:
a03b1749f79ffb73e0d85a01eabc7a587d225973d47a87b6f37208055b7aa360 1919
dnsdist_2.1.3-1.dsc
41cc224817ff0f7753b46fe5b814ddb9221dd9dbf76e9eb1a09f01c3c5cbb4aa 2372376
dnsdist_2.1.3.orig.tar.xz
286a89fe771d0616a80179a1f843dce217882d857691e52ea502dbddf338ed27 12280
dnsdist_2.1.3-1.debian.tar.xz
6477fef5dbf7c09d7dc137f04336f1a2efeacfc37ec35281d80bbcda91c262f4 11656
dnsdist_2.1.3-1_arm64.buildinfo
Files:
00bf6d03063bcea0ae39aca83c4daf44 1919 net optional dnsdist_2.1.3-1.dsc
6eab55bf8c16e0ae3968613489296650 2372376 net optional dnsdist_2.1.3.orig.tar.xz
1db92c3a3200a0ecf44dfc9636574cd6 12280 net optional
dnsdist_2.1.3-1.debian.tar.xz
279af4e2d8f58b9c684db3a148a56092 11656 net optional
dnsdist_2.1.3-1_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQSAaWBt6yRrKLK4+bRHi2NEKKNrcgUCasz4MgAKCRBHi2NEKKNr
csk5AP9HaKk87QQO0Fu0+N/hJUeqbHsyJzSAKP2y/dVOEUdt5gEAxyzhfkeiwUPx
h2+xq7DaabFMCrcLfFkD7tCJRg5xFgg=
=elPq
-----END PGP SIGNATURE-----
pgpceLgWLlMjg.pgp
Description: PGP signature
--- End Message ---