FTBFS: master fails to build
@gpoo
Submitted by Germán Poo-Caamaño Link to original bug (#702614)
Description
Today I wanted to give a try to gitg, but I got this error during the build process:
ggit-diff.c: In function 'ggit_diff_blobs':
ggit-diff.c:538:24: warning: passing argument 3 of 'git_diff_blobs' from incompatible pointer type [enabled by default]
/home/gpoo/code/gnome/3.8/install/include/git2/diff.h:996:17: note: expected 'const struct git_blob *' but argument is of type 'struct git_diff_options *'
ggit-diff.c:538:24: warning: passing argument 4 of 'git_diff_blobs' from incompatible pointer type [enabled by default]
/home/gpoo/code/gnome/3.8/install/include/git2/diff.h:996:17: note: expected 'const char *' but argument is of type 'git_diff_file_cb'
ggit-diff.c:538:24: warning: passing argument 5 of 'git_diff_blobs' from incompatible pointer type [enabled by default]
/home/gpoo/code/gnome/3.8/install/include/git2/diff.h:996:17: note: expected 'const struct git_diff_options *' but argument is of type 'git_diff_hunk_cb'
ggit-diff.c:538:24: warning: passing argument 6 of 'git_diff_blobs' from incompatible pointer type [enabled by default]
/home/gpoo/code/gnome/3.8/install/include/git2/diff.h:996:17: note: expected 'git_diff_file_cb' but argument is of type 'git_diff_data_cb'
ggit-diff.c:538:24: warning: passing argument 7 of 'git_diff_blobs' from incompatible pointer type [enabled by default]
/home/gpoo/code/gnome/3.8/install/include/git2/diff.h:996:17: note: expected 'git_diff_hunk_cb' but argument is of type 'struct CallbackWrapperData *'
ggit-diff.c:538:24: error: too few arguments to function 'git_diff_blobs'
/home/gpoo/code/gnome/3.8/install/include/git2/diff.h:996:17: note: declared here
ggit-diff.c: In function 'ggit_diff_blob_to_buffer':
ggit-diff.c:610:33: warning: passing argument 3 of 'git_diff_blob_to_buffer' makes pointer from integer without a cast [enabled by default]
/home/gpoo/code/gnome/3.8/install/include/git2/diff.h:1055:17: note: expected 'const char *' but argument is of type 'gsize'
ggit-diff.c:610:33: warning: passing argument 4 of 'git_diff_blob_to_buffer' makes integer from pointer without a cast [enabled by default]
/home/gpoo/code/gnome/3.8/install/include/git2/diff.h:1055:17: note: expected 'size_t' but argument is of type 'struct git_diff_options *'
ggit-diff.c:610:33: warning: passing argument 5 of 'git_diff_blob_to_buffer' from incompatible pointer type [enabled by default]
/home/gpoo/code/gnome/3.8/install/include/git2/diff.h:1055:17: note: expected 'const char *' but argument is of type 'git_diff_file_cb'
ggit-diff.c:610:33: warning: passing argument 6 of 'git_diff_blob_to_buffer' from incompatible pointer type [enabled by default]
/home/gpoo/code/gnome/3.8/install/include/git2/diff.h:1055:17: note: expected 'const struct git_diff_options *' but argument is of type 'git_diff_hunk_cb'
ggit-diff.c:610:33: warning: passing argument 7 of 'git_diff_blob_to_buffer' from incompatible pointer type [enabled by default]
/home/gpoo/code/gnome/3.8/install/include/git2/diff.h:1055:17: note: expected 'git_diff_file_cb' but argument is of type 'git_diff_data_cb'
ggit-diff.c:610:33: warning: passing argument 8 of 'git_diff_blob_to_buffer' from incompatible pointer type [enabled by default]
/home/gpoo/code/gnome/3.8/install/include/git2/diff.h:1055:17: note: expected 'git_diff_hunk_cb' but argument is of type 'struct CallbackWrapperData *'
ggit-diff.c:610:33: error: too few arguments to function 'git_diff_blob_to_buffer'
/home/gpoo/code/gnome/3.8/install/include/git2/diff.h:1055:17: note: declared here
make[3]: *** [ggit-diff.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory /home/gpoo/code/gnome/3.8/checkout/libgit2-glib/libgit2-glib' make[2]: *** [all] Error 2 make[2]: Leaving directory
/home/gpoo/code/gnome/3.8/checkout/libgit2-glib/libgit2-glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gpoo/code/gnome/3.8/checkout/libgit2-glib'
make: *** [all] Error 2
Version: git master
Resolution: RESOLVED INVALID