Build NET9 from source
How to fix this, does anyone know?
I try build dotnet/dotnet repo following instructions in:
https://github.com/dotnet/dotnet/blob/main/README.md#dev-instructions
What i do:
1. Clone repo
https://github.com/dotnet/dotnet/
and switch to
release/9.0.1xx branch
2. Execute
3. On machine i install dependencies
4. Try to build
and.. i get errorGitHub
GitHub - dotnet/dotnet: Home of .NET's Virtual Monolithic Repositor...
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK from source - dotnet/dotnet
GitHub
dotnet/README.md at main · dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK from source - dotnet/dotnet
3 Replies
I found
https://github.com/dotnet/runtime/issues/110751
this, look as the same(diff - this issue on Fedora) problem.
I'm not sure if this is a bug in the repository or if I'm compiling it incorrectly, so I decided to ask here instead of create issue in the repo "runtime".
that fix is not on the release/9.0 branch
you can try with
git cherry-pick b382a451a967eb16968b65238547e6ee795d9d91
are you trying to build the entire stack, including things like the SDK, or just the runtime
because if you just need the runtime, it would be easier to build dotnet/runtime on its own than to build the entire VMR (which is kinda hard to build)
you could also just use one of the alpha .net 10 sdks, if you just need that fix
https://github.com/dotnet/sdk/blob/main/documentation/package-table.md