You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ubuntu builds started failing yesterday with what it seemed to be a GitVersion-related error:
----------------------------------------
Setup
----------------------------------------
Calculating Semantic Version
INFO [03/02/21 21:54:51:97] Working directory: /home/runner/work/cake/cake
INFO [03/02/21 21:54:51:97] IsDynamicGitRepository: False
ERROR [03/02/21 21:54:52:00] An unexpected error occurred:
System.TypeInitializationException: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'git2-7ce88e6' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libgit2-7ce88e6: cannot open shared object file: No such file or directory
at LibGit2Sharp.Core.NativeMethods.git_libgit2_init()
at LibGit2Sharp.Core.NativeMethods.InitializeNativeLibrary()
at LibGit2Sharp.Core.NativeMethods..cctor()
--- End of inner exception stack trace ---
at LibGit2Sharp.Core.NativeMethods.git_buf_dispose(GitBuf buf)
at LibGit2Sharp.Core.Proxy.git_buf_dispose(GitBuf buf)
at LibGit2Sharp.Core.Handles.GitBuf.Dispose()
at LibGit2Sharp.Core.Proxy.ConvertPath(Func`2 pathRetriever)
at LibGit2Sharp.Core.Proxy.git_repository_discover(FilePath start_path)
at LibGit2Sharp.Repository.Discover(String startingPath)
at GitVersion.GitPreparer.GetProjectRootDirectoryInternal() in D:\a\1\s\src\GitVersionCore\GitPreparer.cs:line 89
at GitVersion.GitPreparer.GetProjectRootDirectory() in D:\a\1\s\src\GitVersionCore\GitPreparer.cs:line 27
at GitVersion.Configuration.ConfigFileLocator.Verify(IGitPreparer gitPreparer) in D:\a\1\s\src\GitVersionCore\Configuration\ConfigFileLocator.cs:line 61
at GitVersion.GitVersionExecutor.VerifyConfiguration() in D:\a\1\s\src\GitVersionExe\GitVersionExecutor.cs:line 153
at GitVersion.GitVersionExecutor.VerifyArgumentsAndRun(Arguments arguments) in D:\a\1\s\src\GitVersionExe\Git
Ubuntu builds started failing yesterday with what it seemed to be a GitVersion-related error:
e.g. https://github.com/cake-build/cake/pull/3221/checks?check_run_id=2017169240
Troubleshooting by @gitfool:
The text was updated successfully, but these errors were encountered: