Package Details: guile-git-lib 0.5.2-1

Git Clone URL: (read-only, click to copy)
Package Base: guile-git-lib
Description: Guile bindings for libgit2
Upstream URL:
Keywords: libgit2
Licenses: GPL3
Submitter: lantw44
Maintainer: lantw44
Last Packager: lantw44
Votes: 3
Popularity: 0.000000
First Submitted: 2017-12-10 04:32 (UTC)
Last Updated: 2021-11-11 16:30 (UTC)

Latest Comments

lantw44 commented on 2021-11-11 16:32 (UTC)

@Alireza This is an upstream bug. I have updated the PKGBUILD to apply the patch from

Alireza commented on 2021-10-29 07:51 (UTC) (edited on 2021-10-29 07:52 (UTC) by Alireza)

Hi there I faced this

FAIL: tests/clone.scm - clone-auth-ssh-credentials
FAIL: tests/clone.scm - clone-auth-ssh-agent
FAIL: tests/clone.scm - clone-and-fetch-auth-ssh-credentials
FAIL: tests/clone.scm - clone + transfer-progress

and also at last

error: target not found: guile-ssh
error: target not found: guile-zstd
error: target not found: guile-semver
error: target not found: guile-lib
 -> error making: guile-git-lib

fenuks commented on 2021-07-26 12:04 (UTC) (edited on 2021-07-26 12:15 (UTC) by fenuks)

Sorry, these locales are my fault. I used LANG=en makepkg to have messages in English, and it works fine with tools like makepkg, make, etc., but guile apparently doesn't understand that, and requires something like LANG=en_GB.UTF8, which in turn doesn't work with make, makepkg. I've updated build log when I passed LANG=en_GB.UTF8, these warnings are irrelevant.

EDIT: I just tried building it in clean chroot, and it worked, so it must be something related to my configuration/other packages.

EDIT2: Running sudo pacman -Rss guix fixed building problem. I suppose one of guile libraries was causing problem.

lantw44 commented on 2021-07-25 18:16 (UTC)

I can't reproduce the issue. Do you know why there were a lot of 'failed to install locale: Invalid argument' messages?

fenuks commented on 2021-07-20 08:52 (UTC) (edited on 2021-07-26 12:00 (UTC) by fenuks)

It doesn't build for me. Build log below.

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: checking for guile 2.2
configure: found guile 2.2
checking for guile-2.2... no
checking for guile2.2... no
checking for guile-2... no
checking for guile2... no
checking for guile... /usr/bin/guile
checking for Guile version >= 2.2... 2.2.7
checking for guild... /usr/bin/guild
checking for guile-config... /usr/bin/guile-config
checking if (srfi srfi-64) is available... yes
checking if (bytestructures guile) is available... yes
checking for libgit2 >= 0.28.0... yes
checking libgit2 library path... checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for git_remote_callbacks.resolve_url... yes
checking for sshd... /usr/bin/sshd
checking for ssh-agent... /usr/bin/ssh-agent
checking for ssh-add... /usr/bin/ssh-add
checking for git-upload-pack... /usr/bin/git-upload-pack
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating git/configuration.scm
config.status: creating tests/ssh.scm
config.status: creating pre-inst-env
config.status: executing depfiles commands
  GEN      git.go
  GEN      git/annotated.go
  GEN      git/attr.go
  GEN      git/bindings.go
  GEN      git/auth.go
  GEN      git/blame.go
  GEN      git/blob.go
  GEN      git/checkout.go
  GEN      git/branch.go
  GEN      git/cherrypick.go
  GEN      git/clone.go
  GEN      git/commit.go
  GEN      git/cred.go
  GEN      git/config.go
  GEN      git/describe.go
  GEN      git/diff.go
  GEN      git/fetch.go
  GEN      git/errors.go
  GEN      git/oid.go
  GEN      git/reference.go
  GEN      git/object.go
  GEN      git/repository.go
  GEN      git/reset.go
  GEN      git/remote.go
In git/bindings.scm:
     22:0 19 (_)
In ice-9/boot-9.scm:
   2874:4 18 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
git/bindings.scm:98:2: warning: unused variable `w'
git/bindings.scm:103:2: warning: unused variable `w'
  2887:24 17 (_)
   222:29 16 (map1 _)
git/diff.scm:93:26: warning: possibly unbound variable `make-diff-options-bytestructure'
git/diff.scm:159:47: warning: possibly unbound variable `pointer->diff-hunk'
git/diff.scm:160:47: warning: possibly unbound variable `pointer->diff-line'
git/diff.scm:186:48: warning: possibly unbound variable `pointer->diff-binary'
git/diff.scm:192:46: warning: possibly unbound variable `pointer->diff-hunk'
git/diff.scm:198:46: warning: possibly unbound variable `pointer->diff-hunk'
git/diff.scm:199:46: warning: possibly unbound variable `pointer->diff-line'
   222:29 15 (map1 _)
   222:29 14 (map1 _)
   222:29 13 (map1 _)
   222:29 12 (map1 _)
   222:29 11 (map1 (((git types)) ((git structs))))
   222:17 10 (map1 (((git structs))))
  2800:17  9 (resolve-interface (git structs) #:select _ #:hide _ # _ …)
In ice-9/threads.scm:
    390:8  8 (_ _)
In ice-9/boot-9.scm:
  2726:13  7 (_)
In ice-9/threads.scm:
    390:8  6 (_ _)
In ice-9/boot-9.scm:
  2994:20  5 (_)
wrote `git/cherrypick.go'
   2312:4  4 wrote `git.go'
(save-module-excursion #<procedure 7f1630bd85a0 at ice-…>)
  3014:26  3 (_)
  GEN      git/rev-parse.go
In unknown file:
           2 (primitive-load-path "git/structs" #<procedure 7f16329e…>)
In git/structs.scm:
  GEN      git/settings.go
wrote `git/attr.go'
wrote `git/blame.go'
  GEN      git/signature.go
  GEN      git/status.go
   456:13  1 (_)
In ice-9/boot-9.scm:
   752:25  0 (dispatch-exception _ _ _)

ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
In procedure module-lookup: Unbound variable: %have-remote-callbacks-resolve-url?
make: *** [Makefile:1540: git/config.go] Błąd 1
make: *** Oczekiwanie na niezakończone zadania....
wrote `git/reset.go'
wrote `git/clone.go'
wrote `git/checkout.go'
wrote `git/errors.go'
wrote `git/oid.go'
wrote `git/blob.go'
wrote `git/rev-parse.go'
wrote `git/annotated.go'
wrote `git/fetch.go'
wrote `git/cred.go'
wrote `git/object.go'
wrote `git/settings.go'
wrote `git/signature.go'
wrote `git/status.go'
wrote `git/remote.go'
wrote `git/auth.go'
wrote `git/describe.go'
wrote `git/bindings.go'
wrote `git/reference.go'
wrote `git/branch.go'
wrote `git/diff.go'
wrote `git/repository.go'
wrote `git/commit.go'
==> ERROR: A failure occurred in build().

