Open skyfaller opened 3 weeks ago
I have the same error when trying to cross-compile gitui for OpenWRT ARM.
getting the same issue when trying to install on arch (btw) x86_64
Same when running cargo install on ARM macOS
building via cargo
makes it eagerly update dependencies which will lead to incompatibilities. Please see https://github.com/extrawurst/gitui?tab=readme-ov-file#cargo-install and build via cargo install gitui --locked
hmm, in my opinion cargo does everything right, if your Cargo.toml allows such dependency updates. why not correct it in Cargo.toml, apparently you specified your dependency versions not strict enough ?
@egorenar i went down this path before. its not as easy as that: https://github.com/extrawurst/gitui/issues/2098
@skyfaller let me know if you are able to build via --locked
- it should fix your problem
Describe the bug The latest version of gitui available as a binary on Manjaro ARM is 0.21.0-2, which is too old for me, given the latest release is v0.26.3. So I want to compile the latest version from source.
I have had trouble building gitui on my Pinebook Pro running Manjaro ARM, which is the default Linux distro the laptops ship with (and therefore I assume the best-supported distro, the Pine64 wiki says "The Pinebook Pro is officially supported by the Manjaro ARM project").
I managed to install
aur/gitui-git
withyay gitui-git
, which of course installs the latest VCS version rather than a stable release. In order to make it compile however, I have to runexport CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=gcc
first. I don't know how/why this helps. If I skip that step and run it normally, I get the error:If I run
cargo install gitui
to compile the latest stable release, it fails with the error:Context (please complete the following information):