dotnet / source-build

A repository to track efforts to produce a source tarball of the .NET Core SDK and all its components
MIT License
265 stars 132 forks source link

[Alpine Linux] Dotnet6 package #2782

Closed ayakael closed 2 years ago

ayakael commented 2 years ago

I am currently working on an Alpine Linux dotnet6 package, and in the process of having packages merged for dotnet31 and dotnet5. As the build process is different for dotnet6 and above, I've been working on redesigning the APKBUILD.

Here is the repo where the work is being done: https://gitlab.alpinelinux.org/ayakael/aports/-/tree/testing/dotnet6

Patch notes

For issue page for dotnet31 and dotnet5 package, please see dotnet/source-build#2695

dotnet-issue-labeler[bot] commented 2 years ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

omajid commented 2 years ago

Nice!

I am one of the maintainers of .NET on Fedora and I definitely looking forward to more distributions adapting .NET!

As far as I am aware, there isn't any linux-musl-x64 Private.Source.Build.Artifacts file, unfortunately. You should be able to generate it manually, hopefully, by downloading the linux-musl-x64 versions of the linux-x64 nupkgs in Private.Source.Build.Artifacts. Something to watch out, though: some of the nupkgs - specially *.Intermediate.* packages - themselves contain other nupkgs, so you might want to do a recursive check for *linux-x64* binaries.

I wrote a quick and dirty script to find/download nuget package versions by name that you might find useful: https://gist.github.com/omajid/c04b6025de49d0b7b18ab4a7e789484e: nappo download package-name package-version

ayakael commented 2 years ago

@omajid Oh very nice! Thanks! I saw how Fedora did x64 -> arm64 conversion of its Private.Source.Build.Artifacts, and figured that if all else fails that's how I'd implement that. I am wondering, though, how a local Private.Source.Build.Artifacts file can be built for proper N-1 => N builds. Whether I use linux-musl-x64 or alpine-3.x binaries, dotnet5 and dotnet6 still relies on those prebuilt binaries for building, which is not ideal.

omajid commented 2 years ago

Going from N-1 to N should be straightforward. Every build of .NET 6 should produce a artifacts/$RUNTIME_ID/Release/Private.SourceBuilt.Artifacts.*.tar.gz file. If you save it in the N-1 build (we do that in Fedora by packaging it up into -source-built-artifacts package), you can use it in the N build by placing it in the expected location (packages/archive/).

Fedora packages of .NET Core 3.1, .NET 5 and .NET 6 all use this approach.

ayakael commented 2 years ago

Oh wicked! I'll get that subpackage going on all three versions.

ayakael commented 2 years ago

Now back to dotnet6, I've implemented the proper artifacts file now with all linux-x64 nugets replaced linux-musl-x64 versions using your nappo.py utility. Archive gets successfully picked up in packages/archive. Unfortunately, source-build-reference-package is the first to be unhappy with this change: Error:

  /var/build/dotnet6/testing/dotnet6/src/sources/src/source-build-reference-packages.897a9709eb370a92bce2391d77b03d06149cbb6c/artifacts/source-build/self/src/src/targetPacks/ILsrc/microsoft.aspnetcore.app.ref/3.1.2/Microsoft.AspNetCore.App.Ref.3.1.2.csproj : error NU1101: Unable to find package runtime.linux-x64.microsoft.netcore.ildasm. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/installer-6.0.101/sdk/6.0.101/NuGet.targets]

Indeed, SBRP doesn't know to look for runtime.linux-musl-x64.microsoft.netcore.ildasm. Anyway to help them in that regard?

omajid commented 2 years ago

