Skip to content
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

Inclusion of freebsd RIDs causes restore error on vertical builds #18768

Closed
mthalman opened this issue Feb 24, 2024 · 0 comments · Fixed by dotnet/runtime#98948
Closed

Inclusion of freebsd RIDs causes restore error on vertical builds #18768

mthalman opened this issue Feb 24, 2024 · 0 comments · Fixed by dotnet/runtime#98948

Comments

@mthalman
Copy link
Member

mthalman commented Feb 24, 2024

The changes in #18763 are attempting to update the SDK version that is used in the VMR. This is causing failures in the vertical builds:

Errors
    D:\a\_work\1\vmr\src\runtime\src\coreclr\tools\aot\ILCompiler\repro\repro.csproj error NU1101: Unable to find package Microsoft.NETCore.App.Runtime.freebsd-x64. No packages exist with this id in source(s): dotnet-eng, dotnet-libraries, dotnet-libraries-transport, dotnet-public, dotnet-tools, dotnet9-transport, net-sdk-supporting-feed, source-built-command-line-api, source-built-emsdk, source-built-transport-arcade, source-built-transport-cecil, source-built-transport-emsdk [D:\a\_work\1\vmr\src\runtime\Build.proj]
    D:\a\_work\1\vmr\src\runtime\src\coreclr\tools\aot\ILCompiler\repro\repro.csproj error NU1101: Unable to find package Microsoft.NETCore.App.Runtime.freebsd-arm64. No packages exist with this id in source(s): dotnet-eng, dotnet-libraries, dotnet-libraries-transport, dotnet-public, dotnet-tools, dotnet9-transport, net-sdk-supporting-feed, source-built-command-line-api, source-built-emsdk, source-built-transport-arcade, source-built-transport-cecil, source-built-transport-emsdk [D:\a\_work\1\vmr\src\runtime\Build.proj]
    D:\a\_work\1\vmr\src\runtime\src\coreclr\tools\aot\ILCompiler\repro\repro.csproj error NU1101: Unable to find package Microsoft.NETCore.App.Host.freebsd-x64. No packages exist with this id in source(s): dotnet-eng, dotnet-libraries, dotnet-libraries-transport, dotnet-public, dotnet-tools, dotnet9-transport, net-sdk-supporting-feed, source-built-command-line-api, source-built-emsdk, source-built-transport-arcade, source-built-transport-cecil, source-built-transport-emsdk [D:\a\_work\1\vmr\src\runtime\Build.proj]
    D:\a\_work\1\vmr\src\runtime\src\coreclr\tools\aot\ILCompiler\repro\repro.csproj error NU1101: Unable to find package Microsoft.NETCore.App.Host.freebsd-arm64. No packages exist with this id in source(s): dotnet-eng, dotnet-libraries, dotnet-libraries-transport, dotnet-public, dotnet-tools, dotnet9-transport, net-sdk-supporting-feed, source-built-command-line-api, source-built-emsdk, source-built-transport-arcade, source-built-transport-cecil, source-built-transport-emsdk [D:\a\_work\1\vmr\src\runtime\Build.proj]
    D:\a\_work\1\vmr\src\runtime\src\coreclr\tools\aot\ILCompiler\repro\repro.csproj error NU1101: Unable to find package Microsoft.AspNetCore.App.Runtime.freebsd-x64. No packages exist with this id in source(s): dotnet-eng, dotnet-libraries, dotnet-libraries-transport, dotnet-public, dotnet-tools, dotnet9-transport, net-sdk-supporting-feed, source-built-command-line-api, source-built-emsdk, source-built-transport-arcade, source-built-transport-cecil, source-built-transport-emsdk [D:\a\_work\1\vmr\src\runtime\Build.proj]
    D:\a\_work\1\vmr\src\runtime\src\coreclr\tools\aot\ILCompiler\repro\repro.csproj error NU1101: Unable to find package Microsoft.AspNetCore.App.Runtime.freebsd-arm64. No packages exist with this id in source(s): dotnet-eng, dotnet-libraries, dotnet-libraries-transport, dotnet-public, dotnet-tools, dotnet9-transport, net-sdk-supporting-feed, source-built-command-line-api, source-built-emsdk, source-built-transport-arcade, source-built-transport-cecil, source-built-transport-emsdk [D:\a\_work\1\vmr\src\runtime\Build.proj]

The project.assets.json file shows that the net9.0 target framework has the Microsoft.NETCore.App.Host and Microsoft.AspNetCore.App.Runtime runtime packs listed as download dependencies for the freebsd RID. This causes an attempt to download these packages and it fails because they do not exist in the .NET engineering package feeds.

Binlog: inner-build-runtime.zip

This inclusion of the freebsd RID into the SDK was introduced by this change: #18493

/cc @Thefrank, @akoeplinger

akoeplinger added a commit to akoeplinger/runtime that referenced this issue Feb 26, 2024
Since they're not built as part of the official build and aren't on the nuget feeds we won't find the runtime and apphost packs so only include them when targetting FreeBSD.

Fixes dotnet/installer#18768
akoeplinger added a commit to dotnet/runtime that referenced this issue Feb 26, 2024
Since they're not built as part of the official build and aren't on the nuget feeds we won't find the runtime and apphost packs so only include them when targetting FreeBSD.

Fixes dotnet/installer#18768
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant