Morganamilo / paru

Feature packed AUR helper
GNU General Public License v3.0
6.19k stars 239 forks source link

aarch64 raspi archlinux cannot build paru #1259

Open trcrsired opened 6 days ago

trcrsired commented 6 days ago
Compiling crossbeam-deque v0.8.5 error[E0308]: mismatched types --> /home/cqwrteur/.cargo/registry/src/index.crates.io-6f17d22bba15001f/alpm-4.0.1/src/cb.rs:244:60 244 ....asptr(), Some(cb), &ctx as const as *mut _) }; ---- ^^ expected fn pointer, found fn item
arguments to this enum variant are incorrect
= note: expected fn pointer `unsafe extern "C" fn(_, _, _, *mut __va_list_tag)`
              found fn item `extern "C" fn(_, _, _, [__va_list_tag; 1]) {logcb::<LogCbImpl<T, F>>}`
help: the type constructed contains extern "C" fn(*mut c_void, u32, *const u8, [__va_list_tag; 1]) {logcb::<LogCbImpl<T, F>>} due to the type of the argument passed --> /home/cqwrteur/.cargo/registry/src/index.crates.io-6f17d22bba15001f/alpm-4.0.1/src/cb.rs:244:55 244 ...asptr(), Some(cb), &ctx as const as *mut _) }; ^^^^^--^
this argument influences the type of Some

note: tuple variant defined here --> /rustc/eb4e2346748e1760f74fcaa27b42431e0b95f8f3/library/core/src/option.rs:579:5

trcrsired commented 6 days ago

https://github.com/archlinux/alpm.rs/issues/44

trcrsired commented 6 days ago

image