Skip to content

Cannot build on Ubuntu 18.04 #38342

@jaredpar

Description

@jaredpar

Attempting a standard build of the runtime on Ubuntu 18.04 (via WSL2) and getting an error. This is a clean enlistment and the build command is straight forward ./build.sh -subset clr hence a bit surprised this is failing.

The full error list is at the bottom of the issue but the first error I see is

Failed to generate native image for System.Private.CoreLib. Refer to /home/jaredpar/code/runtime/artifacts/log/Debug/CrossgenCoreLib_Linux.x64.Debug.log

The contents of that file are

/home/jaredpar/code/runtime/src/coreclr/crossgen-corelib.sh: line 29: /home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/crossgen: No such file or directory

Indeed that directory does not exist. There is a crossgen2 directory in that folder but not crossgen.

jaredpar@jaredpar01:~/code/runtime$ ./build.sh -subset clr
__DistroRid: linux-x64
__RuntimeId: linux-x64
  Determining projects to restore...
  Tool 'coverlet.console' (version '1.7.2') was restored. Available commands: coverlet
  Tool 'dotnet-reportgenerator-globaltool' (version '4.5.8') was restored. Available commands: reportgenerator
  Tool 'microsoft.dotnet.xharness.cli' (version '1.0.0-prerelease.20303.2') was restored. Available commands: xharness
  
  Restore was successful.
  All projects are up-to-date for restore.
  Determining projects to restore...
  All projects are up-to-date for restore.
  System.Private.CoreLib -> /home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/IL/System.Private.CoreLib.dll
  Commencing CoreCLR Repo build
  __DistroRid: linux-x64
  __RuntimeId: linux-x64
  Setting up directories for build
  Checking prerequisites...
  Please install cmake v3.14.5 or newer from https://www.cmake.org/download/.
/home/jaredpar/code/runtime/src/coreclr/runtime.proj(32,5): error MSB3073: The command ""/home/jaredpar/code/runtime/src/coreclr/build-runtime.sh" -x64 -debug -os Linux" exited with code 1.
  Commencing Crossgenning System.Private.CoreLib
  __DistroRid: linux-x64
  __RuntimeId: linux-x64
  Setting up directories for build
  Generating native image of System.Private.CoreLib.dll for Linux.x64.Debug. Logging to "/home/jaredpar/code/runtime/artifacts/log/Debug/CrossgenCoreLib_Linux.x64.Debug.log".
  /home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/crossgen /Platform_Assemblies_Paths /home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/IL  /out /home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/System.Private.CoreLib.dll /home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/IL/System.Private.CoreLib.dll
  Failed to generate native image for System.Private.CoreLib. Refer to /home/jaredpar/code/runtime/artifacts/log/Debug/CrossgenCoreLib_Linux.x64.Debug.log
/home/jaredpar/code/runtime/src/coreclr/crossgen-corelib.proj(20,5): error MSB3073: The command ""/home/jaredpar/code/runtime/src/coreclr/crossgen-corelib.sh" -x64 -debug -os Linux" exited with code 127.
  ILCompiler.TypeSystem.ReadyToRun -> /home/jaredpar/code/runtime/artifacts/bin/ILCompiler.TypeSystem.ReadyToRun/x64/Debug/ILCompiler.TypeSystem.ReadyToRun.dll
  ILCompiler.DependencyAnalysisFramework -> /home/jaredpar/code/runtime/artifacts/bin/ILCompiler.DependencyAnalysisFramework/x64/Debug/ILCompiler.DependencyAnalysisFramework.dll
  ILCompiler.ReadyToRun -> /home/jaredpar/code/runtime/artifacts/bin/ILCompiler.ReadyToRun/x64/Debug/ILCompiler.ReadyToRun.dll
/home/jaredpar/code/runtime/.dotnet/sdk/5.0.100-preview.6.20310.4/Microsoft.Common.CurrentVersion.targets(4651,5): error MSB3030: Could not copy the file "/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/libclrjit.so" because it was not found. [/home/jaredpar/code/runtime/src/coreclr/src/tools/aot/crossgen2/crossgen2.csproj]
/home/jaredpar/code/runtime/.dotnet/sdk/5.0.100-preview.6.20310.4/Microsoft.Common.CurrentVersion.targets(4651,5): error MSB3030: Could not copy the file "/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/libjitinterface.so" because it was not found. [/home/jaredpar/code/runtime/src/coreclr/src/tools/aot/crossgen2/crossgen2.csproj]
  CoreTestAssembly -> /home/jaredpar/code/runtime/artifacts/bin/CoreTestAssembly/x64/Debug/CoreTestAssembly.dll
  ILTestAssembly -> /home/jaredpar/code/runtime/artifacts/bin/ILTestAssembly/x64/Debug/ILTestAssembly.dll
  ILCompiler.TypeSystem.ReadyToRun.Tests -> /home/jaredpar/code/runtime/artifacts/bin/ILCompiler.TypeSystem.ReadyToRun.Tests/x64/Debug/ILCompiler.TypeSystem.ReadyToRun.Tests.dll
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget lib package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.TestHost.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/corerun'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget packed package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.TestHost.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/corerun'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget packed package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.TestHost.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/corerun'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget lib package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.ILAsm.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/ilasm'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget packed package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.ILAsm.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/ilasm'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget packed package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.ILAsm.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/ilasm'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget lib package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.ILDAsm.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/ildasm'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget packed package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.ILDAsm.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/ildasm'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget packed package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.ILDAsm.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/ildasm'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]

Build FAILED.

/home/jaredpar/code/runtime/src/coreclr/runtime.proj(32,5): error MSB3073: The command ""/home/jaredpar/code/runtime/src/coreclr/build-runtime.sh" -x64 -debug -os Linux" exited with code 1.
/home/jaredpar/code/runtime/src/coreclr/crossgen-corelib.proj(20,5): error MSB3073: The command ""/home/jaredpar/code/runtime/src/coreclr/crossgen-corelib.sh" -x64 -debug -os Linux" exited with code 127.
/home/jaredpar/code/runtime/.dotnet/sdk/5.0.100-preview.6.20310.4/Microsoft.Common.CurrentVersion.targets(4651,5): error MSB3030: Could not copy the file "/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/libclrjit.so" because it was not found. [/home/jaredpar/code/runtime/src/coreclr/src/tools/aot/crossgen2/crossgen2.csproj]
/home/jaredpar/code/runtime/.dotnet/sdk/5.0.100-preview.6.20310.4/Microsoft.Common.CurrentVersion.targets(4651,5): error MSB3030: Could not copy the file "/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/libjitinterface.so" because it was not found. [/home/jaredpar/code/runtime/src/coreclr/src/tools/aot/crossgen2/crossgen2.csproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget lib package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.TestHost.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/corerun'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget packed package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.TestHost.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/corerun'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget packed package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.TestHost.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/corerun'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.TestHost/Microsoft.NETCore.TestHost.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget lib package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.ILAsm.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/ilasm'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget packed package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.ILAsm.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/ilasm'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget packed package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.ILAsm.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/ilasm'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget lib package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.ILDAsm.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/ildasm'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget packed package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.ILDAsm.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/ildasm'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error : Error when creating nuget packed package from /home/jaredpar/code/runtime/artifacts/packages/Debug/specs/runtime.linux-x64.Microsoft.NETCore.ILDAsm.nuspec. NuGet.Packaging.Core.PackagingException: File not found: '/home/jaredpar/code/runtime/artifacts/bin/coreclr/Linux.x64.Debug/ildasm'. [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files) [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
/home/jaredpar/.nuget/packages/microsoft.dotnet.build.tasks.packaging/5.0.0-beta.20316.1/build/Packaging.targets(1276,5): error :    at Microsoft.DotNet.Build.Tasks.Packaging.NuGetPack.Pack(String nuspecPath, String nupkgPath, Manifest manifest, Boolean packSymbols) in /_/src/Microsoft.DotNet.Build.Tasks.Packaging/src/NuGetPack.cs:line 254 [/home/jaredpar/code/runtime/src/coreclr/src/.nuget/Microsoft.NETCore.ILDAsm/Microsoft.NETCore.ILDAsm.pkgproj]
    0 Warning(s)
    13 Error(s)

Time Elapsed 00:00:10.99
Build failed (exit code '1').

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions