Archlinux Arm, aarch64 build, rpi 3
Using this AUR package AUR (en) - geph4-client
Encountering this error at the end of the compiling
Compiling binder_transport v0.1.0 (/home/xx/.cache/yay/geph4/src/geph4-4.1.8/lib/binder_transport)
Compiling geph4-binder v0.1.0 (/home/xx/.cache/yay/geph4/src/geph4-4.1.8/geph4-binder)
error[E0308]: mismatched types
--> geph4-binder/src/bindercore.rs:499:13
|
499 | password.as_ptr() as *const i8,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
|
= note: expected raw pointer `*const u8`
found raw pointer `*const i8`
error[E0308]: mismatched types
--> geph4-binder/src/bindercore.rs:511:13
|
511 | output.as_mut_ptr() as *mut i8,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
|
= note: expected raw pointer `*mut u8`
found raw pointer `*mut i8`
error[E0308]: mismatched types
--> geph4-binder/src/bindercore.rs:512:13
|
512 | password.as_ptr() as *const i8,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
|
= note: expected raw pointer `*const u8`
found raw pointer `*const i8`
error[E0308]: mismatched types
--> geph4-binder/src/bindercore.rs:519:40
|
519 | let cstr = unsafe { CStr::from_ptr(output.as_ptr() as *const i8) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
|
= note: expected raw pointer `*const u8`
found raw pointer `*const i8`
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0308`.
error: could not compile `geph4-binder`
To learn more, run the command again with --verbose.
==> ERROR: A failure occurred in build().
Aborting...
error making: geph4 (geph4-client)
How to fix this problem?