Summary: | dotnet-pkg-base.eclass: unrequired virtual/dotnet-sdk:${DOTNET_PKG_COMPAT} is getting installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anton Bolshakov <anton.bugs> |
Component: | Eclasses | Assignee: | dotnet project <dotnet> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | parona, xgqt |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Anton Bolshakov
2024-03-09 23:38:32 UTC
In your output dev-dotnet/csharp-gentoodotnetinfo would be pulling in dotnet-sdk-8.0. The eclass requires this dependency for querying .NET information. In future it would be useful to include the ebuild as well if it wasnt clear where the unwanted the dependency is coming from. Anton, this is intended behavior, each pkg using .NET locks onto a specific .NET SDK major version. This is to: - ensure we always build on the same SDK that we tested on, imagine if we tested on 8.0 but some user built on 7.0, in case of .NET this can cause unexpected breakages, - have less NUGET "dependencies", - have simpler and more strict dependency chain. If you want to reduce number of dependncies you can try and port the package you require to new SDK version. In most cases it is just a change to the TargetFramework tag. |