[Bug 2040547] Re: Runtime version mismatch with nuget.org on .NET 8 RC2
Mateus Rodrigues de Morais
2040547 at bugs.launchpad.net
Tue Oct 31 00:46:11 UTC 2023
** Description changed:
- Related to: https://github.com/dotnet/source-build/issues/3673
+ [ Impact ]
- Microsoft's published .NET 8 RC2 has a runtime version of
- 8.0.0-rc.2.23479.6, while the VMR has a runtime version of
- 8.0.0-rc.2.23475.17.
+ * Users are currently unable to run RID-specific dotnet operations on a .NET
+ project, e.g. `dotnet build -r linux-x64`.
- This causes any RID-specific operation -- e.g. dotnet publish -r
- linux-x64 -- to fail with the error:
+ * 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.
- ```
- $ dotnet publish -r linux-x64
- MSBuild version 17.8.0+6cdef4241 for .NET
- Determining projects to restore...
- /root/PackageTest/PackageTest.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Host.linux-x64 with version (= 8.0.0-rc.2.23475.17)
- /root/PackageTest/PackageTest.csproj : error NU1102: - Found 140 version(s) in nuget.org [ Nearest version: 8.0.0-rc.2.23479.6 ]
- Failed to restore /root/PackageTest/PackageTest.csproj (in 577 ms).
- ```
+ * 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) 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
** Description changed:
[ Impact ]
- * Users are currently unable to run RID-specific dotnet operations on a .NET
- project, e.g. `dotnet build -r linux-x64`.
+ * 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.
+ * 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.
+ * 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) should have the last
- command working.
-
+ * 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.
+ * 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.
+ * 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).
+ * 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
+ [1] https://github.com/dotnet/source-build/issues/3673#issuecomment-1779566707
+ [2] https://launchpad.net/~mateus-morais/+archive/ubuntu/dotnet8-rc2-runtime-version-fix
--
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