Package Details: gitui 0.10.1-2

Git Clone URL: (read-only, click to copy)
Package Base: gitui
Description: Blazing fast terminal-ui for git written in Rust
Upstream URL:
Licenses: MIT
Conflicts: gitui-git
Submitter: wezm
Maintainer: Conni2461
Last Packager: wezm
Votes: 2
Popularity: 0.198418
First Submitted: 2020-05-15 01:22
Last Updated: 2020-09-07 00:07

Latest Comments

Tobiwan commented on 2020-11-05 13:20

After upgrading my Manjaro, I've received this error message: gitui: error while loading shared libraries: cannot open shared object file: No such file or directory

ls /usr/lib/libgit* shows: /usr/lib/ /usr/lib/ /usr/lib/

Solution: Remove and reinstall gitui with pamac-manager

Is it possible to auto-recompile gitui when git is updated?

wezm commented on 2020-10-19 22:05

mathieu.clabaut: gitui needs the latest stable compiler. It shouldn’t need nightly. If you already had an older version of the stable compiler installed you can update with rustup update stable.

mathieu.clabaut commented on 2020-10-19 09:46

I only succeeded in building the package by replacing cargo build with cargo +nightly build.

wezm commented on 2020-09-07 00:06

Blargh, thank you runical. Really dislike how that xcb crate has a python dependency. I've udpated the PKGBUILD.

Does this really just require cargo, or does it need the full rust language to be installed in order for the compilation to succeed?

Yes, cargo will always have a dependency on rust, since it can't work without it.

runical commented on 2020-09-06 08:14

I get the following error when I compile in a clean chroot:

error: failed to run custom build command for xcb v0.8.2

Caused by: process didn't exit successfully: /build/gitui/src/gitui-0.10.1/target/release/build/xcb-f660879a3b26fc78/build-script-build (exit code: 101) --- stderr thread 'main' panicked at 'Unable to find build dependency python3: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /build/.cargo/registry/src/ note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Adding python as a makedep fixes the problem.

Edit: Does this really just require cargo, or does it need the full rust language to be installed in order for the compilation to succeed?

wezm commented on 2020-07-08 09:57

I've build version 0.8.1 on two different computers successfully now. I double checked the dependencies -- they look ok. Do you have a recent version of rust installed? You'll need at least 1.44.0. Check with rustc --version.

psamim commented on 2020-07-08 09:25

It fails:

error: aborting due to previous error

error: could not compile proc-macro2.

To learn more, run the command again with --verbose. warning: build failed, waiting for other jobs to finish... error: build failed ==> ERROR: A failure occurred in build(). Aborting... error making: %!s(func() string=0x55d36f58d830)

thomaseizinger commented on 2020-06-25 03:49

The PKGBUILD assumes the target directory to be in the current working directory, which is default for cargo. I have globally set CARGO_BUILD_TARGET_DIR on my machine to make cargo build artifacts in the same location for all my projects. This allows me to free space quickly.

Unfortunately, with that setup, building this package fails on my machine.

Adding --target-dir=./target makes it work again.

wezm commented on 2020-06-16 20:59


Version 0.7.0-1 only builds with Rust nightly.

I don't think that's right. I built it with the stable compiler. It does require the latest stable release though, 1.44.0.

bwalter commented on 2020-06-16 20:52

Version 0.7.0-1 only builds with Rust nightly. I think the dependencies need to be adjusted as it won't compile with the "normal" rust package (but works when using "rustup default nightly" or "rust-nightly-bin").