FreeBSD 15.0-RELEASE, building in poudriere, using ports r2026Q1 from earlier this week, multimedia/jellyfin fails to build: Determining projects to restore... /usr/local/share/dotnet/sdk/9.0.111/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): error NETSDK1083: The specified RuntimeIdentifier 'freebsd.15.0-x64' is not recognized. See https://aka.ms/netsdk1083 for more information. [/wrkdirs/usr/ports/multimedia/jellyfin/work/jellyfin-10.11.5/Emby.Server.Implementations/Emby.Server.Implementations.csproj] full build log: https://people.freebsd.org/~ivy/tmp/jellyfin-10.11.5.log
Created attachment 268337 [details] patch so, this is caused by having a three-component ${OSREL}: my uname -r is '15.0.6', which means ${OSREL:R} returns '15.0' instead of '15'. the attached patch works around this for jellyfin by using ${OSREL:R:R}, but i wonder if we want to fix this more generally, by providing something like ${OSMAJOR}. although we haven't done a FreeBSD.org release with a 3-component version number for a while, it's possible we might do in the future.