Bug 293433 - multimedia/jellyfin: build failure
Summary: multimedia/jellyfin: build failure
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Baptiste Daroussin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-25 04:58 UTC by Lexi Winter
Modified: 2026-02-25 06:01 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (bapt)


Attachments
patch (1.17 KB, patch)
2026-02-25 06:01 UTC, Lexi Winter
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lexi Winter freebsd_committer freebsd_triage 2026-02-25 04:58:35 UTC
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
Comment 1 Lexi Winter freebsd_committer freebsd_triage 2026-02-25 06:01:01 UTC
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.