-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rc2 tagged sdk cross build for ppc64le fails #36062
Comments
Based on the rc2 name, this package is probably to be produced by your build. |
@rbhanda The release pipeline should have pushed the internal packages to the dotnet8 feed (like it would for a normal servicing release). Can you check that this happened on release day? |
I'm checking to see what happened here. Some subset of the transport packages got pushed, but not the full set. |
@mmitche correct me if I'm wrong. I tried building rc2 as a non cross build today. That worked. A cross build doesn't require different versions than a regular build. If the regular build works, and the cross build doesn't due to missing packages, then the cross build is performed in a way that doesn't produce all the required packages. |
@tmds For source build, I think cross and non-cross will work just fine because we build from the bottom of the stack. Based on the paths in the output above and the tag being built, I think @Sapana-Khemkar is building just the |
I'm trying to figure out why the packages didn't get pushed. |
For a cross-build you need anyhow build runtime repo. I assume the ppc64le cross build isn't currently producing the |
Hey @Sapana-Khemkar I have pushed the packages to one of the input feeds. Can you try again? |
The benefit of building these packages yourself is that you can then start from the same released artifacts (including the artifacts and prebuilts tarballs) as the release. If you mix in additional packages from online nuget feeds, it becomes muddled how reproducible your build is, and how you archive it to build it again later. |
@tmds yes you are correct. I have built runtime and Microsoft.NET.HostModel was built successfully in rutime artifacts. But my script did not copy this particular package. Before rc1 build this script was working fine which means Microsoft was copying this package but in rc2 mirroring is missed. @mmitche has now pushed package so I am not getting this error.
We are not doing cross build for dotnet/format repo for cross building. |
Will do, please hold. |
Pushed that package. |
Seeing issues with below templates when running template tests with rc2 source built tarball
|
Thanks. Cross build completed successfully :) |
@mmitche |
Sigh. Let me hunt those down. |
Pushed. Let me know if you hit any more |
Describe the bug
We are trying to cross build tag 8.0.100-rc.2.23480.5 on x86 machine for ppc64le architecture but build failed with following errors
�[39;49m�[31m/root/sapana/dotnet-s390x/sdk/src/Tests/dotnet-new.Tests/dotnet-new.IntegrationTests.csproj : error NU1603: Warning As Error: dotnet-new.IntegrationTests depends on Microsoft.NET.HostModel (>= 8.0.0-rc.2.23479.6) but Microsoft.NET.HostModel 8.0.0-rc.2.23479.6 was not found. An approximate best match of Microsoft.NET.HostModel 8.0.0-rtm.23472.12 was resolved. [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Cli/dotnet/dotnet.csproj : error NU1603: Warning As Error: Microsoft.DotNet.Cli depends on Microsoft.NET.HostModel (>= 8.0.0-rc.2.23479.6) but Microsoft.NET.HostModel 8.0.0-rc.2.23479.6 was not found. An approximate best match of Microsoft.NET.HostModel 8.0.0-rtm.23472.12 was resolved. [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Tests/SDDLTests/SDDLTests.csproj : error NU1603: Warning As Error: SDDLTests depends on Microsoft.NET.HostModel (>= 8.0.0-rc.2.23479.6) but Microsoft.NET.HostModel 8.0.0-rc.2.23479.6 was not found. An approximate best match of Microsoft.NET.HostModel 8.0.0-rtm.23472.12 was resolved. [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1603: Warning As Error: redist depends on Microsoft.NET.HostModel (>= 8.0.0-rc.2.23479.6) but Microsoft.NET.HostModel 8.0.0-rc.2.23479.6 was not found. An approximate best match of Microsoft.NET.HostModel 8.0.0-rtm.23472.12 was resolved. [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: Unable to find package dotnet-format with version (>= 8.0.447701) [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 352 version(s) in dotnet-tools [ Nearest version: 7.0.360304 ] [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 180 version(s) in dotnet7 [ Nearest version: 7.4.441804 ] [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 167 version(s) in dotnet6 [ Nearest version: 6.4.437406 ] [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 76 version(s) in dotnet8 [ Nearest version: 8.0.447601 ] [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 14 version(s) in nuget [ Nearest version: 5.1.250801 ] [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 14 version(s) in dotnet-public [ Nearest version: 5.1.250801 ] [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 1 version(s) in dotnet7-transport [ Nearest version: 7.0.341201 ] [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 0 version(s) in local [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 0 version(s) in richnav [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 0 version(s) in vs-impl [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 0 version(s) in darc-pub-DotNet-msbuild-Trusted-6cdef42 [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 0 version(s) in darc-pub-DotNet-msbuild-Trusted-8ffc3fe [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet-eng [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet-libraries-transport [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet-libraries [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet-tools-transport [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet6-transport [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Layout/redist/redist.csproj : error NU1102: - Found 0 version(s) in dotnet8-transport [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Tests/Microsoft.NET.ToolPack.Tests/Microsoft.NET.ToolPack.Tests.csproj : error NU1603: Warning As Error: testSdkToolPack depends on Microsoft.NET.HostModel (>= 8.0.0-rc.2.23479.6) but Microsoft.NET.HostModel 8.0.0-rc.2.23479.6 was not found. An approximate best match of Microsoft.NET.HostModel 8.0.0-rtm.23472.12 was resolved. [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Tests/dotnet.Tests/dotnet.Tests.csproj : error NU1603: Warning As Error: dotnet.Tests depends on Microsoft.NET.HostModel (>= 8.0.0-rc.2.23479.6) but Microsoft.NET.HostModel 8.0.0-rc.2.23479.6 was not found. An approximate best match of Microsoft.NET.HostModel 8.0.0-rtm.23472.12 was resolved. [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Tests/Microsoft.DotNet.Tools.Tests.ComponentMocks/Microsoft.DotNet.Tools.Tests.ComponentMocks.csproj : error NU1603: Warning As Error: Microsoft.DotNet.Tools.Tests.ComponentMocks depends on Microsoft.NET.HostModel (>= 8.0.0-rc.2.23479.6) but Microsoft.NET.HostModel 8.0.0-rc.2.23479.6 was not found. An approximate best match of Microsoft.NET.HostModel 8.0.0-rtm.23472.12 was resolved. [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Tests/Microsoft.DotNet.PackageInstall.Tests/Microsoft.DotNet.PackageInstall.Tests.csproj : error NU1603: Warning As Error: Microsoft.DotNet.PackageInstall.Tests depends on Microsoft.NET.HostModel (>= 8.0.0-rc.2.23479.6) but Microsoft.NET.HostModel 8.0.0-rc.2.23479.6 was not found. An approximate best match of Microsoft.NET.HostModel 8.0.0-rtm.23472.12 was resolved. [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Tasks/Microsoft.NET.Build.Tasks/Microsoft.NET.Build.Tasks.csproj : error NU1603: Warning As Error: Microsoft.NET.Sdk depends on Microsoft.NET.HostModel (>= 8.0.0-rc.2.23479.6) but Microsoft.NET.HostModel 8.0.0-rc.2.23479.6 was not found. An approximate best match of Microsoft.NET.HostModel 8.0.0-rtm.23472.12 was resolved. [/root/sapana/dotnet-s390x/sdk/sdk.sln] /root/sapana/dotnet-s390x/sdk/src/Tests/ArgumentForwarding.Tests/ArgumentForwarding.Tests.csproj : error NU1603: Warning As Error: ArgumentForwarding.Tests depends on Microsoft.NET.HostModel (>= 8.0.0-rc.2.23479.6) but Microsoft.NET.HostModel 8.0.0-rc.2.23479.6 was not found. An approximate best match of Microsoft.NET.HostModel 8.0.0-rtm.23472.12 was resolved. [/root/sapana/dotnet-s390x/sdk/sdk.sln] �[39;49m 0 Warning(s) �[39;49m�[39;49m�[31m 11 Error(s) �[39;49m Time Elapsed 00:00:24.36 Build failed with exit code 1. Check errors above.
This is similar to dotnet/aspnetcore#50679. It seems Microsoft.NET.HostModel package mirroring is missing.
cc @janani66
The text was updated successfully, but these errors were encountered: