New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/28341#issuecomment-773047030 Comment: If nushell uses libgit deep down, the `zlib-devel` dependency is required because it's building a vendored in copy of libgit2, since our local one doesn't fullfill its version requirements. Please use `libgit2-devel` as a dependency, since that will pull in `zlib-devel`, which will fix the build while they use the vendored code, and automatically pick up the local version once our libgit2 package is updated. Regarding type errors, they probably picked up a crate which interfaces with some C library and are trying to interface with it using `i8` or `u8`, instead of using `libc::c_char` (or whatever that type is called). Since Rust is way too strict about signedness, this breaks the build. Chars have different standard signedness on x86 vs other platforms.