Skip to content
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

Type initializer error for libgit2sharp on Linux #172

Closed
scovetta opened this issue Nov 30, 2020 · 3 comments
Closed

Type initializer error for libgit2sharp on Linux #172

scovetta opened this issue Nov 30, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@scovetta
Copy link
Member

Here is the error:

root@3d51e1d89ad7:/opt/src/work# oss-download -e pkg:github/neuecc/[email protected]
Error downloading GitHub package: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception.

Using 0.1.249 link on Ubuntu 20.04.

This seems to be related to libgit2/libgit2sharp#1703.

@gfs
Copy link
Contributor

gfs commented Dec 3, 2020

It looks like libgit2sharp isn't supported on 20.04 and there doesn't appear to be urgency to release support. There are some possible workarounds mentioned in the linked bug and others that I can investigate.

@gfs gfs added the bug Something isn't working label Dec 3, 2020
@scovetta
Copy link
Member Author

Looks like there is a fixed version of libgit2sharp out now, but when I tried, I'm now getting:

Error downloading GitHub package: failed to mmap. Could not write data: Permission denied failed to mmap. Could not write data: Permission denied|

@daalcant
Copy link
Contributor

daalcant commented Jun 2, 2021

Removed libgit2sharp dep with #228

@daalcant daalcant closed this as completed Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants