-
Notifications
You must be signed in to change notification settings - Fork 133
Closed
Description
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: System.TypeInitializationException: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception. ---> System.DllNotFoundException: Unable to load shared library '/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/../tools/netcoreapp2.0/runtimes/rhel-x64/native/libgit2-b0d9952.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/../tools/netcoreapp2.0/runtimes/rhel-x64/native/libgit2-b0d9952.so) [/git/corefx/external/netstandard/netstandard.depproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: at System.Runtime.Loader.AssemblyLoadContext.InternalLoadUnmanagedDllFromPath(String unmanagedDllPath) [/git/corefx/external/netstandard/netstandard.depproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: at System.Runtime.Loader.AssemblyLoadContext.LoadUnmanagedDllFromPath(String unmanagedDllPath) [/git/corefx/external/netstandard/netstandard.depproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: at Microsoft.Build.Tasks.Git.GitLoaderContext.LoadUnmanagedDll(String unmanagedDllName) in /_/src/Microsoft.Build.Tasks.Git/GitLoaderContext.cs:line 48 [/git/corefx/external/netstandard/netstandard.depproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: at System.Runtime.Loader.AssemblyLoadContext.ResolveUnmanagedDll(String unmanagedDllName, IntPtr gchManagedAssemblyLoadContext) [/git/corefx/external/netstandard/netstandard.depproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: at LibGit2Sharp.Core.NativeMethods.git_libgit2_init() [/git/corefx/external/netstandard/netstandard.depproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: at LibGit2Sharp.Core.NativeMethods.InitializeNativeLibrary()
[/git/corefx/external/netstandard/netstandard.depproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: at LibGit2Sharp.Core.NativeMethods..cctor() [/git/corefx/external/netstandard/netstandard.depproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: --- End of inner exception stack trace --- [/git/corefx/external/netstandard/netstandard.depproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: at LibGit2Sharp.Core.NativeMethods.git_buf_free(GitBuf buf) [/git/corefx/external/netstandard/netstandard.depproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: at LibGit2Sharp.Core.Proxy.ConvertPath(Func`2 pathRetriever)
[/git/corefx/external/netstandard/netstandard.depproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: at LibGit2Sharp.Repository.Discover(String startingPath) [/git/corefx/external/netstandard/netstandard.depproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: at Microsoft.Build.Tasks.Git.RepositoryTasks.LocateRepository(LocateRepository task) in /_/src/Microsoft.Build.Tasks.Git.Operations/RepositoryTasks.cs:line 50 [/git/corefx/external/netstandard/netstandard.depproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: at Microsoft.Build.Tasks.Git.LocateRepository.Execute() in /_/src/Microsoft.Build.Tasks.Git/LocateRepository.cs:line 22 [/git/corefx/external/netstandard/netstandard.depproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/git/corefx/external/netstandard/netstandard.depproj]
/root/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63201-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/git/corefx/external/netstandard/netstandard.depproj]
For now corefx will just disable SourceLink on this platform but I thought I'd file an issue to consider fixing this for platforms that don't have GLIBC.
Metadata
Metadata
Assignees
Labels
No labels