Update .NET to the major version 6.0. This is a new major release. It is an Long-Term-Supported (LTS) release. It is expected to be supported upstream for about 3 years and End-of-Life'd around the end of 2024, or maybe early 2022. See all details and changes at https://devblogs.microsoft.com/dotnet/announcing-net-6/ There exists bug for RHEL but not for Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=2016419
Thanks for filing this. I haven been working on the preview builds here: https://pagure.io/dotnet-sig/dotnet6.0 Unfortunately, we couldn't package them because they didn't meet the Fedora packaging guidelines. In particular, until the GA release, .NET 6 could not be bootstrapped and it needed non-open source components to build and run. All that has been fixed with the .NET 6 GA release, and I am working on adding that to Fedora. I expect it will take a few weeks to do the builds, go through the package review and then build/release packages for the supported Fedora versions (34, 35 and 36).
Update: I have it building on Fedora 34, but I am seeing strange hangs in msbuild on Fedora 35. We will need to debug and fix this.
Another update. Fedora 35 and later have clang 13. Building .NET 6 with that results in a broken build, where things (eg, crossgen2) just hang at runtime. It could be a bug in clang 13, could be an issue in .NET or maybe in another system component entirely, we are not sure. Building with (a self-built) clang 12 works, though. We don't have any other usable version of clang in Fedora 35, so until we identify and fix this issue, we are unlikely to make more progress on packaging .NET 6 for Fedora. For more technical details, see: - https://pagure.io/dotnet-sig/dotnet6.0/issue/1 - https://github.com/dotnet/runtime/issues/61671
Update: According to https://github.com/dotnet/runtime/issues/61671, issue was fixed.
*** Bug 2022928 has been marked as a duplicate of this bug. ***
This is the package review for adding .NET 6 to Fedora: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2027818
I finally got copr to build this package: https://copr.fedorainfracloud.org/coprs/g/dotnet-sig/dotnet-preview/build/2995361/ It works on x86_64 and aarch64 on Fedora 34 and 35. There's a build error on s390x, which doesn't sound too urgent, because we can just skip s390x for now. The most worrisome is that there's a build error on x86_64 on Rawhide (another crash in crossgen2), which looks very similar to the just-fixed https://github.com/dotnet/runtime/issues/61671. We know the fix for 61671 is working, otherwise the build would fail on Fedora 35 as well. There might be another clang 13 issue?
The crash seems to be caused by lttng-ust. The version in Fedora rawhide is incompatible with .NET: https://github.com/dotnet/runtime/issues/57784
Hi Is there any news regarding this since building works on fedora 35 but it is still not available in the default repos? Not to be impatient, all work is appreciated! Kind regards
*** Bug 2032762 has been marked as a duplicate of this bug. ***
I have built .NET 6 for all supported Fedora versions now. Installing it should be a matter of `dnf install dotnet-sdk-6.0` when it's available. Rawhide: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4df64a6e1a This should be available in the next compose (hopefully later today?) Fedora 35: https://bodhi.fedoraproject.org/updates/FEDORA-2021-9f61773163 This is getting pushed to the updates-testing repository. Please see https://fedoraproject.org/wiki/How_to_test_updates#Steps_to_follow on how to enable the updates-testing repository. Once it has been tested (users provide positive karma or it reaches the 7 day waiting period), it should become available in the main Fedora 35 repository. Fedora 34: https://bodhi.fedoraproject.org/updates/FEDORA-2021-22cd8b68c0 This is getting pushed to the updates-testing repository. Please see https://fedoraproject.org/wiki/How_to_test_updates#Steps_to_follow on how to enable the updates-testing repository. Once it has been tested (users provide positive karma or it reaches the 7 day waiting period), it should become available in the main Fedora 34 repository.
Thank you so much Omair, Happy holidays
Packages for .NET 6 are now available in Fedora 34, Fedora 35 and Rawhide.