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

From: Lexi Winter <ivy_at_freebsd.org>
Date: Tue, 09 Sep 2025 19:12:33 UTC
Dan Mahoney (Ports):
> Okay, maybe coffee hasn't hit yet, I've tried both:
> 
> poudriere jail -c -j freebsd:16:x86:64-pkgbase -m pkgbase=https://pkg.freebsd.org/FreeBSD:16:amd64
> 
> and 
> 
> poudriere jail -c -j freebsd:16:x86:64-pkgbase -m pkgbase=/FreeBSD:16:amd64 -U https://pkg.freebsd.org/
> 
> (the manpage lacks an example for how to use -U and -m together)
> 
> Neither works, what am I missing?

i believe you want:

poudriere jail -c -v 16 -j myjail -m pkgbase=base_latest -U https://pkg.freebsd.org

-U should be the URL of the base repository, the argument to -m pkgbase
is the repository name (base_latest in this case) and the ABI string is
added automatically by poudriere itself.

i've just tested this here and it seems to work.