FS#46840 - [libgit2] Somehow SSH support seems to be disabled.

Attached to Project: Arch Linux
Opened by sven (commonuser) - Friday, 23 October 2015, 16:03 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 22 November 2015, 02:06 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Lukas Fleischer (lfleischer)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Currently gnome-builder fails to start with “Builder requires
libgit2-glib with SSH support” and checking with


#include <iostream>
#include <git2.h>

using namespace std;

int main() {
git_libgit2_init();
const int f = git_libgit2_features();
cout << (f & GIT_FEATURE_SSH) << endl;
return 0;
}


gives 0, so it seems SSH support is disabled. Right? Looking at the CMakeLists,
SSH support is enabled by default and the PGKBUILD does not deactivate it.

What's going on? :D
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Sunday, 22 November 2015, 02:06 GMT
Reason for closing:  Works for me
Comment by Jan Alexander Steffens (heftig) - Friday, 23 October 2015, 22:29 GMT
It's your libgit2 you need to check, not libgit2-glib.
Comment by Doug Newgard (Scimmia) - Saturday, 24 October 2015, 03:10 GMT
It's complaining about libgit2-glib, and libgit2 in Extra does seem to be linked to libssh
Comment by Jan Alexander Steffens (heftig) - Saturday, 24 October 2015, 03:14 GMT
git_libgit2_features is a libgit2 function. The libgit2-glib equivalent would be ggit_get_features, but that simply passes through to git_libgit2_features.
Comment by sven (commonuser) - Sunday, 22 November 2015, 01:50 GMT
The problem seems to arise from within Julia (https://www.archlinux.org/packages/community/x86_64/julia/). On my system libgit2 is /usr/lib/julia/libgit2.so and not the one from this very package in /usr/lib.

EDIT: https://bugs.archlinux.org/task/47142.

Loading...