Package Details: libgit2-git 2:0.21.0.r65.g9b87998-1

Git Clone URL: https://aur.archlinux.org/libgit2-git.git (read-only)
Package Base: libgit2-git
Description: A linkable library for Git
Upstream URL: http://libgit2.github.com/
Licenses: GPL2
Conflicts: libgit2
Provides: libgit2
Submitter: herve
Maintainer: None
Last Packager: thestinger
Votes: 8
Popularity: 0.000000
First Submitted: 2009-09-13 14:25
Last Updated: 2015-06-25 14:48

Required by (33)

Sources (1)

Latest Comments

codyps commented on 2016-02-19 16:19

check() fails due to libgit2_clar failing. Adding CTEST_OUTPUT_ON_FAILURE=1 (which should be enabled by default in the PKGBUILD) tells me:

online::clone::bitbucket_style [/tmp/pacaurtmp-cody/libgit2-git/src/libgit2/tests/online/clone.c:348]
Function call failed: (git_clone(&g_repo, "https://libgit3@bitbucket.org/libgit2/testgitrepository.git", "./foo", &g_options))
error -1 - HTTP parser error: unexpected content-length header

Unclear what the cause is.

rafi commented on 2014-07-02 18:13

Failed to checkout: fatal: ambiguous argument 'development': unknown revision or path not in the working tree.

thestinger commented on 2013-05-31 23:06

Python now cares more about the system locale, so that's the problem. Using an old version that doesn't care about the system locale may work but it's not a long-term solution to the problem.

stefano.facchini commented on 2013-05-31 22:58

thestinger, I don't know about the en_US.UTF-8 locale, but using python2 (with configure flag -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2) solves the problem

stefano.facchini commented on 2013-05-31 22:55

thestinger, I don't know about the en_US.UTF-8 locale, but using python2 (with configure flag -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2) solves the problem

stefano.facchini commented on 2013-05-31 22:50

thestinger, I don't know about the en_US.UTF-8 locale, but using python2 (with configure flag -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2) solves the problem

thestinger commented on 2013-05-31 22:22

You need the en_US.UTF-8 locale generated. It's one of the two locales generated in the root used for building with devtools, so the package has to hardcode it.

stefano.facchini commented on 2013-05-31 22:15

Build fails for me:

Linking C shared library libgit2.so
[ 24%] Built target git2
[ 24%] Generating tests-clar/clar.suite
Traceback (most recent call last):
File "generate.py", line 240, in <module>
suite.load(options.force)
File "generate.py", line 185, in load
if not self.modules[name].refresh(path):
File "generate.py", line 122, in refresh
raw_content = fp.read()
File "/usr/lib/python3.3/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 19532: ordinal not in range(128)
make[2]: *** [tests-clar/clar.suite] Error 1
make[1]: *** [CMakeFiles/libgit2_clar.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

yoseforb commented on 2013-04-16 17:13

And add the provides 'libgit2=0.18.0'

yoseforb commented on 2013-04-16 17:12

Add "-DTHREADSAFE=ON" option for support thread for libgit2-glib (for gitg).

By the way, how can we build the documentation ?

All comments