[Pkg-rust-maintainers] Bug#1070491: rust-pipewire FTBFS on 32bit with 64bit time_t
Adrian Bunk
bunk at debian.org
Mon May 6 12:14:15 BST 2024
Source: rust-pipewire
Version: 0.8.0-4
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/logs.php?pkg=rust-pipewire&ver=0.8.0-4
...
error[E0308]: mismatched types
--> src/thread_loop.rs:142:43
|
142 | nix::sys::time::TimeSpec::new(abstime.tv_sec, abstime.tv_nsec)
| ----------------------------- ^^^^^^^^^^^^^^ expected `i64`, found `i32`
| |
| arguments to this function are incorrect
|
note: associated function defined here
--> /usr/share/cargo/registry/nix-0.27.1/src/sys/time.rs:339:18
|
339 | pub const fn new(seconds: time_t, nanoseconds: timespec_tv_nsec_t) -> Self {
| ^^^
help: you can convert an `i32` to an `i64`
|
142 | nix::sys::time::TimeSpec::new(abstime.tv_sec.into(), abstime.tv_nsec)
| +++++++
error[E0308]: mismatched types
--> src/thread_loop.rs:152:25
|
152 | tv_sec: abstime.tv_sec(),
| ^^^^^^^^^^^^^^^^ expected `i32`, found `i64`
For more information about this error, try `rustc --explain E0308`.
error: could not compile `pipewire` (lib) due to 2 previous errors
...
More information about the Pkg-rust-maintainers
mailing list