Date: Fri, 19 Sep 2025 14:25:07 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org> To: Colin Percival <cperciva@FreeBSD.org> Cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 2c06b824436d - main - pkgbootstrap: Build pkg if PORTSDIR exists Message-ID: <86y0qaeijg.fsf@ltc.des.dev> In-Reply-To: <202509181925.58IJP2P1007197@gitrepo.freebsd.org> (Colin Percival's message of "Thu, 18 Sep 2025 19:25:02 GMT") References: <202509181925.58IJP2P1007197@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Colin Percival <cperciva@FreeBSD.org> writes: > pkgbootstrap: Build pkg if PORTSDIR exists >=20=20=20=20=20 > If we don't already have the pkg tool installed, we need to install it > before we can build packages for pkgbase. (This arises in release > builds which run in clean chroots; most users will have pkg installed > already.) Installing it from pkg.freebsd.org via "pkg bootstrap" runs > into two problems: First, it's an external dependency with security > implications; and second, there's a bootstrapping problem on new major > versions where pkg.freebsd.org does not have packages yet. >=20=20=20=20=20 > Instead, if we have a ports tree, use it to build pkg ourselves. >=20=20=20=20=20 > With hat: re > MFC after: 6 hours > Sponsored by: https://www.patreon.com/cperciva Please revert this, it not only breaks building main in poudriere but also ends up polluting both the jail and the host in the process. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86y0qaeijg.fsf>