Date: Wed, 10 Sep 2025 10:39:18 -0400 From: Ian Freislich <ianfreislich@gmail.com> To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@FreeBSD.org> Cc: Kyle Evans <kevans@FreeBSD.org>, "Patrick M. Hausen" <pmh@hausen.com>, FreeBSD Current <current@freebsd.org> Subject: Re: pkg-static: Warning: Major OS version upgrade detected. Message-ID: <199341111f0.28c3.64e08aff09ba5a21b2fc9010d26a90e5@gmail.com> In-Reply-To: <86v7lqigv6.fsf@ltc.des.dev> References: <6dedf742-48bf-4b67-9993-67933104ba67@gmail.com> <7C4AA985-2F06-4580-93C8-374A75EC4965@hausen.com> <bfb0366e-de86-4dae-ae1e-c8dad45e79f4@FreeBSD.org> <e1aef468-97ff-491e-957f-1088d03cc5e4@gmail.com> <86v7lqigv6.fsf@ltc.des.dev>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On September 10, 2025 09:20:32 Dag-Erling Smørgrav <des@FreeBSD.org> wrote: > 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. Thanks, I don't use binary packages and always compile ports so this trick will silence pkg. Is there a way to tell pkg that it's local only, ie. just for locally compiled ports? Ian [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <body> <div dir="auto"> <div dir="auto"><span style="font-size: 12pt;">On September 10, 2025 09:20:32 Dag-Erling Smørgrav <des@FreeBSD.org> wrote:</span></div><div id="aqm-original" style="color: black;"> <div><br></div> <blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;"> <div dir="auto">Ian FREISLICH <ianfreislich@gmail.com> writes:</div> <blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #0099CC; padding-left: 0.75ex;"> <div dir="auto">Kyle Evans <kevans@FreeBSD.org> writes:</div> <blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #9933CC; padding-left: 0.75ex;"> <div dir="auto">We certainly build packages for -current, but the branch happened</div> <div dir="auto">only a little bit ago; it's another 12-14+ day cycle to get a fresh</div> <div dir="auto">package set and alleviate the above condition.</div> </blockquote> <div dir="auto">In fairness, at the branch point, 15-prerelease and 16-current ports</div> <div dir="auto">trees are the same. Can't the whole set just be copied with the index</div> <div dir="auto">updated to 16?</div> </blockquote> <div dir="auto"><br></div> <div dir="auto">No, but users can add ABI=FreeBSD:15:$(uname -p) either to their</div> <div dir="auto">pkg.conf or their environment to force FreeBSD 16 to use FreeBSD 15</div> <div dir="auto">packages until FreeBSD 16 packages become available. This should work</div> <div dir="auto">as long as FreeBSD 15 and 16 don't diverge too much. Once that happens,</div> <div dir="auto">the trick will continue to work provided the kernel has COMPAT_FREEBSD15</div> <div dir="auto">enabled and misc/compat15x is installed. You will however have to build</div> <div dir="auto">any port that includes a kernel module from source.</div> </blockquote> </div><div dir="auto"><br>Thanks, I don't use binary packages and always compile ports so this trick will silence pkg. Is there a way to tell pkg that it's local only, ie. just for locally compiled ports?</div><div dir="auto"><br></div><div dir="auto">Ian</div><div dir="auto"><br></div> </div></body> </html>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199341111f0.28c3.64e08aff09ba5a21b2fc9010d26a90e5>
