Re: pkg-static: Warning: Major OS version upgrade detected.

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Wed, 10 Sep 2025 13:20:29 UTC
Ian FREISLICH <ianfreislich@gmail.com> writes:
> Kyle Evans <kevans@FreeBSD.org> writes:
> > We certainly build packages for -current, but the branch happened
> > only a little bit ago; it's another 12-14+ day cycle to get a fresh
> > package set and alleviate the above condition.
> In fairness, at the branch point, 15-prerelease and 16-current ports
> trees are the same. Can't the whole set just be copied with the index
> updated to 16?

No, but users can add ABI=FreeBSD:15:$(uname -p) either to their
pkg.conf or their environment to force FreeBSD 16 to use FreeBSD 15
packages until FreeBSD 16 packages become available.  This should work
as long as FreeBSD 15 and 16 don't diverge too much.  Once that happens,
the trick will continue to work provided the kernel has COMPAT_FREEBSD15
enabled and misc/compat15x is installed.  You will however have to build
any port that includes a kernel module from source.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org