2023-10-25 17:25:16 |
Mateus Rodrigues de Morais |
bug |
|
|
added bug |
2023-10-25 17:25:31 |
Mateus Rodrigues de Morais |
summary |
Runtime version mismatch with nuget.org on RC2 |
Runtime version mismatch with nuget.org on .NET 8 RC2 |
|
2023-10-25 17:29:41 |
Mateus Rodrigues de Morais |
tags |
|
foundations-todo |
|
2023-10-26 17:35:58 |
Mateus Rodrigues de Morais |
dotnet8 (Ubuntu): status |
New |
In Progress |
|
2023-10-26 17:36:08 |
Mateus Rodrigues de Morais |
description |
Related to: https://github.com/dotnet/source-build/issues/3673
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.
This causes any RID-specific operation -- e.g. dotnet publish -r linux-x64 -- to fail with the error:
```
error NU1102: Unable to find package Microsoft.NETCore.App.Host.linux-x64 with version (= 8.0.0-rc.2.23475.17)
``` |
Related to: https://github.com/dotnet/source-build/issues/3673
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.
This causes any RID-specific operation -- e.g. dotnet publish -r linux-x64 -- to fail with the error:
```
$ 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).
``` |
|
2023-10-26 17:38:08 |
Mateus Rodrigues de Morais |
bug watch added |
|
https://github.com/dotnet/source-build/issues/3673 |
|
2023-10-27 17:49:32 |
Mateus Rodrigues de Morais |
nominated for series |
|
Ubuntu Mantic |
|
2023-10-27 17:49:32 |
Mateus Rodrigues de Morais |
bug task added |
|
dotnet8 (Ubuntu Mantic) |
|
2023-10-27 17:49:32 |
Mateus Rodrigues de Morais |
nominated for series |
|
Ubuntu Noble |
|
2023-10-27 17:49:32 |
Mateus Rodrigues de Morais |
bug task added |
|
dotnet8 (Ubuntu Noble) |
|
2023-10-27 17:49:43 |
Mateus Rodrigues de Morais |
dotnet8 (Ubuntu Mantic): assignee |
|
Mateus Rodrigues de Morais (mateus-morais) |
|
2023-10-27 17:49:47 |
Mateus Rodrigues de Morais |
dotnet8 (Ubuntu Mantic): status |
New |
In Progress |
|
2023-10-30 19:25:00 |
Mateus Rodrigues de Morais |
merge proposal linked |
|
https://code.launchpad.net/~mateus-morais/ubuntu/+source/dotnet8/+git/dotnet8/+merge/454827 |
|
2023-10-31 00:46:11 |
Mateus Rodrigues de Morais |
description |
Related to: https://github.com/dotnet/source-build/issues/3673
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.
This causes any RID-specific operation -- e.g. dotnet publish -r linux-x64 -- to fail with the error:
```
$ 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).
``` |
[ 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) 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 |
|
2023-10-31 00:47:06 |
Mateus Rodrigues de Morais |
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) 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 |
[ 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 |
|
2023-10-31 13:58:24 |
Graham Inggs |
dotnet8 (Ubuntu Mantic): status |
In Progress |
Fix Committed |
|
2023-10-31 13:58:27 |
Graham Inggs |
dotnet8 (Ubuntu Noble): status |
In Progress |
Fix Committed |
|
2023-10-31 15:44:08 |
Ubuntu Archive Robot |
bug |
|
|
added subscriber Graham Inggs |
2023-11-09 12:16:44 |
Launchpad Janitor |
dotnet8 (Ubuntu Noble): status |
Fix Committed |
Fix Released |
|
2023-12-04 13:03:01 |
Mateus Rodrigues de Morais |
dotnet8 (Ubuntu Mantic): status |
Fix Committed |
Fix Released |
|