Your message dated Thu, 22 Jan 2026 13:46:33 +0100
with message-id <[email protected]>
and subject line Re: Bug#1058643: dnsdist: re-enable 32-bit support via 
_TIME_BITS=64
has caused the Debian Bug report #1058643,
regarding dnsdist: re-enable 32-bit support via _TIME_BITS=64
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.)


-- 
1058643: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058643
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dnsdist
Version: 1.8.2-3
Severity: wishlist
X-Debbugs-Cc: [email protected]

Dear Maintainer,

dnsdist has been available until Bullseye in Debian on 32-bit arhitectures, 
when support was removed and package was modified to depend on 
"architecture-is-64-bit".

That seems to be prompted by this upstream change (quoting from
https://blog.powerdns.com/2021/05/11/dnsdist-1-6-0-released):

"We would also like to take this opportunity to announce that we will stop
supporting systems using 32-bit time.  This includes 32-bit Linux platforms
like arm and i386 before kernel version 5.1."

and confirmed in Debian changelog
https://sources.debian.org/src/dnsdist/1.8.2-3/debian/changelog/#L97 
"* Note: upstream dropped support for archs with 32bit time_t values in 1.6.0."

And indeed, trying to compile Debian package on 32-bit armhf Debian Bookworm, 
it fails in configure step due to 32-bit time_t.

However, Debian Bookworm (and newer) include new glibc and kernel > 5.1
which allow for 64-bit time_t on 32-bit system like armhf, as documented
here:

https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html#index-_005fTIME_005fBITS

So, all that is needed for dnsdist on 32-bit platform (like my Rasperry Pi
armhf, where I tested that solution, and it compiles and runs just fine, 
both versions 1.7.3-2 and 1.8.2-3) is:

export DEB_CXXFLAGS_APPEND="-D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64"
(and skipping dependency on architecture-is-64-bit, of course).

So, can we fix the build on 32-bit architectures that support 64-bit time_t? 
I'd love to see dnsdist back on armhf in Trixie!

Thank you for your consideration.

--- End Message ---
--- Begin Message ---
> > I think we'll wait at the very least until Debian finishes the t64
> > transition, and then we'll see what to do about 32bit archs.
> 
> Yes, when transition happens (with tentative timeline of Jan 2024?),
> re-enabling 32-bit archs for dnsdist should "just work". 

dnsdist builds again on all archs. I'm not sure if its supposed to 
do that on i386, but I personally don't care about i386 for this.

Best,
Chris

--- End Message ---

Reply via email to