Package Details: jujutsu-git 0.22.0.r109.gb795bf956-1

Git Clone URL: https://aur.archlinux.org/jujutsu-git.git (read-only, click to copy)
Package Base: jujutsu-git
Description: Git-compatible VCS that is both simple and powerful
Upstream URL: https://github.com/martinvonz/jj
Keywords: git mercurial vcs
Licenses: Apache-2.0
Conflicts: jj, jujutsu
Provides: jj, jujutsu
Submitter: uhthomas
Maintainer: ChaseCares
Last Packager: ChaseCares
Votes: 6
Popularity: 1.16
First Submitted: 2022-02-20 16:17 (UTC)
Last Updated: 2024-10-16 09:29 (UTC)

Latest Comments

saghm commented on 2025-02-03 08:45 (UTC)

Trying to install this just now, I got the following error:

  > PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags libgit2 libgit2 >= 1.8.1 libgit2 < 1.9.0

  The system library `libgit2` required by crate `libgit2-sys` was not found.
  The file `libgit2.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
  The PKG_CONFIG_PATH environment variable is not set.

  HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `libgit2.pc`.


  --- stderr
  thread 'main' panicked at /home/saghm/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libgit2-sys-0.17.0+1.8.1/build.rs:39:13:
  The environment variable `LIBGIT2_NO_VENDOR` has been set but no compatible system libgit2 could be found.
  The build is now aborting. To disable, unset the variable or use `LIBGIT2_NO_VENDOR=0`.

Deleting export LIBGIT2_NO_VENDOR=1 fixes this for me; I'm guessing this is because of https://github.com/jj-vcs/jj/pull/5228 (which incidentally is why I wanted to install from git in the first place).

ChaseCares commented on 2024-10-16 09:45 (UTC)

@emilylime Done, thank you!

emilylime commented on 2024-09-08 08:39 (UTC) (edited on 2024-09-08 08:40 (UTC) by emilylime)

Trying to build this package without cleaning the src directory fails because the src/jujutsu-git/completions directory already exists:

==> Starting prepare()...
mkdir: cannot create directory ‘completions’: File exists
==> ERROR: A failure occurred in prepare().
    Aborting...

I recommend adding -p to the command so it only errors if completions isn't a directory:

-    mkdir completions
+    mkdir -p compeltions

xnuk commented on 2023-06-01 08:25 (UTC)

Since Apr 13 (92a911b7), jj debug completion is moved to jj util completion. You may want to change this accordingly.

--- PKGBUILD
+++ PKGBUILD
@@ -34,9 +34,9 @@
     export CARGO_TARGET_DIR=target
     cargo build --frozen --release --all-features

-    "target/release/$_pkgname" debug completion --bash > "completions/$_pkgname.bash"
-    "target/release/$_pkgname" debug completion --fish > "completions/$_pkgname.fish"
-    "target/release/$_pkgname" debug completion --zsh > "completions/_$_pkgname"
+    "target/release/$_pkgname" util completion --bash > "completions/$_pkgname.bash"
+    "target/release/$_pkgname" util completion --fish > "completions/$_pkgname.fish"
+    "target/release/$_pkgname" util completion --zsh > "completions/_$_pkgname"
 }

 check() {