Looks like source-build-reference-package has no understanding of linux-x64 vs linux-musl-x64 :(

I was able to build source-build-reference-packages standalone on alpine with this patch:

diff --git a/src/targetPacks/Directory.Build.targets b/src/targetPacks/Directory.Build.targets
index 3289635d..34f9af45 100644
--- a/src/targetPacks/Directory.Build.targets
+++ b/src/targetPacks/Directory.Build.targets
@@ -59,9 +59,19 @@
   </Target>

   <Target Name="GetILToolPackageReferences">
+    <Exec IgnoreExitCode="true" Command="ldd --version 2&gt;&amp;1 | grep -q musl">
+      <Output TaskParameter="ExitCode" PropertyName="OSPlatformIsMuslCheck" />
+    </Exec>
+
+    <PropertyGroup>
+      <OSPlatformIsMusl Condition="$(OSPlatformIsMuslCheck) == '0'">true</OSPlatformIsMusl>
+      <OSPlatformIsMusl Condition="$(OSPlatformIsMusl) == ''">false</OSPlatformIsMusl>
+    </PropertyGroup>
+
     <PropertyGroup>
       <_OSPlatform Condition="$([MSBuild]::IsOSPlatform('windows'))">win</_OSPlatform>
       <_OSPlatform Condition="$([MSBuild]::IsOSPlatform('linux'))">linux</_OSPlatform>
+      <_OSPlatform Condition="$([MSBuild]::IsOSPlatform('linux')) and '$(OSPlatformIsMusl)' == 'true'">linux-musl</_OSPlatform>
       <_OSPlatform Condition="$([MSBuild]::IsOSPlatform('osx'))">osx</_OSPlatform>
       <_OSPlatform Condition="$([MSBuild]::IsOSPlatform('freebsd'))">freebsd</_OSPlatform>
       <_OSPlatform Condition="$([MSBuild]::IsOSPlatform('netbsd'))">netbsd</_OSPlatform>

Could you apply this patch to your dotnet6 sources and try out building it?

ayakael commented 2 years ago

That did it! Now it's command-line-api time to shine! Same error, I imagine it's also a matter of doing above change somewhere

/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.linux-x64. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
ayakael commented 2 years ago

This ones not as obvious, command-line-api pulls source-build, which is where the bug occurs. It seems like it's not the only issue.

Missing packages: Microsoft.NETCore.App.Runtime.$arch Microsoft.AspNetCore.App.Runtime.$arch Microsoft.NETCore.App.Host.$arch system.reactive.core

Arch being=win-x64, win-x86, osx-x64, linux-x64.

Original Private.Sourcebuilt.Artifacts doesn't have any nupkgs for win-x64, win-x86, osx-x64, so I'm rather confused where source-build would usually pull these, and system.reactive.core is another question mark.

Full log:

  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.DragonFruit/System.CommandLine.DragonFruit.csproj : warning NU1603: System.CommandLine depends on Microsoft.CSharp (>= 4.4.1) but Microsoft.CSharp 4.4.1 was not found. An approximate best match of Microsoft.CSharp 4.7.0 was resolved. [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Hosting/System.CommandLine.Hosting.csproj : warning NU1603: System.CommandLine depends on Microsoft.CSharp (>= 4.4.1) but Microsoft.CSharp 4.4.1 was not found. An approximate best match of Microsoft.CSharp 4.7.0 was resolved. [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/samples/DragonFruit/DragonFruit.csproj : warning NU1603: System.CommandLine depends on Microsoft.CSharp (>= 4.4.1) but Microsoft.CSharp 4.4.1 was not found. An approximate best match of Microsoft.CSharp 4.7.0 was resolved. [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine/System.CommandLine.csproj : warning NU1603: System.CommandLine depends on Microsoft.CSharp (>= 4.4.1) but Microsoft.CSharp 4.4.1 was not found. An approximate best match of Microsoft.CSharp 4.7.0 was resolved. [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Rendering/System.CommandLine.Rendering.csproj : warning NU1603: System.CommandLine depends on Microsoft.CSharp (>= 4.4.1) but Microsoft.CSharp 4.4.1 was not found. An approximate best match of Microsoft.CSharp 4.7.0 was resolved. [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Hosting/System.CommandLine.Hosting.csproj : warning NU1603: System.CommandLine.Hosting depends on Microsoft.Extensions.Hosting (>= 2.2.0) but Microsoft.Extensions.Hosting 2.2.0 was not found. An approximate best match of Microsoft.Extensions.Hosting 6.0.0 was resolved. [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Hosting/System.CommandLine.Hosting.csproj : warning NU1603: System.CommandLine.Hosting depends on Microsoft.Extensions.Hosting (>= 3.1.5) but Microsoft.Extensions.Hosting 3.1.5 was not found. An approximate best match of Microsoft.Extensions.Hosting 6.0.0 was resolved. [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/samples/RenderingPlayground/RenderingPlayground.csproj : warning NU1603: System.CommandLine depends on Microsoft.CSharp (>= 4.4.1) but Microsoft.CSharp 4.4.1 was not found. An approximate best match of Microsoft.CSharp 4.7.0 was resolved. [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : warning NU1603: System.CommandLine depends on Microsoft.CSharp (>= 4.4.1) but Microsoft.CSharp 4.4.1 was not found. An approximate best match of Microsoft.CSharp 4.7.0 was resolved. [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1603: System.CommandLine depends on Microsoft.CSharp (>= 4.4.1) but Microsoft.CSharp 4.4.1 was not found. An approximate best match of Microsoft.CSharp 4.7.0 was resolved. [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/samples/RenderingPlayground/RenderingPlayground.csproj : error NU1101: Unable to find package system.reactive.core. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1101: Unable to find package BenchmarkDotNet. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1103: Unable to find a stable package Microsoft.CodeAnalysis.CSharp.Scripting with version (>= 3.5.0) [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1103:   - Found 1 version(s) in previously-source-built [ Nearest version: 4.0.0-6.21519.19 ] [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1103:   - Found 0 version(s) in source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1103:   - Found 0 version(s) in prebuilt [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1103:   - Found 0 version(s) in reference-packages [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Runtime.win-x64. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Runtime.win-x86. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Runtime.osx-x64. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Runtime.linux-x64. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.App.Runtime.win-x64. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.App.Runtime.win-x86. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.App.Runtime.osx-x64. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.App.Runtime.linux-x64. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.win-x64. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.win-x86. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.osx-x64. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.linux-x64. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/sources/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
      9 Warning(s)
      16 Error(s)
ayakael commented 2 years ago

Fixed issues relating to missing packages. Only issue is that those packages are rejected unless the exact version is provided. In my experience, that shouldn't matter as it'll simply give a warning that a different version was resolved. It is my understanding that when revolving is disabled, it is for stable builds. Any way to make command-line-api more lax in that regard?

omajid commented 2 years ago

I am not sure. Maybe @crummel, @lbussell or @MichaelSimons can help us out?

ayakael commented 2 years ago

Fixed this issue with two tricks.

1) Patching out the need for Microsoft.NETCore.App.Runtime and co of anything other than musl-x64

From f2e4487c7b8fd406e5ee69afaeb40c80f8ca0676 Mon Sep 17 00:00:00 2001
From: "build@apk-groulx" <build@apk-groulx.praxis>
Date: Tue, 18 Jan 2022 17:34:09 +0000
Subject: [PATCH 1/1] command-line-api_fix-musl-build

---
 src/System.CommandLine.Suggest/dotnet-suggest.csproj | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/System.CommandLine.Suggest/dotnet-suggest.csproj b/src/System.CommandLine.Suggest/dotnet-suggest.csproj
index ae97dfe6..276f0158 100644
--- a/src/System.CommandLine.Suggest/dotnet-suggest.csproj
+++ b/src/System.CommandLine.Suggest/dotnet-suggest.csproj
@@ -6,7 +6,7 @@
     <PackAsTool>true</PackAsTool>
     <PackageId>dotnet-suggest</PackageId>
     <ToolCommandName>dotnet-suggest</ToolCommandName>
-    <PackAsToolShimRuntimeIdentifiers>win-x64;win-x86;osx-x64;linux-x64</PackAsToolShimRuntimeIdentifiers>
+    <PackAsToolShimRuntimeIdentifiers>linux-musl-x64</PackAsToolShimRuntimeIdentifiers>
     <PackagedShimOutputRootDirectory>$(OutputPath)</PackagedShimOutputRootDirectory>

     <DotnetSuggestBuildNumber>.1</DotnetSuggestBuildNumber>
-- 
2.34.1

2) Adding system.reactive.core.4.1.1.nupkg to artifacts.

That seemed to have fixed this issue. Evidently, this patch won't work with arm, but I'll cross that bridge when I have to.

ayakael commented 2 years ago

Bon, un autre. This time with aspnet core:


  Build FAILED.

  /var/build/dotnet6/testing/dotnet6/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/src/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Runtime.linux-x64. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/installer-6.0.101/sdk/6.0.100/NuGet.targets]
  /var/build/dotnet6/testing/dotnet6/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/src/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Crossgen2.linux-x64. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/installer-6.0.101/sdk/6.0.100/NuGet.targets]
      0 Warning(s)
      2 Error(s)

##vso[task.logissue type=error;sourcepath=/var/build/dotnet6/testing/dotnet6/src/sources/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/SourceBuild/SourceBuildArcadeBuild.targets;linen/var/build/dotnet6/testing/dotnet6/src/sources/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/SourceBuild/SourceBuildArcadeBuild.targets(194,5): error MSB3073: The command "/var/build/dotnet6/testing/dotnet6/src/installer-6.0.101//dotnet msbuild /m /nologo /clp:Summary /v:minimal /nr:false /warnaserror /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=true /var/build/dotnet6/testing/dotnet6/src/sources/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj -p:RepoRoot=/var/build/dotnet6/testing/dotnet6/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/ /p:ArcadeBuildFromSource=true /p:CopyWipIntoInnerSourceBuildRepo=true /p:DotNetBuildOffline=true /p:CopySrcInsteadOfClone=true /p:DotNetPackageVersionPropsPath=/var/build/dotnet6/testing/dotnet6/src/sources/artifacts/obj/x64/Release/PackageVersions.props /p:AdditionalSourceBuiltNupkgCacheDir=/var/build/dotnet6/testing/dotnet6/src/sources/artifacts/obj/x64/Release/blob-feed/packages/ /p:ReferencePackageNupkgCacheDir=/var/build/dotnet6/testing/dotnet6/src/sources/packages/reference/packages/ /p:PreviouslySourceBuiltNupkgCacheDir=/usr/share/dotnet/artifacts/6.0.100/ /p:BuildNodeJs=false /p:PublishCompressedFilesPathPrefix=/var/build/dotnet6/testing/dotnet6/src/sources/artifacts/obj/x64/Release/blobs/aspnetcore/Runtime/ /p:MicrosoftNetFrameworkReferenceAssembliesVersion=1.0.0 /p:EnablePackageValidation=false /p:DotNetPackageVersionPropsPath=/var/build/dotnet6/testing/dotnet6/src/sources/artifacts/obj/x64/Release/PackageVersions.props -p:BuildManaged=true -p:Restore=true -p:Build=true -p:Pack=true -p:Test=false -p:TargetArchitecture=x64 -p:TargetOsName=linux -p:Configuration=Release /bl:/var/build/dotnet6/testing/dotnet6/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/log/Release/Build.binlog -logger:/var/build/dotnet6/testing/dotnet6/src/sources/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/net6.0/Microsoft.DotNet.ArcadeLogging.dll  /p:SourceBuildRuntimeIdentifier=linux-x64 /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/var/build/dotnet6/testing/dotnet6/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/src/ /p:ArtifactsDir=/var/build/dotnet6/testing/dotnet6/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/src/artifacts/ /bl:/var/build/dotnet6/testing/dotnet6/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /p:ContinuousIntegrationBuild=true /p:SourceBuildOutputDir=/var/build/dotnet6/testing/dotnet6/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/ /p:SourceBuiltBlobFeedDir= /p:EnableSourceControlManagerQueries=false /p:EnableSourceLink=false /p:DeterministicSourcePaths=false /p:DotNetBuildOffline=true /p:DotNetPackageVersionPropsPath=/var/build/dotnet6/testing/dotnet6/src/sources/artifacts/obj/x64/Release/PackageVersions.props" exited with code 1. [/var/build/dotnet6/testing/dotnet6/src/sources/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj]

This particular target file has logics in place for musl, it seems. Just maybe not the right logics. Investigating further

ayakael commented 2 years ago

A note: I've excluded all linux-x64 and fedore33 nupkgs from artifacts, and replaced them with their musl counterparts. Idk how ill-advised that was, but I figured that non-musl binaries had no place in my build process, and would perhaps complicate debugging. Are there reasons to keep these, apart from crossgen use cases?

ayakael commented 2 years ago

Well, that was easy! It turns out aspnetcore's build.sh has an --os-name argument where inserting linux-musl solves that particular issue. Thus modified repos/aspnetcore.proj injecting that build argument. Now to wait for the next failure, hopefully the end is near.

edit This had a downstream effect to installer, which looked for certain linux-x64 artifacts. Simple fix in repos/installer.proj by adjusting AspNetCoreSharedFxInstallerRid to linux-musl-$(Platform)

ayakael commented 2 years ago

Another issue with installer: it's asking for microsoft.netcore.app.crossgen2.linux-x64 rather than its musl counterpart. Despite setting OSName to linux-musl for installer's build.sh, no dice.

Error

  /var/build/dotnet6/testing/dotnet6/src/installer-6.0.101/sdk/6.0.100/MSBuild.dll /nologo -logger:/var/build/dotnet6/testing/dotnet6/src/sources/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/net6.0/Microsoft.DotNet.ArcadeLogging.dll -maxcpucount /m -verbosity:m /v:minimal /v:minimal /bl:/var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/log/Release/Build.binlog /bl:/var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /clp:Summary /nr:false /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=true /p:Configuration=Release /p:RepoRoot=/var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb// /p:Restore=true /p:Build=true /p:Rebuild=false /p:Test=false /p:Pack=true /p:IntegrationTest=false /p:PerformanceTest=false /p:Sign=false /p:Publish=true /p:ArcadeBuildFromSource=true /p:CopyWipIntoInnerSourceBuildRepo=true /p:DotNetBuildOffline=true /p:CopySrcInsteadOfClone=true /p:DotNetPackageVersionPropsPath=/var/build/dotnet6/testing/dotnet6/src/sources/artifacts/obj/x64/Release/PackageVersions.props /p:AdditionalSourceBuiltNupkgCacheDir=/var/build/dotnet6/testing/dotnet6/src/sources/artifacts/obj/x64/Release/blob-feed/packages/ /p:ReferencePackageNupkgCacheDir=/var/build/dotnet6/testing/dotnet6/src/sources/packages/reference/packages/ /p:PreviouslySourceBuiltNupkgCacheDir=/usr/share/dotnet/artifacts/6.0.100/ /p:Rid=alpine.3.15-x64 /p:NETCoreAppMaximumVersion=99.9 /p:OSName=alpine.3.15 /p:Rid=alpine.3.15-x64 /p:DOTNET_INSTALL_DIR=/var/build/dotnet6/testing/dotnet6/src/installer-6.0.101/ /p:AspNetCoreSharedFxInstallerRid=linux-musl-x64 /p:CoreSetupRid=alpine.3.15-x64 /p:PublicBaseURL=file:///var/build/dotnet6/testing/dotnet6/src/sources/artifacts/obj/x64/Release/blob-feed/assets/ /p:UsePortableLinuxSharedFramework=false /p:DotNetPackageVersionPropsPath=/var/build/dotnet6/testing/dotnet6/src/sources/artifacts/obj/x64/Release/PackageVersions.props /p:DotNetRestoreSourcePropsPath=/var/build/dotnet6/testing/dotnet6/src/sources/artifacts/obj/x64/Release/RestoreSources.props /p:DotNetBuildOffline=true /p:SkipBuildingInstallers=true /p:IncludeNuGetPackageArchive=false /p:IncludeAdditionalSharedFrameworks=false /p:IncludeSharedFrameworksForBackwardsCompatibilityTests=false /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/ /p:ArtifactsDir=/var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/artifacts/ /p:ContinuousIntegrationBuild=true /p:SourceBuildOutputDir=/var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/ /p:SourceBuiltBlobFeedDir= /p:EnableSourceControlManagerQueries=false /p:EnableSourceLink=false /p:DeterministicSourcePaths=false /p:DotNetBuildOffline=true /p:DotNetPackageVersionPropsPath=/var/build/dotnet6/testing/dotnet6/src/sources/artifacts/obj/x64/Release/PackageVersions.props /warnaserror /var/build/dotnet6/testing/dotnet6/src/sources/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj
    Determining projects to restore...
    Restored /var/build/dotnet6/testing/dotnet6/src/sources/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/tools/Tools.proj (in 135 ms).
  [SourceBuiltSdkResolver] Looking for SDK Microsoft.NET.Sdk. Detected config(s) in env: 'ARCADE' for 'Microsoft.DotNet.Arcade.Sdk/6.0.0-beta.21560.2' at '/var/build/dotnet6/testing/dotnet6/src/sources/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/'
  [SourceBuiltSdkResolver] Looking for SDK Microsoft.DotNet.Arcade.Sdk. Detected config(s) in env: 'ARCADE' for 'Microsoft.DotNet.Arcade.Sdk/6.0.0-beta.21560.2' at '/var/build/dotnet6/testing/dotnet6/src/sources/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/'
  [SourceBuiltSdkResolver] Overriding Microsoft.DotNet.Arcade.Sdk with 'ARCADE'
  [SourceBuiltSdkResolver] Looking for SDK Microsoft.NET.SDK.WorkloadAutoImportPropsLocator. Detected config(s) in env: 'ARCADE' for 'Microsoft.DotNet.Arcade.Sdk/6.0.0-beta.21560.2' at '/var/build/dotnet6/testing/dotnet6/src/sources/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/'
  [SourceBuiltSdkResolver] Looking for SDK Microsoft.NET.ILLink.Tasks. Detected config(s) in env: 'ARCADE' for 'Microsoft.DotNet.Arcade.Sdk/6.0.0-beta.21560.2' at '/var/build/dotnet6/testing/dotnet6/src/sources/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/'
  [SourceBuiltSdkResolver] Looking for SDK Microsoft.NET.SDK.WorkloadManifestTargetsLocator. Detected config(s) in env: 'ARCADE' for 'Microsoft.DotNet.Arcade.Sdk/6.0.0-beta.21560.2' at '/var/build/dotnet6/testing/dotnet6/src/sources/Tools/source-built/Microsoft.DotNet.Arcade.Sdk/'
    Determining projects to restore...
    All projects are up-to-date for restore.
    Determining projects to restore...
    Restored /var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/src/core-sdk-tasks/core-sdk-tasks.csproj (in 300 ms).
    Microsoft.Dotnet.Sdk.Internal -> /var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/artifacts/bin/Microsoft.Dotnet.Sdk.Internal/Release/netstandard2.0/Microsoft.Dotnet.Sdk.Internal.dll
    core-sdk-tasks -> /var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/artifacts/bin/core-sdk-tasks/Release/net6.0/core-sdk-tasks.dll
    core-sdk-tasks -> /var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/artifacts/tasks/bin/core-sdk-tasks/Release/net6.0/core-sdk-tasks.dll
    redist -> /var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/artifacts/bin/redist/Release/net6.0/redist.dll
    Determining projects to restore...
    Restored /var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/src/redist/targets/DownloadPackage.csproj (in 105 ms).
    Determining projects to restore...
    Restored /var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/src/redist/targets/DownloadPackage.csproj (in 102 ms).
    Determining projects to restore...
    Restored /var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/src/redist/targets/DownloadPackage.csproj (in 155 ms).
    Determining projects to restore...
    Restored /var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/src/redist/targets/DownloadPackage.csproj (in 161 ms).
    Determining projects to restore...
    Restored /var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/artifacts/obj/redist/Release/net6.0/TemplatePackageDownloader/TemplatePackageDownloader.csproj (in 66 ms).
    Determining projects to restore...
    Restored /var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/src/redist/targets/LayoutTool.csproj (in 83 ms).
    Determining projects to restore...
    Restored /var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/src/redist/targets/LayoutTool.csproj (in 187 ms).
    Determining projects to restore...
  /var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/src/redist/targets/DownloadPackage.csproj : error NU1101: Unable to find package microsoft.netcore.app.crossgen2.linux-x64. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built
  ##vso[task.logissue type=error;sourcepath=/var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/src/redist/targets/DownloadPackage.csproj;linenumber=0;columnnumber=0;code=NU1101;](NETCORE_ENGINEERING_TELEMETRY=Build) Unable to find package microsoft.netcore.app.crossgen2.linux-x64. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built
    Failed to restore /var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/src/redist/targets/DownloadPackage.csproj (in 42 ms).

  Build FAILED.

  /var/build/dotnet6/testing/dotnet6/src/sources/src/installer.5a3c664c1a89bd1e0704348c733f9678e6917ceb/artifacts/source-build/self/src/src/redist/targets/DownloadPackage.csproj : error NU1101: Unable to find package microsoft.netcore.app.crossgen2.linux-x64. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built
      0 Warning(s)
      1 Error(s)
ayakael commented 2 years ago

Well, terrific news! Found a fix for above error and build is complete. Installer had a few issues, here is the prelim patch that I've developped:

From aee338a0be16ba360a961aa56a29770d10c6ea46 Mon Sep 17 00:00:00 2001
From: "build@apk-groulx" <build@apk-groulx.praxis>
Date: Wed, 19 Jan 2022 15:52:52 +0000
Subject: [PATCH 1/1] installer_musl-build-fix

---
 build.sh                                              | 2 +-
 src/SourceBuild/tarball/content/Directory.Build.props | 2 +-
 src/redist/targets/Crossgen.targets                   | 2 +-
 src/redist/targets/GenerateLayout.targets             | 1 +
 4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/build.sh b/build.sh
index 594a355fa..ae575963a 100755
--- a/build.sh
+++ b/build.sh
@@ -55,5 +55,5 @@ if [ ! -z "$BUILD_IN_DOCKER" ]; then
 else
     # Run under sudo so we can set ulimit
     # See https://github.com/dotnet/core-eng/issues/14808
-    sudo -E $DIR/run-build.sh $args
+    $DIR/run-build.sh $args
 fi
diff --git a/src/SourceBuild/tarball/content/Directory.Build.props b/src/SourceBuild/tarball/content/Directory.Build.props
index 51f8e3c5a..2661667b5 100644
--- a/src/SourceBuild/tarball/content/Directory.Build.props
+++ b/src/SourceBuild/tarball/content/Directory.Build.props
@@ -190,7 +190,7 @@
   <PropertyGroup Condition="'$(PortableBuild)' == 'true'">
     <TargetRid Condition="'$(TargetOS)' == 'FreeBSD'">freebsd-$(Platform)</TargetRid>
     <TargetRid Condition="'$(TargetOS)' == 'OSX'">osx-$(Platform)</TargetRid>
-    <TargetRid Condition="'$(TargetOS)' == 'Linux'">linux-$(Platform)</TargetRid>
+    <TargetRid Condition="'$(TargetOS)' == 'Linux'">linux-musl-$(Platform)</TargetRid>
     <TargetRid Condition="'$(TargetOS)' == 'Windows_NT'">win-$(Platform)</TargetRid>
   </PropertyGroup>

diff --git a/src/redist/targets/Crossgen.targets b/src/redist/targets/Crossgen.targets
index 8949af132..afd2fa49c 100644
--- a/src/redist/targets/Crossgen.targets
+++ b/src/redist/targets/Crossgen.targets
@@ -6,7 +6,7 @@

     <PropertyGroup>
       <RuntimeNETCoreAppPackageName>microsoft.netcore.app.runtime.$(SharedFrameworkRid)</RuntimeNETCoreAppPackageName>
-      <RuntimeNETCrossgenPackageName>microsoft.netcore.app.crossgen2.$(HostOSName)-$(BuildArchitecture)</RuntimeNETCrossgenPackageName>
+      <RuntimeNETCrossgenPackageName>microsoft.netcore.app.crossgen2.$(SharedFrameworkRid)</RuntimeNETCrossgenPackageName>
       <CrossgenPath>$(NuGetPackageRoot)/$(RuntimeNETCrossgenPackageName)/$(MicrosoftNETCoreAppRuntimePackageVersion)/tools/crossgen2$(ExeExtension)</CrossgenPath>
       <!-- When ingesting stable pgo instrumented binaries, the shared framework will be a non-stable version,
            as will the archive file names themselves. -->
diff --git a/src/redist/targets/GenerateLayout.targets b/src/redist/targets/GenerateLayout.targets
index 3917efa60..3746e9c10 100644
--- a/src/redist/targets/GenerateLayout.targets
+++ b/src/redist/targets/GenerateLayout.targets
@@ -95,6 +95,7 @@
       <DownloadedAspNetTargetingPackInstallerFileName Condition=" '$(InstallerExtension)' == '.msi' ">aspnetcore-targeting-pack-$(MicrosoftAspNetCoreAppRefInternalPackageVersion)-$(AspNetCoreSharedFxInstallerRid)$(InstallerExtension)</DownloadedAspNetTargetingPackInstallerFileName>
       <DownloadedAspNetCoreV2ModuleInstallerFileName Condition=" '$(InstallerExtension)' == '.msi' ">aspnetcoremodule_$(Architecture)_en_v2_$(MicrosoftAspNetCoreAppRuntimePackageVersion)$(InstallerExtension)</DownloadedAspNetCoreV2ModuleInstallerFileName>
       <AspNetTargetingPackArchiveFileName>aspnetcore-targeting-pack-$(MicrosoftAspNetCoreAppRefPackageVersion)$(ArchiveExtension)</AspNetTargetingPackArchiveFileName>
+      <MicrosoftAspNetCoreAppRuntimePackageVersion>$(MicrosoftAspNetCoreAppRuntimewinx64PackageVersion)</MicrosoftAspNetCoreAppRuntimePackageVersion>
       <AspNetCoreSharedFxArchiveFileName>aspnetcore-runtime-internal-$(MicrosoftAspNetCoreAppRuntimePackageVersion)-$(AspNetCoreSharedFxArchiveRid)$(ArchiveExtension)</AspNetCoreSharedFxArchiveFileName>

       <!-- Used to detect if ASP.NET Core is built against the same version of Microsoft.NETCore.App. -->
-- 
2.34.1

I'm not sure if linux-musl-$(Platform) is stricly necessary. I'm gonna do more tests, and if so create a different TargetRid condition before creating a PR with installer (and indeed sudo is removed for my use-case, shouldn't be in final PR)

ayakael commented 2 years ago

New issue, when rebuilding with that first successful, rebuild fails with following error:

    Restored /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Bitbucket.Git/Microsoft.SourceLink.Bitbucket.Git.csproj (in 1.03 sec).
  /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj : error NU1102: Unable to find package System.Runtime.CompilerServices.Unsafe with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/SourceLink.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj : error NU1102:   - Found 7 version(s) in previously-source-built [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/SourceLink.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj : error NU1102:   - Found 7 version(s) in reference-packages [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/SourceLink.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/SourceLink.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/SourceLink.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Runtime.CompilerServices.Unsafe with version (>= 6.0.0)%0A  - Found 7 version(s) in previously-source-built [ Nearest version: 5.0.0 %5D%0A  - Found 7 version(s) in reference-packages [ Nearest version: 5.0.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj : error NU1102: Unable to find package System.Text.Encodings.Web with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/SourceLink.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj : error NU1102:   - Found 4 version(s) in previously-source-built [ Nearest version: 5.0.1 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/SourceLink.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj : error NU1102:   - Found 4 version(s) in reference-packages [ Nearest version: 5.0.1 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/SourceLink.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/SourceLink.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/SourceLink.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Text.Encodings.Web with version (>= 6.0.0)%0A  - Found 4 version(s) in previously-source-built [ Nearest version: 5.0.1 %5D%0A  - Found 4 version(s) in reference-packages [ Nearest version: 5.0.1 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj : error NU1102: Unable to find package Microsoft.Bcl.AsyncInterfaces with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/SourceLink.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj : error NU1102:   - Found 3 version(s) in previously-source-built [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/SourceLink.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj : error NU1102:   - Found 3 version(s) in reference-packages [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/SourceLink.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/SourceLink.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/SourceLink.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package Microsoft.Bcl.AsyncInterfaces with version (>= 6.0.0)%0A  - Found 3 version(s) in previously-source-built [ Nearest version: 5.0.0 %5D%0A  - Found 3 version(s) in reference-packages [ Nearest version: 5.0.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
    Failed to restore /var/build/aports/dotnet6/dotnet6/src/sources/src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/src/src/SourceLink.Tools/Microsoft.SourceLink.Tools.Package.csproj (in 1.13 sec).

edit

Modifiying src/sourcelink.8031e5220baf2acad991e661d8308b783d2acf3e/artifacts/source-build/self/package-cache/system.text.json/6.0.1/system.text.json.nuspec with actual version fixed this - no idea why this is an issue now.

ayakael commented 2 years ago

Well...

 /var/build/aports/dotnet6/dotnet6/src/installer-6.0.101/sdk/6.0.101/MSBuild.dll /nologo -logger:/var/build/aports/dotnet6/dotnet6/src/sources/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/6.0.0-beta.21560.2/tools/net6.0/Microsoft.DotNet.ArcadeLogging.dll -maxcpucount /m -verbosity:m /v:minimal /v:minimal /bl:/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/log/Release/Build.binlog /bl:/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/artifacts/sourcebuild.binlog /clp:Summary /nr:false /p:TreatWarningsAsErrors=false /p:ContinuousIntegrationBuild=true /p:Configuration=Release /p:RepoRoot=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86// /p:Restore=true /p:Build=true /p:Rebuild=false /p:Test=false /p:Pack=true /p:IntegrationTest=false /p:PerformanceTest=false /p:Sign=false /p:Publish=true /p:ArcadeBuildFromSource=true /p:CopyWipIntoInnerSourceBuildRepo=true /p:DotNetBuildOffline=true /p:CopySrcInsteadOfClone=true /p:DotNetPackageVersionPropsPath=/var/build/aports/dotnet6/dotnet6/src/sources/artifacts/obj/x64/Release/PackageVersions.props /p:AdditionalSourceBuiltNupkgCacheDir=/var/build/aports/dotnet6/dotnet6/src/sources/artifacts/obj/x64/Release/blob-feed/packages/ /p:ReferencePackageNupkgCacheDir=/var/build/aports/dotnet6/dotnet6/src/sources/packages/reference/packages/ /p:PreviouslySourceBuiltNupkgCacheDir=/usr/share/dotnet/artifacts/6.0.101/ /p:DotNetPackageVersionPropsPath=/var/build/aports/dotnet6/dotnet6/src/sources/artifacts/obj/x64/Release/PackageVersions.props /p:DotNetRestoreSourcePropsPath=/var/build/aports/dotnet6/dotnet6/src/sources/artifacts/obj/x64/Release/RestoreSources.props /p:DotNetBuildOffline=true /p:ArcadeInnerBuildFromSource=true /p:DotNetBuildFromSource=true /p:RepoRoot=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/ /p:ArtifactsDir=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/artifacts/ /p:ContinuousIntegrationBuild=true /p:SourceBuildOutputDir=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/ /p:SourceBuiltBlobFeedDir= /p:EnableSourceControlManagerQueries=false /p:EnableSourceLink=false /p:DeterministicSourcePaths=false /p:DotNetBuildOffline=true /p:DotNetPackageVersionPropsPath=/var/build/aports/dotnet6/dotnet6/src/sources/artifacts/obj/x64/Release/PackageVersions.props /var/build/aports/dotnet6/dotnet6/src/sources/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/6.0.0-beta.21560.2/tools/Build.proj
    Determining projects to restore...
    Restored /var/build/aports/dotnet6/dotnet6/src/sources/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/6.0.0-beta.21560.2/tools/Tools.proj (in 143 ms).
  [SourceBuiltSdkResolver] Looking for SDK Microsoft.NET.Sdk. Detected config(s) in env: 'ARCADE' for 'Microsoft.DotNet.Arcade.Sdk/6.0.0-beta.21560.2' at '/var/build/aports/dotnet6/dotnet6/src/sources/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/6.0.0-beta.21560.2/'
  [SourceBuiltSdkResolver] Looking for SDK Microsoft.DotNet.Arcade.Sdk. Detected config(s) in env: 'ARCADE' for 'Microsoft.DotNet.Arcade.Sdk/6.0.0-beta.21560.2' at '/var/build/aports/dotnet6/dotnet6/src/sources/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/6.0.0-beta.21560.2/'
  [SourceBuiltSdkResolver] Overriding Microsoft.DotNet.Arcade.Sdk with 'ARCADE'
  [SourceBuiltSdkResolver] Looking for SDK Microsoft.NET.SDK.WorkloadAutoImportPropsLocator. Detected config(s) in env: 'ARCADE' for 'Microsoft.DotNet.Arcade.Sdk/6.0.0-beta.21560.2' at '/var/build/aports/dotnet6/dotnet6/src/sources/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/6.0.0-beta.21560.2/'
  [SourceBuiltSdkResolver] Looking for SDK Microsoft.NET.ILLink.Tasks. Detected config(s) in env: 'ARCADE' for 'Microsoft.DotNet.Arcade.Sdk/6.0.0-beta.21560.2' at '/var/build/aports/dotnet6/dotnet6/src/sources/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/6.0.0-beta.21560.2/'
  [SourceBuiltSdkResolver] Looking for SDK Microsoft.NET.SDK.WorkloadManifestTargetsLocator. Detected config(s) in env: 'ARCADE' for 'Microsoft.DotNet.Arcade.Sdk/6.0.0-beta.21560.2' at '/var/build/aports/dotnet6/dotnet6/src/sources/packages/restored/ArcadeBootstrapPackage/microsoft.dotnet.arcade.sdk/6.0.0-beta.21560.2/'
    Determining projects to restore...
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk/src/Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.csproj : error NU1102: Unable to find package System.Resources.Extensions with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk/src/Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.csproj : error NU1102:   - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk/src/Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.csproj : error NU1102:   - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk/src/Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk/src/Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk/src/Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Resources.Extensions with version (>= 6.0.0)%0A  - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 %5D%0A  - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Installers/Microsoft.DotNet.Build.Tasks.Installers.csproj : error NU1102: Unable to find package System.Resources.Extensions with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Installers/Microsoft.DotNet.Build.Tasks.Installers.csproj : error NU1102:   - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Installers/Microsoft.DotNet.Build.Tasks.Installers.csproj : error NU1102:   - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Installers/Microsoft.DotNet.Build.Tasks.Installers.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Installers/Microsoft.DotNet.Build.Tasks.Installers.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Installers/Microsoft.DotNet.Build.Tasks.Installers.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Resources.Extensions with version (>= 6.0.0)%0A  - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 %5D%0A  - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.SourceBuild/tasks/Microsoft.DotNet.SourceBuild.Tasks.csproj : error NU1102: Unable to find package System.Resources.Extensions with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.SourceBuild/tasks/Microsoft.DotNet.SourceBuild.Tasks.csproj : error NU1102:   - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.SourceBuild/tasks/Microsoft.DotNet.SourceBuild.Tasks.csproj : error NU1102:   - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.SourceBuild/tasks/Microsoft.DotNet.SourceBuild.Tasks.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.SourceBuild/tasks/Microsoft.DotNet.SourceBuild.Tasks.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.SourceBuild/tasks/Microsoft.DotNet.SourceBuild.Tasks.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Resources.Extensions with version (>= 6.0.0)%0A  - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 %5D%0A  - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1102: Unable to find package System.Runtime.CompilerServices.Unsafe with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1102:   - Found 7 version(s) in previously-source-built [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1102:   - Found 7 version(s) in reference-packages [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Runtime.CompilerServices.Unsafe with version (>= 6.0.0)%0A  - Found 7 version(s) in previously-source-built [ Nearest version: 5.0.0 %5D%0A  - Found 7 version(s) in reference-packages [ Nearest version: 5.0.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj : error NU1102: Unable to find package System.Resources.Extensions with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj : error NU1102:   - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj : error NU1102:   - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Resources.Extensions with version (>= 6.0.0)%0A  - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 %5D%0A  - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1102: Unable to find package System.Text.Encoding.CodePages with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1102:   - Found 5 version(s) in previously-source-built [ Nearest version: 4.7.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1102:   - Found 5 version(s) in reference-packages [ Nearest version: 4.7.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Text.Encoding.CodePages with version (>= 6.0.0)%0A  - Found 5 version(s) in previously-source-built [ Nearest version: 4.7.0 %5D%0A  - Found 5 version(s) in reference-packages [ Nearest version: 4.7.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj : error NU1102: Unable to find package System.Runtime.CompilerServices.Unsafe with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj : error NU1102:   - Found 7 version(s) in previously-source-built [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj : error NU1102:   - Found 7 version(s) in reference-packages [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Runtime.CompilerServices.Unsafe with version (>= 6.0.0)%0A  - Found 7 version(s) in previously-source-built [ Nearest version: 5.0.0 %5D%0A  - Found 7 version(s) in reference-packages [ Nearest version: 5.0.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj : error NU1102: Unable to find package System.Text.Encodings.Web with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj : error NU1102:   - Found 4 version(s) in previously-source-built [ Nearest version: 5.0.1 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj : error NU1102:   - Found 4 version(s) in reference-packages [ Nearest version: 5.0.1 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Text.Encodings.Web with version (>= 6.0.0)%0A  - Found 4 version(s) in previously-source-built [ Nearest version: 5.0.1 %5D%0A  - Found 4 version(s) in reference-packages [ Nearest version: 5.0.1 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102: Unable to find package System.Resources.Extensions with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Resources.Extensions with version (>= 6.0.0)%0A  - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 %5D%0A  - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102: Unable to find package System.Collections.Immutable with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 9 version(s) in previously-source-built [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 9 version(s) in reference-packages [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Collections.Immutable with version (>= 6.0.0)%0A  - Found 9 version(s) in previously-source-built [ Nearest version: 5.0.0 %5D%0A  - Found 9 version(s) in reference-packages [ Nearest version: 5.0.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102: Unable to find package System.Runtime.CompilerServices.Unsafe with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 7 version(s) in previously-source-built [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 7 version(s) in reference-packages [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Runtime.CompilerServices.Unsafe with version (>= 6.0.0)%0A  - Found 7 version(s) in previously-source-built [ Nearest version: 5.0.0 %5D%0A  - Found 7 version(s) in reference-packages [ Nearest version: 5.0.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102: Unable to find package System.Text.Encoding.CodePages with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 5 version(s) in previously-source-built [ Nearest version: 4.7.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 5 version(s) in reference-packages [ Nearest version: 4.7.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Text.Encoding.CodePages with version (>= 6.0.0)%0A  - Found 5 version(s) in previously-source-built [ Nearest version: 4.7.0 %5D%0A  - Found 5 version(s) in reference-packages [ Nearest version: 4.7.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj : error NU1102: Unable to find package System.Resources.Extensions with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj : error NU1102:   - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj : error NU1102:   - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Resources.Extensions with version (>= 6.0.0)%0A  - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 %5D%0A  - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj : error NU1102: Unable to find package System.Runtime.CompilerServices.Unsafe with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj : error NU1102:   - Found 7 version(s) in previously-source-built [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj : error NU1102:   - Found 7 version(s) in reference-packages [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Runtime.CompilerServices.Unsafe with version (>= 6.0.0)%0A  - Found 7 version(s) in previously-source-built [ Nearest version: 5.0.0 %5D%0A  - Found 7 version(s) in reference-packages [ Nearest version: 5.0.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj : error NU1102: Unable to find package System.Text.Encodings.Web with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj : error NU1102:   - Found 4 version(s) in previously-source-built [ Nearest version: 5.0.1 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj : error NU1102:   - Found 4 version(s) in reference-packages [ Nearest version: 5.0.1 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Text.Encodings.Web with version (>= 6.0.0)%0A  - Found 4 version(s) in previously-source-built [ Nearest version: 5.0.1 %5D%0A  - Found 4 version(s) in reference-packages [ Nearest version: 5.0.1 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102: Unable to find package System.Resources.Extensions with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Resources.Extensions with version (>= 6.0.0)%0A  - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 %5D%0A  - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102: Unable to find package System.Collections.Immutable with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 9 version(s) in previously-source-built [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 9 version(s) in reference-packages [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Collections.Immutable with version (>= 6.0.0)%0A  - Found 9 version(s) in previously-source-built [ Nearest version: 5.0.0 %5D%0A  - Found 9 version(s) in reference-packages [ Nearest version: 5.0.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102: Unable to find package System.Reflection.Metadata with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 9 version(s) in previously-source-built [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 9 version(s) in reference-packages [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Reflection.Metadata with version (>= 6.0.0)%0A  - Found 9 version(s) in previously-source-built [ Nearest version: 5.0.0 %5D%0A  - Found 9 version(s) in reference-packages [ Nearest version: 5.0.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102: Unable to find package System.Runtime.CompilerServices.Unsafe with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 7 version(s) in previously-source-built [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 7 version(s) in reference-packages [ Nearest version: 5.0.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Runtime.CompilerServices.Unsafe with version (>= 6.0.0)%0A  - Found 7 version(s) in previously-source-built [ Nearest version: 5.0.0 %5D%0A  - Found 7 version(s) in reference-packages [ Nearest version: 5.0.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102: Unable to find package System.Text.Encoding.CodePages with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 5 version(s) in previously-source-built [ Nearest version: 4.7.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 5 version(s) in reference-packages [ Nearest version: 4.7.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Text.Encoding.CodePages with version (>= 6.0.0)%0A  - Found 5 version(s) in previously-source-built [ Nearest version: 4.7.0 %5D%0A  - Found 5 version(s) in reference-packages [ Nearest version: 4.7.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1605: Detected package downgrade: System.Collections.Immutable from 6.0.0 to 1.5.0. Reference the package directly from the project to select a different version.  [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1605:  Microsoft.DotNet.CodeAnalysis -> Microsoft.CodeAnalysis.CSharp 4.0.1-1.21569.2 -> Microsoft.CodeAnalysis.Common 4.0.1-1.21569.2 -> System.Collections.Immutable (>= 6.0.0)  [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1605:  Microsoft.DotNet.CodeAnalysis -> System.Collections.Immutable (>= 1.5.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj;linenumber=0;columnnumber=0;code=NU1605;](NETCORE_ENGINEERING_TELEMETRY=Restore) Detected package downgrade: System.Collections.Immutable from 6.0.0 to 1.5.0. Reference the package directly from the project to select a different version. %0A Microsoft.DotNet.CodeAnalysis -> Microsoft.CodeAnalysis.CSharp 4.0.1-1.21569.2 -> Microsoft.CodeAnalysis.Common 4.0.1-1.21569.2 -> System.Collections.Immutable (>= 6.0.0) %0A Microsoft.DotNet.CodeAnalysis -> System.Collections.Immutable (>= 1.5.0)
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1605: Detected package downgrade: System.Reflection.Metadata from 6.0.0 to 1.6.0. Reference the package directly from the project to select a different version.  [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1605:  Microsoft.DotNet.CodeAnalysis -> Microsoft.CodeAnalysis.CSharp 4.0.1-1.21569.2 -> Microsoft.CodeAnalysis.Common 4.0.1-1.21569.2 -> System.Reflection.Metadata (>= 6.0.0)  [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj : error NU1605:  Microsoft.DotNet.CodeAnalysis -> System.Reflection.Metadata (>= 1.6.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj;linenumber=0;columnnumber=0;code=NU1605;](NETCORE_ENGINEERING_TELEMETRY=Restore) Detected package downgrade: System.Reflection.Metadata from 6.0.0 to 1.6.0. Reference the package directly from the project to select a different version. %0A Microsoft.DotNet.CodeAnalysis -> Microsoft.CodeAnalysis.CSharp 4.0.1-1.21569.2 -> Microsoft.CodeAnalysis.Common 4.0.1-1.21569.2 -> System.Reflection.Metadata (>= 6.0.0) %0A Microsoft.DotNet.CodeAnalysis -> System.Reflection.Metadata (>= 1.6.0)
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj : error NU1102: Unable to find package System.Resources.Extensions with version (>= 6.0.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj : error NU1102:   - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj : error NU1102:   - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 ] [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj;linenumber=0;columnnumber=0;code=NU1102;](NETCORE_ENGINEERING_TELEMETRY=Restore) Unable to find package System.Resources.Extensions with version (>= 6.0.0)%0A  - Found 1 version(s) in previously-source-built [ Nearest version: 4.6.0 %5D%0A  - Found 1 version(s) in reference-packages [ Nearest version: 4.6.0 %5D%0A  - Found 0 version(s) in source-built%0A  - Found 0 version(s) in prebuilt
    Failed to restore /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.CodeAnalysis/Microsoft.DotNet.CodeAnalysis.csproj (in 168 ms).
    Failed to restore /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Installers/Microsoft.DotNet.Build.Tasks.Installers.csproj (in 173 ms).
    Failed to restore /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.PackageTesting/Microsoft.DotNet.PackageTesting.csproj (in 171 ms).
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1605: Detected package downgrade: System.Reflection.Metadata from 6.0.0 to 1.6.0. Reference the package directly from the project to select a different version.  [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1605:  Microsoft.DotNet.GenFacades -> Microsoft.CodeAnalysis.CSharp 4.0.1-1.21569.2 -> Microsoft.CodeAnalysis.Common 4.0.1-1.21569.2 -> System.Reflection.Metadata (>= 6.0.0)  [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj : error NU1605:  Microsoft.DotNet.GenFacades -> System.Reflection.Metadata (>= 1.6.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj;linenumber=0;columnnumber=0;code=NU1605;](NETCORE_ENGINEERING_TELEMETRY=Restore) Detected package downgrade: System.Reflection.Metadata from 6.0.0 to 1.6.0. Reference the package directly from the project to select a different version. %0A Microsoft.DotNet.GenFacades -> Microsoft.CodeAnalysis.CSharp 4.0.1-1.21569.2 -> Microsoft.CodeAnalysis.Common 4.0.1-1.21569.2 -> System.Reflection.Metadata (>= 6.0.0) %0A Microsoft.DotNet.GenFacades -> System.Reflection.Metadata (>= 1.6.0)
    Failed to restore /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk/src/Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk.csproj (in 174 ms).
    Failed to restore /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.SourceBuild/tasks/Microsoft.DotNet.SourceBuild.Tasks.csproj (in 177 ms).
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj : error NU1605: Detected package downgrade: System.Collections.Immutable from 5.0.0 to 1.5.0. Reference the package directly from the project to select a different version.  [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj : error NU1605:  Microsoft.DotNet.Arcade.Sdk -> Microsoft.Build 17.0.0 -> System.Collections.Immutable (>= 5.0.0)  [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj : error NU1605:  Microsoft.DotNet.Arcade.Sdk -> System.Collections.Immutable (>= 1.5.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj;linenumber=0;columnnumber=0;code=NU1605;](NETCORE_ENGINEERING_TELEMETRY=Restore) Detected package downgrade: System.Collections.Immutable from 5.0.0 to 1.5.0. Reference the package directly from the project to select a different version. %0A Microsoft.DotNet.Arcade.Sdk -> Microsoft.Build 17.0.0 -> System.Collections.Immutable (>= 5.0.0) %0A Microsoft.DotNet.Arcade.Sdk -> System.Collections.Immutable (>= 1.5.0)
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj : error NU1605: Detected package downgrade: System.Collections.Immutable from 5.0.0 to 1.5.0. Reference the package directly from the project to select a different version.  [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj : error NU1605:  Microsoft.DotNet.Arcade.Sdk -> Microsoft.Build.Tasks.Core 17.0.0 -> System.Collections.Immutable (>= 5.0.0)  [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj : error NU1605:  Microsoft.DotNet.Arcade.Sdk -> System.Collections.Immutable (>= 1.5.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj;linenumber=0;columnnumber=0;code=NU1605;](NETCORE_ENGINEERING_TELEMETRY=Restore) Detected package downgrade: System.Collections.Immutable from 5.0.0 to 1.5.0. Reference the package directly from the project to select a different version. %0A Microsoft.DotNet.Arcade.Sdk -> Microsoft.Build.Tasks.Core 17.0.0 -> System.Collections.Immutable (>= 5.0.0) %0A Microsoft.DotNet.Arcade.Sdk -> System.Collections.Immutable (>= 1.5.0)
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj : error NU1605: Detected package downgrade: System.Collections.Immutable from 5.0.0 to 1.5.0. Reference the package directly from the project to select a different version.  [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj : error NU1605:  Microsoft.DotNet.Arcade.Sdk -> Microsoft.Arcade.Common -> Microsoft.Build.Utilities.Core 17.0.0 -> System.Collections.Immutable (>= 5.0.0)  [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj : error NU1605:  Microsoft.DotNet.Arcade.Sdk -> System.Collections.Immutable (>= 1.5.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj;linenumber=0;columnnumber=0;code=NU1605;](NETCORE_ENGINEERING_TELEMETRY=Restore) Detected package downgrade: System.Collections.Immutable from 5.0.0 to 1.5.0. Reference the package directly from the project to select a different version. %0A Microsoft.DotNet.Arcade.Sdk -> Microsoft.Arcade.Common -> Microsoft.Build.Utilities.Core 17.0.0 -> System.Collections.Immutable (>= 5.0.0) %0A Microsoft.DotNet.Arcade.Sdk -> System.Collections.Immutable (>= 1.5.0)
    Failed to restore /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Packaging/src/Microsoft.DotNet.Build.Tasks.Packaging.csproj (in 187 ms).
    Failed to restore /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Build.Tasks.Workloads/src/Microsoft.DotNet.Build.Tasks.Workloads.csproj (in 190 ms).
    Failed to restore /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.GenFacades/Microsoft.DotNet.GenFacades.csproj (in 180 ms).
    Failed to restore /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.Arcade.Sdk/Microsoft.DotNet.Arcade.Sdk.csproj (in 189 ms).
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.SignTool/Microsoft.DotNet.SignTool.csproj : error NU1605: Detected package downgrade: System.Collections.Immutable from 5.0.0 to 1.5.0. Reference the package directly from the project to select a different version.  [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.SignTool/Microsoft.DotNet.SignTool.csproj : error NU1605:  Microsoft.DotNet.SignTool -> Microsoft.Build.Utilities.Core 17.0.0 -> System.Collections.Immutable (>= 5.0.0)  [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.SignTool/Microsoft.DotNet.SignTool.csproj : error NU1605:  Microsoft.DotNet.SignTool -> System.Collections.Immutable (>= 1.5.0) [/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/Arcade.sln]
  ##vso[task.logissue type=error;sourcepath=/var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.SignTool/Microsoft.DotNet.SignTool.csproj;linenumber=0;columnnumber=0;code=NU1605;](NETCORE_ENGINEERING_TELEMETRY=Restore) Detected package downgrade: System.Collections.Immutable from 5.0.0 to 1.5.0. Reference the package directly from the project to select a different version. %0A Microsoft.DotNet.SignTool -> Microsoft.Build.Utilities.Core 17.0.0 -> System.Collections.Immutable (>= 5.0.0) %0A Microsoft.DotNet.SignTool -> System.Collections.Immutable (>= 1.5.0)
    Failed to restore /var/build/aports/dotnet6/dotnet6/src/sources/src/arcade.ee9b7f19853685805c612103282c8d9486c7db86/artifacts/source-build/self/src/src/Microsoft.DotNet.SignTool/Microsoft.DotNet.SignTool.csproj (in 206 ms).
    9 of 19 projects are up-to-date for restore.

So this business of mismatched versions is really curious. Anyone's got an idea on what this is about? The first build had only one instance of this bug (see above issue relating to command-line-api), but it cleared up once I added missing nuget system.reactive.core. Now, building using the binaries and artifacts from that build, causes all of these issues.

edit it's especially odd, as prebuilt Artifacts don't have 6.0.0 version of these files, so what changed b/w then and now?

MichaelSimons commented 2 years ago

error NU1102: Unable to find package System.Runtime.CompilerServices.Unsafe with version (>= 6.0.0)

These issues looks like what I fixed with https://github.com/dotnet/installer/pull/13009

ayakael commented 2 years ago

@MichaelSimons Wicked, I'll try it out. I imagine this'll require rebuilding the first build, right?

MichaelSimons commented 2 years ago

I imagine this'll require rebuilding the first build, right?

Yes.

ayakael commented 2 years ago

Libary question: runtime provides a set of .so libraries under shared/, is there a mechanism by which one can symbolically link these to /usr/lib? Would there be a point for this? Just weirded out by the ArchLinux team symbolically linking hostfxr.so to /usr/lib, and since the Alpine Linux builder is warning about a missing libmscordaccore.so, I was wanting to explore how I could provide it in a global setting. Problem is that if every runtime version provides a /usr/lib link, than they'll be conflicts. One can imagine, say a symbolic link in /usr/lib/libmscordaccore.so.6 that links to /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.1/libmscordaccore.so.

ayakael commented 2 years ago

Your patch did it, Michael. Thanks!

And hooray! We've got a full build going!!!

Not so fast, though. While I've managed to build dotnet6 in my environment on itself, for some reason, when the whole stack gets rebuilt within a docker container on Alpine's Gitlab pipeline, I get the following error during aspnet-core's build:

 /builds/ayakael/aports/testing/dotnet6-stage1/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/src/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj(447,5): error MSB3073: The command ""/builds/ayakael/aports/testing/dotnet6-stage1/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/package-cache/microsoft.netcore.app.crossgen2.linux-musl-x64/6.0.1/tools/crossgen2" --targetarch:x64 --targetos:linux -O @"/builds/ayakael/aports/testing/dotnet6-stage1/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/src/artifacts/obj/Microsoft.AspNetCore.App.Runtime/Release/net6.0/linux-musl-x64/crossgen/PlatformAssembliesPathsCrossgen2.rsp" --perfmap --perfmap-format-version:1 --perfmap-path:"/builds/ayakael/aports/testing/dotnet6-stage1/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net6.0/linux-musl-x64/" -o:"/builds/ayakael/aports/testing/dotnet6-stage1/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net6.0/linux-musl-x64/Microsoft.Extensions.Caching.Abstractions.dll" "/builds/ayakael/aports/testing/dotnet6-stage1/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/package-cache/microsoft.extensions.caching.abstractions/6.0.0/lib/netstandard2.0/Microsoft.Extensions.Caching.Abstractions.dll"" exited with code 139.
    ##vso[task.logissue type=error;sourcepath=/builds/ayakael/aports/testing/dotnet6-stage1/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/src/src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj;linenumber=447;columnnumber=5;code=MSB3073;](NETCORE_ENGINEERING_TELEMETRY=Build) The command ""/builds/ayakael/aports/testing/dotnet6-stage1/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/package-cache/microsoft.netcore.app.crossgen2.linux-musl-x64/6.0.1/tools/crossgen2" --targetarch:x64 --targetos:linux -O @"/builds/ayakael/aports/testing/dotnet6-stage1/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/src/artifacts/obj/Microsoft.AspNetCore.App.Runtime/Release/net6.0/linux-musl-x64/crossgen/PlatformAssembliesPathsCrossgen2.rsp" --perfmap --perfmap-format-version:1 --perfmap-path:"/builds/ayakael/aports/testing/dotnet6-stage1/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net6.0/linux-musl-x64/" -o:"/builds/ayakael/aports/testing/dotnet6-stage1/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/src/artifacts/bin/Microsoft.AspNetCore.App.Runtime/Release/net6.0/linux-musl-x64/Microsoft.Extensions.Caching.Abstractions.dll" "/builds/ayakael/aports/testing/dotnet6-stage1/src/sources/src/aspnetcore.4e7d976438b0fc17f435804e801d5d68d193ec33/artifacts/source-build/self/package-cache/microsoft.extensions.caching.abstractions/6.0.0/lib/netstandard2.0/Microsoft.Extensions.Caching.Abstractions.dll"" exited with code 139.

Last time I got a code 139 with anything was when trying to execute linux-x64 built ilasm on linux-musl-x64. Given that this binary comes from a linux-musl-x64 nupkg, I'm weirded out. An LDD of crossgen2 confirms that all shared objects are accounted for. All libraries are the same except my environment has lttn-ust version 2.13.1 while the other environment has 2.13.0, Both being broken, I set export complus_lttng=0, making this a moot hypothesis. I'm still crossing that T, but this is a different kind of fishy, I suspect.

Full log: https://gitlab.alpinelinux.org/ayakael/aports/-/jobs/601533/raw

omajid commented 2 years ago

I get the following error during aspnet-core's build

I have seen this error (crossgen2 of Microsoft.Extensions.Caching.Abstractions.dll fails) in a couple of different contexts now. In all the cases I ran into it (across multiple architectures and compilers), it turned out that this is basically the first build step that uses components from the runtime that was just built. In other words, the runtime that was just built is somehow broken.

I don't have a good strategy yet for finding the root cause here. What I have seen in the past as a possible next step is to build the dotnet/runtime repo itself and run the tests. That's how we figured out https://github.com/dotnet/runtime/issues/61671

Edit: actually, logs say you have a core dump. Can you grab that and run it through a debugger or share it?

ayakael commented 2 years ago

I found the issue in the wee hours of this morning: it was lttng-ust version 2.13.0, indeed despite disabling it. Version 2.13.1 fixes the build, which unblocked the last issue for the build. Packaging dotnet6 is now done for x64, gonna move forward on arm.

-------- Original Message -------- On Jan. 22, 2022, 12:00 p.m., Omair Majid < @.***> wrote:

I get the following error during aspnet-core's build

I have seen this error (crossgen2 of Microsoft.Extensions.Caching.Abstractions.dll fails) in a couple of different contexts now. In all the cases I ran into it (across multiple architectures and compilers), it turned out that this is basically the first build step that uses components from the runtime that was just built. In other words, the runtime that was just built is somehow broken.

I don't have a good strategy yet for finding the root cause here. What I have seen in the past as a possible next step is to build the dotnet/runtime repo itself and run the tests. That's how we figured out dotnet/runtime#61671

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.AFJNWJ2BTXBDRT2ZS7XMN3LUXLPBHA5CNFSM5KHYROKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHTAWYZQ.gifMessage ID: @.***>

ayakael commented 2 years ago

Link to SourceBuilt Artfifacts seems to be broken. I couldn't find any sign of a new link anywhere. Is there a new bootstrap out somewhere that I'm not aware of?

omajid commented 2 years ago

@ayakael ./prep.sh --bootstrap will download it.

ayakael commented 2 years ago
$ ./prep.sh --bootstrap
  Downloading source-built artifacts from https://dotnetcli.azureedge.net/source-built-artifacts/assets/Private.SourceBuilt.Artifacts.0.1.0-6.0.100-bootstrap.29.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   215  100   215    0     0    613      0 --:--:-- --:--:-- --:--:--   612
  Installing dotnet...
  Building bootstrap previously source-built in /tmp/tmp.beiFCG
  Retrieving PackageVersions.props from existing archive
gzip: invalid magic
tar: Child returned status 1
tar: Error is not recoverable: exiting now

There's but a 215 bytes file in place of Private.Sourcebuilt.Artfiacts...

Indeed,

 $ wget 'https://dotnetcli.azureedge.net/source-built-artifacts/assets/Private.SourceBuilt.Artifacts.0.1.0-6.0.100-bootstrap.29.tar.gz'
Connecting to dotnetcli.azureedge.net (72.21.81.200:443)
wget: server returned error: HTTP/1.1 404 Not Found
omajid commented 2 years ago

That's really strange... Any ideas @crummel @lbussell @MichaelSimons ?

MichaelSimons commented 2 years ago

@ayakael - Please retry. I was cleaning up some pre-release artifacts earlier today and accidentally moved this.

ayakael commented 2 years ago

@ayakael - Please retry. I was cleaning up some pre-release artifacts earlier today and accidentally moved this.

That seems to have done it, thanks!

ayakael commented 2 years ago

I'm trying to create a reproducible tarball to allow testing of integrity through checksuming. Unfortunately, tarball content differ in relating to what's in .git directory of each source. Any way to standardize .git directories as they are regenerated at every tarball build?

omajid commented 2 years ago

I don't know of a way to do that yet. That said, https://github.com/dotnet/source-build/issues/2301 should result in source-build releasing an official source tarball for each release. It should be possible to checksum it as the "blessed" version. That's 6.0 only, for now.

ayakael commented 2 years ago

Experiencing a regression with command-line-api vis-a-vis missing packages:

  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Hosting/System.CommandLine.Hosting.csproj : warning NU1603: System.CommandLine.Hosting depends on Microsoft.Extensions.Hosting (>= 2.2.0) but Microsoft.Extensions.Hosting 2.2.0 was not found. An approximate best match of Microsoft.Extensions.Hosting 6.0.1 was resolved. [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Hosting/System.CommandLine.Hosting.csproj : warning NU1603: System.CommandLine.Hosting depends on Microsoft.Extensions.Hosting (>= 3.1.5) but Microsoft.Extensions.Hosting 3.1.5 was not found. An approximate best match of Microsoft.Extensions.Hosting 6.0.1 was resolved. [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.DragonFruit/System.CommandLine.DragonFruit.csproj : error NU1102: Unable to find package Microsoft.CSharp with version (>= 4.4.1) [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.DragonFruit/System.CommandLine.DragonFruit.csproj : error NU1102:   - Found 2 version(s) in prebuilt [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.DragonFruit/System.CommandLine.DragonFruit.csproj : error NU1102:   - Found 2 version(s) in previously-source-built [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.DragonFruit/System.CommandLine.DragonFruit.csproj : error NU1102:   - Found 2 version(s) in reference-packages [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.DragonFruit/System.CommandLine.DragonFruit.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Rendering/System.CommandLine.Rendering.csproj : error NU1102: Unable to find package Microsoft.CSharp with version (>= 4.4.1) [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Rendering/System.CommandLine.Rendering.csproj : error NU1102:   - Found 2 version(s) in prebuilt [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Rendering/System.CommandLine.Rendering.csproj : error NU1102:   - Found 2 version(s) in previously-source-built [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Rendering/System.CommandLine.Rendering.csproj : error NU1102:   - Found 2 version(s) in reference-packages [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Rendering/System.CommandLine.Rendering.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine/System.CommandLine.csproj : error NU1102: Unable to find package Microsoft.CSharp with version (>= 4.4.1) [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine/System.CommandLine.csproj : error NU1102:   - Found 2 version(s) in prebuilt [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine/System.CommandLine.csproj : error NU1102:   - Found 2 version(s) in previously-source-built [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine/System.CommandLine.csproj : error NU1102:   - Found 2 version(s) in reference-packages [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine/System.CommandLine.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Hosting/System.CommandLine.Hosting.csproj : error NU1102: Unable to find package Microsoft.CSharp with version (>= 4.4.1) [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Hosting/System.CommandLine.Hosting.csproj : error NU1102:   - Found 2 version(s) in prebuilt [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Hosting/System.CommandLine.Hosting.csproj : error NU1102:   - Found 2 version(s) in previously-source-built [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Hosting/System.CommandLine.Hosting.csproj : error NU1102:   - Found 2 version(s) in reference-packages [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Hosting/System.CommandLine.Hosting.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/samples/DragonFruit/DragonFruit.csproj : error NU1102: Unable to find package Microsoft.CSharp with version (>= 4.4.1) [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/samples/DragonFruit/DragonFruit.csproj : error NU1102:   - Found 2 version(s) in prebuilt [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/samples/DragonFruit/DragonFruit.csproj : error NU1102:   - Found 2 version(s) in previously-source-built [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/samples/DragonFruit/DragonFruit.csproj : error NU1102:   - Found 2 version(s) in reference-packages [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/samples/DragonFruit/DragonFruit.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/samples/RenderingPlayground/RenderingPlayground.csproj : error NU1101: Unable to find package system.reactive.core. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/samples/RenderingPlayground/RenderingPlayground.csproj : error NU1102: Unable to find package Microsoft.CSharp with version (>= 4.4.1) [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/samples/RenderingPlayground/RenderingPlayground.csproj : error NU1102:   - Found 2 version(s) in prebuilt [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/samples/RenderingPlayground/RenderingPlayground.csproj : error NU1102:   - Found 2 version(s) in previously-source-built [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/samples/RenderingPlayground/RenderingPlayground.csproj : error NU1102:   - Found 2 version(s) in reference-packages [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/samples/RenderingPlayground/RenderingPlayground.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1101: Unable to find package BenchmarkDotNet. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1103: Unable to find a stable package Microsoft.CodeAnalysis.CSharp.Scripting with version (>= 3.5.0) [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1103:   - Found 1 version(s) in prebuilt [ Nearest version: 4.0.1-1.22053.6 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1103:   - Found 1 version(s) in previously-source-built [ Nearest version: 4.0.1-1.22053.6 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1103:   - Found 0 version(s) in source-built [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1103:   - Found 0 version(s) in reference-packages [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1102: Unable to find package Microsoft.CSharp with version (>= 4.4.1) [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1102:   - Found 2 version(s) in prebuilt [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1102:   - Found 2 version(s) in previously-source-built [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1102:   - Found 2 version(s) in reference-packages [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1102: Unable to find package Microsoft.CSharp with version (>= 4.4.1) [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1102:   - Found 2 version(s) in prebuilt [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1102:   - Found 2 version(s) in previously-source-built [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1102:   - Found 2 version(s) in reference-packages [ Nearest version: 4.3.0 ] [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]
  /var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/src/System.CommandLine.Suggest/dotnet-suggest.csproj : error NU1102:   - Found 0 version(s) in source-built [/var/build/dotnet6/testing/dotnet6/src/source-build-tarball-6.0.102/src/command-line-api.82273cb56c83b589e8e5b63da0ac9745ffc6e105/artifacts/source-build/self/src/System.CommandLine.sln]

Can't make heads or tails on how that found its way back. Missing packages: system.reactive.core BenchmarkDotNet

I fixed this for the first build by having those packages be pulled by nappo. The first build should build those packages, but alas they aren't. 6.0.101 did build system.reacitve.core, though. 6.0.102 seems to omit that.

ayakael commented 2 years ago

Issue cleared itself up somehow. I really wish I knew what was amiss, as it comes back from time to time... at least it works now. edit scratch that, it was working only because it was using previous artifacts, not the artifacts built by local build.

ayakael commented 2 years ago

Okay - figured it out. This regression was caused by my deleting your 'Use --work-tree with git apply' patch for command-line-api, thinking that the merged version was included in 6.0.102. The bug is caused by source-build patches not being applied to command-line-api. In its case, it made it want to build dotnet runtime 2.1.0.

ayakael commented 2 years ago

Question: What use do the Intermediate nupkgs provide?

omajid commented 2 years ago

Pretty much everything (not a joke!). All the output/nuget packages produced by a repo are put in the intermediate package for that repo. I recall hearing about a plan to remove the non-Intemrediate packages, as they are are a bit redundant. I can't find a written reference to it anymore, though.

MichaelSimons commented 2 years ago

The cleanup work @omajid is referring to is link to this issue https://github.com/dotnet/source-build/issues/2472. In the linked PR I tried to cleanup the non-intermediate packages but encountered some issues which required me to take a step back. This is still something we would like to fix but is not at the top of the priority list at the moment.

ayakael commented 2 years ago

Haha well... I've been deleting them from the get-go thinking they weren't necessary. In fact, I can build and rebuild dotnet on itself without them, thus relying on the unpacked nupkgs. I assume the Intermediate packages are there to guarantee the exact desired version of prebuilt packages, right?

MichaelSimons commented 2 years ago

@ayakael - The gist of it is the packages are duplicated today - the product packages and the intermediate packages which the raw packages. As mentioned above we have an issue to clean this up. Our current thinking is that we would only carry the intermediate packages going forward.

When you say that you are deleting them and seeing no issues with it, can you explain the context in which you are deleting them?

ayakael commented 2 years ago

The first step of building dotnet on Alpine using the aport involves building dotnetx-stage0. This aport has the aim of packaging prebuilt sdk and artifacts pulled from Microsoft Azure. Because prebuilt artifacts do not have musl bits, the package build goes through an operation that is similar to omajid's build-arm64-bootstrap-tarball script. That is to say, it makes a list of all nupkgs that match *linux-x64*, and pulls *linux-musl-$(Platform)* versions using nappo.py. The artifacts from Prebuilt.Artifacts and the ones pulled using nappo.py are then packaged into a dotnetx-stage0-artifacts package, with exclusion of all *x64* (linux, CentOS, Fedora, etc) and all *Intermediate*nupkgs.

When dotnetx builds for the first time, it pulls that Alpine package, making prebuilt artifacts available at /usr/share/artifacts/6.0.$(sdkver). Given exclusion of *Intermediate* and *x64*, the only prebuilt artifacts that are made available are those *linux-musl-$(Platform)* nupkgs, and the product packages. After dotnetx build, dotnetx-artifacts packages the nupkgs that have been tarred in the newly built Prebuilt.Artifacts, excluding *Intermediate*. When a rebuild pulls dotnetx-artifacts, no Intermediate nupkgs are provided.

I've had no issues because of this, as far as I can tell.

ayakael commented 2 years ago

Any way to limit space usage during build? Alpine runners for armv7 and aarch64 have max 40G, thus run into out of space erros as build uses 50G.

ayakael commented 2 years ago

Fixed the above issue - I have problems building on armv7 platform. Alpine build pipeline build their armv7l packages within a virtualized 32 bit arm environment on aarch64 hardware. Thus, the output of uname -m is armv8l rather than the expected armv7l. This has caused a number of issues during build, as arm8l is not known by arm build, thus an x64 build is attempted. I've solved initial issues using the following patches:

tarball:

From d759d299a1793b5adba86b4f0c42ff4d2f32aa9f Mon Sep 17 00:00:00 2001
From: Antoine Martin <dev@ayakael.net>
Date: Mon, 21 Feb 2022 19:37:21 +0000
Subject: [PATCH 1/1] force arm build

Detection logics for armv7 is broken on Alpine build pipelines due to
detecting CPU armv8l. runtime_detect-armv8l-as-armv7l.patch is supposed
to fix this, but somehow Platform comes off as x64 on aspnetcore, rather
than arm. This patch, more of a temp fix to move things along, forces
arm build on arm7 platform for aspnetcore

---
 repos/aspnetcore.proj | 2 +-
 repos/installer.proj  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/repos/aspnetcore.proj b/repos/aspnetcore.proj
index 480f3c713..43fd35d01 100644
--- a/repos/aspnetcore.proj
+++ b/repos/aspnetcore.proj
@@ -5,7 +5,7 @@
     <!-- StandardSourceBuildArgs include -publish which is not supported by the aspnetcore build script. -->
     <BuildCommandArgs>$(StandardSourceBuildArgs.Replace('--publish', ''))</BuildCommandArgs>
     <!-- The arch flag (defaults to x64) overrides any value of TargetArchitecture that we might set -->
-    <BuildCommandArgs>$(BuildCommandArgs) --arch $(Platform)</BuildCommandArgs>
+    <BuildCommandArgs>$(BuildCommandArgs) --arch arm</BuildCommandArgs>
     <BuildCommandArgs>$(BuildCommandArgs) --no-build-repo-tasks</BuildCommandArgs>
     <BuildCommandArgs>$(BuildCommandArgs) /p:BuildNodeJs=false</BuildCommandArgs>
     <BuildCommandArgs>$(BuildCommandArgs) /p:PublishCompressedFilesPathPrefix=$(SourceBuiltAspNetCoreRuntime)</BuildCommandArgs>
diff --git a/repos/installer.proj b/repos/installer.proj
index 712d7cd14..ab1784af7 100644
--- a/repos/installer.proj
+++ b/repos/installer.proj
@@ -6,6 +6,7 @@
   <Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />

   <PropertyGroup>
+    <Platform>arm</Platform>
     <OverrideTargetRid>$(TargetRid)</OverrideTargetRid>
     <OverrideTargetRid Condition="'$(TargetOS)' == 'OSX'">osx-x64</OverrideTargetRid>
     <OSNameOverride>$(OverrideTargetRid.Substring(0, $(OverrideTargetRid.IndexOf("-"))))</OSNameOverride>
-- 
2.34.1

runtime:

From 79ddbec165071d8f8e51fd7c06600be466972758 Mon Sep 17 00:00:00 2001
From: Antoine Martin <dev@ayakael.net>
Date: Mon, 21 Feb 2022 06:03:34 +0000
Subject: [PATCH 1/1] detect armv8l as armv7l

Alpine pipeline emulates 32bit arm, but CPU is aarch64 coming off as
arm8l. Thus arm detection logics don't know how to read armv8l, thus
this patch reads armv8l as arm platform.

---
 eng/native/configureplatform.cmake | 2 +-
 eng/native/init-os-and-arch.sh     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/eng/native/configureplatform.cmake b/eng/native/configureplatform.cmake
index af1c88bce5b..99556d80c05 100644
--- a/eng/native/configureplatform.cmake
+++ b/eng/native/configureplatform.cmake
@@ -36,7 +36,7 @@ if(CLR_CMAKE_HOST_OS STREQUAL Linux)
         # "amd64" string. Accept either of the two here.
         if(CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL amd64)
             set(CLR_CMAKE_HOST_UNIX_AMD64 1)
-        elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL armv7l)
+        elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL armv7l OR CMAKE_SYSTEM_PROCESSOR STREQUAL armv8l)
             set(CLR_CMAKE_HOST_UNIX_ARM 1)
             set(CLR_CMAKE_HOST_UNIX_ARMV7L 1)
         elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL arm OR CMAKE_SYSTEM_PROCESSOR STREQUAL armv7-a)
diff --git a/eng/native/init-os-and-arch.sh b/eng/native/init-os-and-arch.sh
index fc4078fa3a9..9ba5b3c227a 100644
--- a/eng/native/init-os-and-arch.sh
+++ b/eng/native/init-os-and-arch.sh
@@ -41,7 +41,7 @@ case "$CPUName" in
         arch=x64
         ;;

-    armv7l)
+    armv7l|armv8l)
         if (NAME=""; . /etc/os-release; test "$NAME" = "Tizen"); then
             arch=armel
         else
-- 
2.34.1

Despite that, during installer build, I get the following error:

/builds/ayakael/aports/testing/dotnet6-bootstrap/src/source-build-tarball-6.0.102/src/installer.49861cb924cdd74be8de19206b48de4f04c0ecbe/artifacts/source-build/self/src/src/redist/targets/Crossgen.targets(122,5): error : Error: Unable to load shared library 'clrjit_unix_x64_arm' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: Error loading shared library libclrjit_unix_x64_arm: No such file or directory [/builds/ayakael/aports/testing/dotnet6-bootstrap/src/source-build-tarball-6.0.102/src/installer.49861cb924cdd74be8de19206b48de4f04c0ecbe/artifacts/source-build/self/src/src/redist/redist.csproj]

It seems like clrjit_unix_x64_arm is looked for rather than clrjit_unix_arm.

Are there any armv7l -> armv8l detection logics that I'm missing?

EDIT: Opened dotnet/source-build#2781 for this issue

omajid commented 2 years ago

Any way to limit space usage during build?

No, not that I know of, but ...

Fixed the above issue

What was your solution?

I have problems building on armv7 platform

FWIW, I am not sure anyone has ever attempted arm32 builds using source-build before. You are going to run into new errors. Please continue to file issues and send patches :)

ayakael commented 2 years ago

Well that explains that, then. I'm then going to put arm32 on the backburner till I have time to get to it.

For the space usage, I simply asked the people at Alpine infra to give me an extra 20GB, which did the trick :p

ayakael commented 2 years ago

@omajid Oh and by the way, as of dotnet6, SkipPortableRuntimeBuild logics are completely gone, so you can remove /p:SkipPortableRuntimeBuild=true in your spec file. In fact, to test portable only build, I had to re-add those logics. Rest in peace build time savings.

MichaelSimons commented 2 years ago

Any way to limit space usage during build?

@ayakael, There is one build option that may be useful if you are not already utilizing it.

/p:CleanWhileBuilding=true

Here is how it used in source-build CI.

This options performs some cleanup logic after each repo is built.

ayakael commented 2 years ago

@MichaelSimons Many thanks!