-
Notifications
You must be signed in to change notification settings - Fork 652
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
GitVersion.CommandLine does not work on Linux #1097
Comments
Noticing that there is file called
|
I have newest available curl, which is 7.51.0-1, installed but I don't know if it has the required This time tough I got longer error message that I missed in my first post:
|
Maybe this helps:
For me at least it seems that I need to install |
With both 64bit abd 32bit
|
I found this LibGit2Sharp issue: Unable to load native DLL if path contains %2F May not be related because my project path does not contain spaces, but linking it here so that maybe somebody gets an idea. |
@mclang: |
Oh, okay... Should have checked that character code before posting :| My project path is like: I searched for that |
Hello Any idea what I should try next? |
As the problem seems to be within LibGit2Sharp, it is going to be hard finding someone with knowledge of the problem in the GitVersion repository. Perhaps you can try to file an issue with LibGit2Sharp and see how you fare there? Sorry that I can't be of more assistance. 😕 |
I'l do that in the issue linked above. |
@mclang: Okay. Fingers crossed! |
@sandorfr: It seems like libgit2/libgit2sharp#1409 should remedy the problem, so we might investigate whether that has also been released and if so update LibGit2Sharp and see whether that helps. Are you or @mclang up for the task? |
Well I tried, sort of. Probably what I did is stupid, but anyway... I have this in my
After
Then I copied the new prelease LibGit2Sharp files over the ones that current GitVersion provides:
Well... something happened but still no joy with using GitVersion:
Digging more, I found that
I can test more, but I need instructions how to proceed. Newer done before, you know. |
@mclang: The only thing I can think of is going through #890 and see if anything written there gives you ideas on how to move forward with this. @eatdrinksleepcode did some work related to this, so he might have some valuable input. |
I will check that out, thanks |
Could'n get GitVersion working yet, so I will follow @mabead's issue for now. Too bad I don't currently have enough time to dig deeper... |
Whoa, this was unexpected :O I got it working that is... What I did was:
Note that only the I hope this workaround helps someone until LibGit2Sharp.NativeBinaries gets fixed. |
Even easier method that works at least on Antergos - use
|
@mclang: Thanks for the valuable information! Any idea how we can permanently fix this in GitVersion? |
Tough question because my case may be some kind of corner case. Only thing that I can think of is if you can either change the |
I have F# project created with Forge where I use Paket and FAKE to manage things. My problem is same as described in GitVersion.CommandLine does not work on OS X.
Using FAKE's
build.sh
produces following error:Running GitVersion.CommandLine manually produces this:
The library that the complaint is about is present in the file system under
lib
directory besideGitVersion.exe
andLibGit2Sharp.dll
I am using Arch Linux with Mono version 4.6.1, F# 4.1, Paket 3.30.0, FAKE 4.45.3, GitVersion.CommandLine 3.6.4.
Creating
GitVersion.exe.config
file does not help... Any idea why the library is not found and how to fix this?The text was updated successfully, but these errors were encountered: