[Bug 2040547] Re: Runtime version mismatch with nuget.org on .NET 8 RC2
Mateus Rodrigues de Morais
2040547 at bugs.launchpad.net
Mon Oct 30 19:25:00 UTC 2023
** Merge proposal linked:
https://code.launchpad.net/~mateus-morais/ubuntu/+source/dotnet8/+git/dotnet8/+merge/454827
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dotnet8 in Ubuntu.
https://bugs.launchpad.net/bugs/2040547
Title:
Runtime version mismatch with nuget.org on .NET 8 RC2
Status in dotnet8 package in Ubuntu:
In Progress
Status in dotnet8 source package in Mantic:
In Progress
Status in dotnet8 source package in Noble:
In Progress
Bug description:
[ Impact ]
* Users are currently unable to run RID-specific dotnet operations on a .NET
project, e.g. `dotnet build -r linux-x64`.
* Since this is a critical bug that could affect real-world scenarios of
building and publishing RID-specific applications, the fix is being
backported to Mantic.
* The upload includes a patch that was suggested by Microsoft [1] and fixes
the issue by updating the VMR source-built runtime version to the same one
Microsoft publishes, to prevent the .NET CLI tools from trying to download
a linux-x64 runtime package that does not exist.
[ Test Plan ]
* To reproduce the bug, one must install dotnet-sdk-8.0 version
8.0.100~rc2-0ubuntu1 and run:
```
$ dotnet new console -o Test
$ cd Test
$ dotnet build # should work
$ dotnet build -r linux-x64 # should not work
```
* Version 8.0.100~rc2-0ubuntu2 (in PPA [2]) should have the last
command working.
[ Where problems could occur ]
* The patch effectively only changes the version string of the resulting .NET
source-built runtime. No feature or behavior-related code changes are made.
* A regression can occur if a third-party software depends on the specific
version string of the runtime present in 8.0.0~rc2-0ubuntu1.
* This is highly unlikely as the vast majority of .NET software targets a
major .NET version, and the diff between both versions is in the build
section of the version string: 8.0.0-rc.2.23479.6 (new) vs
8.0.0-rc.2.23475.17 (old).
[1] https://github.com/dotnet/source-build/issues/3673#issuecomment-1779566707
[2] https://launchpad.net/~mateus-morais/+archive/ubuntu/dotnet8-rc2-runtime-version-fix
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dotnet8/+bug/2040547/+subscriptions
More information about the foundations-bugs
mailing list