[Pkg-rust-maintainers] Bug#1119838: Bug#1119838: rust-polling: Please update to latest upstream version to fix FTBFS

Fabian Grünbichler debian at fabian.gruenbichler.email
Sat Nov 1 12:09:07 GMT 2025


Control: notfound -1 3.10.0-1
Control: reassign -1 rust-rustix 1.1.2-1
Control: tags -1 +pending
Control: retitle -1 rust-rustix: y2038 compat broken
Control: severity -1 important

On Sat, Nov 1, 2025, at 11:10 AM, John Paul Adrian Glaubitz wrote:
> Source: rust-polling
> Version: 3.10.0-1
> Severity: normal
> User: debian-powerpc at lists.debian.org
> Usertags: powerpc
> X-Debbugs-Cc: debian-powerpc at lists.debian.org
>
> Hello,
>
> rust-polling FTBFS on powerpc:
>
> error: cannot construct `libc::timespec` with struct literal syntax due 
> to private fields
>    --> 
> /usr/share/cargo/registry/rustix-1.1.2/src/backend/libc/event/syscalls.rs:164:37
>
> This seems to be fixed in the latest upstream version:
>
> [..]

the "fix" here was a red-herring - it uses a non-Debian version of
the libc crate, which is lacking y2038 patches, and thus doesn't expose
the issue.

the real root cause is that the rustix and libc crates don't agree on
the targets that require y2038 compat/have 64-bit timestamps.

I've verified a fix on powerpc that should also unbreak other targets,
and will upload that shortly.



More information about the Pkg-rust-maintainers mailing list