Hi all:

When trying to build Subsurface from the latest master, I get the following error:


Konsole output
/home/paneves/Diveapps/subsurface/git-access.c: In function ‘update_local_repo’: /home/paneves/Diveapps/subsurface/git-access.c:111:2: error: unknown type name ‘git_fetch_options’
 git_fetch_options opts = GIT_FETCH_OPTIONS_INIT;
 ^
/home/paneves/Diveapps/subsurface/git-access.c:111:27: error: ‘GIT_FETCH_OPTIONS_INIT’ undeclared (first use in this function)
 git_fetch_options opts = GIT_FETCH_OPTIONS_INIT;
                          ^
/home/paneves/Diveapps/subsurface/git-access.c:111:27: note: each undeclared identifier is reported only once for each function it appears in /home/paneves/Diveapps/subsurface/git-access.c:114:7: error: request for member ‘callbacks’ in something not a structure or union
  opts.callbacks.credentials = credential_cb;
      ^
/home/paneves/Diveapps/subsurface/git-access.c:116:41: warning: passing argument 3 of ‘git_remote_fetch’ from incompatible pointer type
 error = git_remote_fetch(origin, NULL, &opts, NULL);
                                        ^
In file included from /home/paneves/Diveapps/install-root/include/git2/clone.h:14:0, from /home/paneves/Diveapps/install-root/include/git2.h:19,
                from /home/paneves/Diveapps/subsurface/git-access.c:11:
/home/paneves/Diveapps/install-root/include/git2/remote.h:412:17: note: expected ‘const struct git_signature *’ but argument is of type ‘int *’
GIT_EXTERN(int) git_remote_fetch(
                ^
/home/paneves/Diveapps/subsurface/git-access.c: In function ‘create_local_repo’: /home/paneves/Diveapps/subsurface/git-access.c:152:7: error: ‘git_clone_options’ has no member named ‘fetch_opts’
  opts.fetch_opts.callbacks.credentials = credential_cb;
      ^
CMakeFiles/subsurface_corelib.dir/build.make:261: recipe for target 'CMakeFiles/subsurface_corelib.dir/git-access.c.o' failed
make[2]: *** [CMakeFiles/subsurface_corelib.dir/git-access.c.o] Error 1
CMakeFiles/Makefile2:454: recipe for target 'CMakeFiles/subsurface_corelib.dir/all' failed
make[1]: *** [CMakeFiles/subsurface_corelib.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

All was fine on my Kubuntu 15.04 system until a few hours ago...

Pedro
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to