Source: subsurface
Version: 4.3-1~exp1
Severity: serious
subsurface FTBFS against recent libgit:
compiling save-git.c
save-git.c: In function 'new_directory':
save-git.c:480:2: warning: implicit declaration of function
'git_treebuilder_create' [-Wimplicit-function-declaration]
git_treebuilder_create(&subdir->files, NULL);
^
save-git.c: In function 'write_git_tree':
save-git.c:1059:38: warning: passing argument 2 of 'git_treebuilder_write' from
incompatible pointer type
ret = git_treebuilder_write(result, repo, tree->files);
^
In file included from /usr/include/git2/diff.h:13:0,
from /usr/include/git2/checkout.h:12,
from /usr/include/git2.h:17,
from save-git.c:11:
/usr/include/git2/tree.h:375:17: note: expected 'struct git_treebuilder *' but
argument is of type 'struct git_repository *'
GIT_EXTERN(int) git_treebuilder_write(
^
save-git.c:1059:8: error: too many arguments to function 'git_treebuilder_write'
ret = git_treebuilder_write(result, repo, tree->files);
^
In file included from /usr/include/git2/diff.h:13:0,
from /usr/include/git2/checkout.h:12,
from /usr/include/git2.h:17,
from save-git.c:11:
/usr/include/git2/tree.h:375:17: note: declared here
GIT_EXTERN(int) git_treebuilder_write(
^
Makefile:1671: recipe for target '.obj/save-git.o' failed
make[1]: *** [.obj/save-git.o] Error 1
make[1]: Leaving directory '/tmp/buildd/subsurface-4.3'
dh_auto_build: make -j1 returned exit code 2
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 25
Andreas
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]