[Pkg-rust-maintainers] Bug#1040888: rust-condure FTBFS on architectures with unsigned char
Adrian Bunk
bunk at debian.org
Wed Jul 12 00:15:21 BST 2023
Source: rust-condure
Version: 1.10.0-1
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/fetch.php?pkg=rust-condure&arch=ppc64el&ver=1.10.0-1&stamp=1689116835&raw=0
...
error[E0308]: mismatched types
--> src/lib.rs:161:13
|
158 | if libc::getpwnam_r(
| ---------------- arguments to this function are incorrect
...
161 | buf.as_mut_ptr() as *mut i8,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
|
= note: expected raw pointer `*mut u8`
found raw pointer `*mut i8`
note: function defined here
error[E0308]: mismatched types
--> src/lib.rs:188:13
|
185 | if libc::getgrnam_r(
| ---------------- arguments to this function are incorrect
...
188 | buf.as_mut_ptr() as *mut i8,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
|
= note: expected raw pointer `*mut u8`
found raw pointer `*mut i8`
note: function defined here
For more information about this error, try `rustc --explain E0308`.
error: could not compile `condure` due to 2 previous errors
...
More information about the Pkg-rust-maintainers
mailing list