libgit2-glib-0.0.4 doesn't compile
@pachoramos1
Submitted by Pacho Ramos Link to original bug (#703072)
Description
Created attachment 247764 build.log
We get this error:
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -pthread -I/usr/include/gobject-introspection-1.0 -I/usr/lib64/libffi-3.0.11/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -DDATADIR="/usr/share" -DLIBDIR="/usr/lib64" -O2 -pipe -march=native -c ggit-diff.c -fPIC -DPIC -o .libs/ggit-diff.o
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]
/usr/include/git2/diff.h:996:51: 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]
/usr/include/git2/diff.h:996:51: 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]
/usr/include/git2/diff.h:996:51: 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]
/usr/include/git2/diff.h:996:51: 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]
/usr/include/git2/diff.h:996:51: 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'
/usr/include/git2/diff.h:996:51: 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]
/usr/include/git2/diff.h:1055:51: 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]
/usr/include/git2/diff.h:1055:51: 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]
/usr/include/git2/diff.h:1055:51: 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]
/usr/include/git2/diff.h:1055:51: 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]
/usr/include/git2/diff.h:1055:51: 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]
/usr/include/git2/diff.h:1055:51: 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'
/usr/include/git2/diff.h:1055:51: note: declared here
make[3]: *** [ggit-diff.lo] Error 1
make[3]: Leaving directory /var/tmp/portage/dev-libs/libgit2-glib-0.0.2/work/libgit2-glib-0.0.2/libgit2-glib' make[2]: *** [all] Error 2 make[2]: Leaving directory
/var/tmp/portage/dev-libs/libgit2-glib-0.0.2/work/libgit2-glib-0.0.2/libgit2-glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/libgit2-glib-0.0.2/work/libgit2-glib-0.0.2'
make: *** [all] Error 2
Attachment 247764, "build.log":
libgit2-glib-0.0.2_3A20130625-183105.log
Version: 0.0.x
Resolution: RESOLVED INVALID