[libgit2] Compile issue on debian-unstable
Salvador Cuñat
salvador.cunat at gmail.com
Wed Feb 18 14:50:47 PST 2015
Good night.
While compiling last git-master (2e6fcfc) I have had this problem:
compiling
git-access.c
git-access.c: In function
‘update_local_repo’:
git-access.c:23:65: error: too many arguments to function
‘git_remote_fetch’
#define git_remote_fetch(remote, refspecs, signature, reflog)
git_remote_fetch(remote, signature,
reflog)
^
git-access.c:87:10: note: in expansion of macro
‘git_remote_fetch’
error = git_remote_fetch(origin, NULL, NULL,
NULL);
^
In file included from
/usr/local/include/git2/clone.h:14:0,
from
/usr/local/include/git2.h:17,
from
git-access.c:11:
/usr/local/include/git2/remote.h:359:17: note: declared here
GIT_EXTERN(int) git_remote_fetch(git_remote *remote);
^
Makefile:1464: recipe for target '.obj/git-access.o' failed
Debian Jessie actually ships libgit2-21, so it's easy to solve, simply
building a libgit2-22 library, but it would introduce an extra step in the
building instructions (at least, as removing 2-21 could break some
dependencies).
May be the #define can be changed to cover the older definition of
git_remote_fetch
Regards.
Salva.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150218/8e28cd7e/attachment.html>
More information about the subsurface
mailing list