Summary: | dev-dotnet/dotnet-sdk use architecture-independent source tarball | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Esteve Varela Colominas <esteve.varela> |
Component: | Current packages | Assignee: | dotnet project <dotnet> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | xgqt |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Esteve Varela Colominas
2023-11-01 17:21:39 UTC
I should note that this issue is partially also a reminder for myself to tackle this whenever I have time. I've never liked how the dotnet ecosystem relies on prebuilt binaries for everything, I wonder how dotnet-runtime-nugets relates to my old dotnet-reference-packages. All of that would probably have to be redone, since there were very big changes from 5 to 7 and big changes from 7 to 8. --- WARNING: RAMBLING AHEAD --- I think the best would be to work on cutting .NET SDK to pieces like the page shows: https://learn.microsoft.com/en-us/dotnet/core/distribution-packaging and then thinking about bootstrap, optimization and all other good stuff. It absolutely impossible to do this in one person and a team of AT LEAST TWO if not more people who have extensive knowledge about .NET and Gentoo is needed to set this up properly. At this time I just play safe and cracks in our current handling of .NET start to show, see: https://gitweb.gentoo.org/repo/gentoo.git/tree/games-emulation/ryujinx/ryujinx-1.1.1065.ebuild#n344 Also it does not help that .NET upstream (cough Microsoft, cough) prioritizes Windows, changes their build system every Friday and DELETES BOOTSTRAP BINARIES! Last time I tried to build NEW .NET SDK 7.0.402 (I think) it failed fetching bootstrap exes. Yeah, I expected the changes to be big while dotnet has a fun time trying to solidify. Thankfully, the work with regards to building an arch-independent source tarball has largely already been done for us by fedora: https://src.fedoraproject.org/rpms/dotnet7.0/tree/rawhide This is what I started off of when making the scripts and ebuild linked in the OP. re: rant Microsoft's guidelines in terms of distribution packaging are aimed at binary distributions that can get away with splitting build outputs over several packages. I think they're largely not applicable to gentoo and will be more trouble than they're worth in the long run, but it's worth evaluating. I'd be willing to help out with some of this, but I'm currently heavily bottlenecked by how long it takes to build these packages. |