-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitfs.pygit2 does not work on debian stable (9.x) #353
Comments
The formula probably needs to install
`libffi-dev` to get this headerfile onto
the minion. That's [what the pkg
containing the file is called on Ubuntu](https://packages.ubuntu.com/search?searchon=contents&keywords=ffi.h&mode=exactfilename&suite=artful&arch=any), should be the same across
`G@os_family:Debian`.
|
Why's the default to install from source? When there's a package available? |
Probably because the package is too old, incompatible or lacks a required feature. |
Also
It seems the issue is that the formula is trying to install an version of a I've been using this formula on Debian 9 for a while with no issues, using the system provided packages. It seems to me that all the 'install from source' is a remnant of other times, when the system didn't provide the required versions? If you change your pillar to use @tobiasBora , perhaps this pillar will work for you: salt:
install_packages: true
libgit2: libgit2-24
master:
gitfs:
git:
install_from_package: git
pygit2:
install_from_source: false
version: 0.24.2
libgit2:
install_from_source: false |
@johnkeates - python-pygit2 in Debian stable is the same as on EL7 systems, 0.24.2, perfectly fine to use. |
@colin-stubbs Well, my message was a rather generic one, not specific to this thread ;-) If there is no reason at all, then yes, a package manager native package makes much more sense. |
I believe it is still the case that libgit2 on Debian/Ubuntu is compiled without https support, due to a licensing issue with OpenSSL: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832798 This is probably the reason for building from source? |
Has anyone tried to fix this in the formula yet? The problem still exists for Debian 9 and will also be there in Debian 10 (soon). Fixing in the pillar data rather than in the osdefaults seems quite messy to me. |
Issue still exists, and along with #54165 the general pygit2 setup seems somewhat unusable at least on debian until we get a bug fix. Awaiting 2018.3.5 and 2019.2.1 |
Hello,
First, thank you for this formula. The problem is that it fails on my debian 9.
I guess that (one) problem is that debian 9 provides
libgit2-24
instead oflibgit2-22
.Thank you!
The text was updated successfully, but these errors were encountered: