{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/29289","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/29289/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/29289/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/29289/events","html_url":"https://github.com/dotnet/roslyn/issues/29289","id":350556832,"node_id":"MDU6SXNzdWUzNTA1NTY4MzI=","number":29289,"title":"Cannot build on Ubuntu 18.04 TLS","user":{"login":"jaredpar","id":146967,"node_id":"MDQ6VXNlcjE0Njk2Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/146967?v=4","gravatar_id":"","url":"https://api.github.com/users/jaredpar","html_url":"https://github.com/jaredpar","followers_url":"https://api.github.com/users/jaredpar/followers","following_url":"https://api.github.com/users/jaredpar/following{/other_user}","gists_url":"https://api.github.com/users/jaredpar/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpar/subscriptions","organizations_url":"https://api.github.com/users/jaredpar/orgs","repos_url":"https://api.github.com/users/jaredpar/repos","events_url":"https://api.github.com/users/jaredpar/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpar/received_events","type":"User","site_admin":false},"labels":[{"id":166680296,"node_id":"MDU6TGFiZWwxNjY2ODAyOTY=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Infrastructure","name":"Area-Infrastructure","color":"5319e7","default":false},{"id":165001069,"node_id":"MDU6TGFiZWwxNjUwMDEwNjk=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"e52727","default":false}],"state":"open","locked":false,"assignee":{"login":"tmat","id":41759,"node_id":"MDQ6VXNlcjQxNzU5","avatar_url":"https://avatars0.githubusercontent.com/u/41759?v=4","gravatar_id":"","url":"https://api.github.com/users/tmat","html_url":"https://github.com/tmat","followers_url":"https://api.github.com/users/tmat/followers","following_url":"https://api.github.com/users/tmat/following{/other_user}","gists_url":"https://api.github.com/users/tmat/gists{/gist_id}","starred_url":"https://api.github.com/users/tmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmat/subscriptions","organizations_url":"https://api.github.com/users/tmat/orgs","repos_url":"https://api.github.com/users/tmat/repos","events_url":"https://api.github.com/users/tmat/events{/privacy}","received_events_url":"https://api.github.com/users/tmat/received_events","type":"User","site_admin":false},"assignees":[{"login":"tmat","id":41759,"node_id":"MDQ6VXNlcjQxNzU5","avatar_url":"https://avatars0.githubusercontent.com/u/41759?v=4","gravatar_id":"","url":"https://api.github.com/users/tmat","html_url":"https://github.com/tmat","followers_url":"https://api.github.com/users/tmat/followers","following_url":"https://api.github.com/users/tmat/following{/other_user}","gists_url":"https://api.github.com/users/tmat/gists{/gist_id}","starred_url":"https://api.github.com/users/tmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmat/subscriptions","organizations_url":"https://api.github.com/users/tmat/orgs","repos_url":"https://api.github.com/users/tmat/repos","events_url":"https://api.github.com/users/tmat/events{/privacy}","received_events_url":"https://api.github.com/users/tmat/received_events","type":"User","site_admin":false}],"milestone":null,"comments":18,"created_at":"2018-08-14T18:59:53Z","updated_at":"2018-08-15T19:32:45Z","closed_at":null,"author_association":"MEMBER","body":"When I attempt to execute the build scripts which publish, as does test.sh, I get the following error\r\n\r\n```\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018: The \"Microsoft.Build.Tasks.Git.LocateRepository\" task failed unexpectedly. [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-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 '/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-01/build/../tools/netcoreapp2.0/runtimes/linux-x64/native/libgit2-b0d9952.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-01/build/../tools/netcoreapp2.0/runtimes/linux-x64/native/libgit2-b0d9952.so) [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018:    at System.Runtime.Loader.AssemblyLoadContext.InternalLoadUnmanagedDllFromPath(String unmanagedDllPath) [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018:    at System.Runtime.Loader.AssemblyLoadContext.LoadUnmanagedDllFromPath(String unmanagedDllPath) [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-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 [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018:    at System.Runtime.Loader.AssemblyLoadContext.ResolveUnmanagedDll(String unmanagedDllName, IntPtr gchManagedAssemblyLoadContext) [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018:    at LibGit2Sharp.Core.NativeMethods.git_libgit2_init() [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018:    at LibGit2Sharp.Core.NativeMethods.InitializeNativeLibrary() [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018:    at LibGit2Sharp.Core.NativeMethods..cctor() [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018:    --- End of inner exception stack trace --- [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018:    at LibGit2Sharp.Core.NativeMethods.git_buf_free(GitBuf buf) [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018:    at LibGit2Sharp.Core.Proxy.ConvertPath(Func`2 pathRetriever) [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018:    at LibGit2Sharp.Repository.Discover(String startingPath) [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-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 [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-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 [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-01/build/Microsoft.Build.Tasks.Git.targets(20,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n/home/jaredpar/.nuget/packages/microsoft.build.tasks.git/1.0.0-beta-63119-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) [/home/jaredpar/code/roslyn/src/Tools/ILAsm/IlAsmDeploy.csproj]\r\n```\r\n\r\nRepro Steps:\r\n\r\n- Clone\r\n- Run `./build.sh --restore --build --test`\r\n\r\nCC @tmat "},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/413309692","html_url":"https://github.com/dotnet/roslyn/issues/29289#issuecomment-413309692","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/29289","id":413309692,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzMwOTY5Mg==","user":{"login":"bording","id":753669,"node_id":"MDQ6VXNlcjc1MzY2OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/753669?v=4","gravatar_id":"","url":"https://api.github.com/users/bording","html_url":"https://github.com/bording","followers_url":"https://api.github.com/users/bording/followers","following_url":"https://api.github.com/users/bording/following{/other_user}","gists_url":"https://api.github.com/users/bording/gists{/gist_id}","starred_url":"https://api.github.com/users/bording/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bording/subscriptions","organizations_url":"https://api.github.com/users/bording/orgs","repos_url":"https://api.github.com/users/bording/repos","events_url":"https://api.github.com/users/bording/events{/privacy}","received_events_url":"https://api.github.com/users/bording/received_events","type":"User","site_admin":false},"created_at":"2018-08-15T19:32:45Z","updated_at":"2018-08-15T19:32:45Z","author_association":"NONE","body":"@ethomson Option 2 certainly sounds like the best choice to me! Getting rid of any additional native dependencies that libgit2 has drastically simplifies things."}}
{"actor":{"display_login":"bording"}}