paru icon indicating copy to clipboard operation
paru copied to clipboard

aarch64 raspi archlinux cannot build paru

Open trcrsired opened this issue 1 year ago • 2 comments

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 | ....as_ptr(), 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 | ...as_ptr(), 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 avatar Oct 11 '24 01:10 trcrsired

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

trcrsired avatar Oct 11 '24 01:10 trcrsired

image

trcrsired avatar Oct 11 '24 01:10 trcrsired