haawda commented on 2021-06-16 11:32 (UTC)

Fails to build if guile 3 is installed. Add GUILE_EFFECTIVE_VERSION=2.2 to the .configure call to fix this.

simona commented on 2020-11-30 15:16 (UTC)

==> Avvio di check() in corso...
make check-TESTS
make[1]: ingresso nella directory «/home/simona/.cache/yay/guile-git-lib/src/guile-git-0.3.0»
make[2]: ingresso nella directory «/home/simona/.cache/yay/guile-git-lib/src/guile-git-0.3.0»
PASS: tests/blob.scm
PASS: tests/branch.scm
FAIL: tests/clone.scm
PASS: tests/commit.scm
PASS: tests/describe.scm
PASS: tests/oid.scm
PASS: tests/reference.scm
SKIP: tests/repository.scm
PASS: tests/reset.scm
PASS: tests/remote.scm
PASS: tests/rev-parse.scm
PASS: tests/status.scm
PASS: tests/submodule.scm
PASS: tests/tag.scm
PASS: tests/tree.scm
Testsuite summary for Guile-Git 0.3.0

PASS: 82

lantw44 commented on 2020-08-29 15:31 (UTC)

@simendsjo Does it succeed if you try it again? Probably sshd was too slow to respond.

simendsjo commented on 2020-08-28 18:31 (UTC)

I get strange errors like

+ (test-equal
+   "clone-auth-ssh-credentials"
+   "3f848a1a52416ac99a5c5bf2e6bd55eb7b99d55b"
+   (clone-test directory (make-client-ssh-auth)))
expected-value: "3f848a1a52416ac99a5c5bf2e6bd55eb7b99d55b"
actual-value: #f
+ (git-error
+   #<<git-error> code: -1 message: "Failed to retrieve list of SSH authentication methods: Failed getting response" class: 23>)

lantw44 commented on 2020-06-13 07:41 (UTC)

There are a few files which are present in the git repository but missing from the source tarball. I have updated the PKGBUILD to download missing files from GitLab.

MayeulC commented on 2020-06-03 18:41 (UTC) (edited on 2020-06-03 18:42 (UTC) by MayeulC)

The package fails tests:

==> Starting check()...
make  check-TESTS
make[1]: Entering directory '/tmp/test/guile-git-lib/src/guile-git-0.3.0'
make[2]: Entering directory '/tmp/test/guile-git-lib/src/guile-git-0.3.0'
PASS: tests/branch.scm
PASS: tests/remote.scm
PASS: tests/rev-parse.scm
PASS: tests/reference.scm
PASS: tests/oid.scm
PASS: tests/reset.scm
PASS: tests/blob.scm
SKIP: tests/repository.scm
make[2]: *** [Makefile:1089: tests/clone.log] Error 1
make[2]: *** Waiting for unfinished jobs....
PASS: tests/status.scm

Here is the log in question:

% cat src/guile-git-0.3.0/tests/clone.log
unknown option -- -
OpenSSH_8.3p1, OpenSSL 1.1.1g  21 Apr 2020
usage: sshd [-46DdeiqTt] [-C connection_spec] [-c host_cert_file]
            [-E log_file] [-f config_file] [-g login_grace_time]
            [-h host_key_file] [-o option] [-p port] [-u len]
           3 (primitive-load-path "tests/clone.scm")
In ice-9/boot-9.scm:
    140:2  2 (dynamic-wind #<procedure 7faa252b9220 at ice-9/eval.s?> ?)
In ice-9/eval.scm:
    619:8  1 (_ #(#(#(#(#<directory (tests ssh) 7faa255766?>) ?) ?) ?))
In unknown file:
           0 (chmod "/tmp/test/guile-git-lib/src/guile-git-0.3.0/./?" ?)

ERROR: In procedure chmod:
In procedure chmod: No such file or directory

I'm unsure what to do...

lantw44 commented on 2018-06-09 04:34 (UTC)

I reported this problem to pkgconf:

mikezackles commented on 2018-06-08 21:52 (UTC)

Without digging much, the problem seems to be that extra quotation marks are added surrounding /usr during the configure step.

mikezackles commented on 2018-06-08 21:31 (UTC)

This isn't building for me:

ice-9/boot-9.scm:752:25: In procedure dispatch-exception: Syntax error: git/config.scm:23:0: source expression failed to match any pattern in form (define %libgit2 "" /usr "/lib/libgit2")