Page MenuHomeFreeBSD

pkgbase: Fix OSVERSION specification when creating a repo
ClosedPublic

Authored by markj on Jan 19 2025, 11:28 PM.
Tags
None
Referenced Files
F151895898: D48518.id149537.diff
Sat, Apr 11, 10:21 AM
Unknown Object (File)
Sat, Apr 11, 4:07 AM
Unknown Object (File)
Fri, Apr 10, 1:01 PM
Unknown Object (File)
Tue, Apr 7, 4:24 PM
Unknown Object (File)
Mon, Apr 6, 7:56 AM
Unknown Object (File)
Sat, Mar 14, 12:22 AM
Unknown Object (File)
Mar 12 2026, 5:13 AM
Unknown Object (File)
Mar 10 2026, 1:33 PM
Subscribers

Details

Summary

-o OSVERSION= needs to appear before the "repo" verb, otherwise it has
no effect. In this case, recent pkg-devel fails to create the repo,
saying that ABI cannot be specified without OSVERSION.

MFC after: 2 weeks
Fixes: 188fe88ec50e ("pkgbase: force OSVERSION")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61799
Build 58683: arc lint + arc unit