Date: Sat, 7 Jun 2025 01:18:46 -0700 From: Mark Millard <marklmi@yahoo.com> To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org> Cc: FreeBSD-pkgbase@freebsd.org, FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Re: poudriere jail -c -jrelease-aarch64 -aaarch64 -U https://pkg.freebsd.org -mpkgbase=base_release_3 -v 14 -X got: "guessing the OSVERSION as: 1400000" Message-ID: <5AEBB5E0-0BCA-4936-9066-E44F66F94690@yahoo.com> In-Reply-To: <20BA8DEE-542F-46B3-BDA8-5AABEB12965A@yahoo.com> References: <134A65F5-AC78-4CE4-B519-09614566AF1F.ref@yahoo.com> <134A65F5-AC78-4CE4-B519-09614566AF1F@yahoo.com> <86h60skp85.fsf@ltc.des.dev> <20BA8DEE-542F-46B3-BDA8-5AABEB12965A@yahoo.com>
index | next in thread | previous in thread | raw e-mail
On Jun 7, 2025, at 01:15, Mark Millard <marklmi@yahoo.com> wrote: > On Jun 7, 2025, at 00:03, Dag-Erling Smørgrav <des@FreeBSD.org> wrote: > >> Mark Millard <marklmi@yahoo.com> writes: >>> # poudriere jail -c -jrelease-aarch64 -aaarch64 -U >>> https://pkg.freebsd.org -mpkgbase=base_release_3 -v 14 -X >> >> How do you expect poudriere to interpret `-v 14`? >> > > -v 14.3-RELEASE does not work for -mpkgbase= usage. > > The -v VERSION_HERE is substituted into the text for: > > https://pkg.freebsd.org/FreeBSD:VERSION_HERE:aarch64/ > > (aarch64 example) The only paths that work have one of: > > 14 > 15 > > (for now). > > For reference: > > # poudriere jail -c -jMYTEST -U https://pkg.freebsd.org -mpkgbase=base_release_3 -v 14.3-RELEASE -X > [00:00:00] Creating MYTEST fs at /usr/local/poudriere/jails/MYTEST... done > [00:00:00] Installing 14.3-RELEASE amd64 from https://pkg.freebsd.org ...pkg: Invalid version in ABI string 'FreeBSD:14.3-RELEASE:amd64' > pkg: Cannot parse configuration file! > pkg: Invalid version in ABI string 'FreeBSD:14.3-RELEASE:amd64' > pkg: Cannot parse configuration file! > pkg: Invalid version in ABI string 'FreeBSD:14.3-RELEASE:amd64' > pkg: Cannot parse configuration file! > [00:00:00] Recording filesystem state for clean... done > [00:00:00] Jail MYTEST 14.3-RELEASE amd64 is ready to be used > > # poudriere jail -c -jMYTEST -U https://pkg.freebsd.org -mpkgbase=base_release_3 -v 14.3 -X > [00:00:00] Creating MYTEST fs at /usr/local/poudriere/jails/MYTEST... done > [00:00:00] Installing 14.3 amd64 from https://pkg.freebsd.org ...pkg: Invalid version in ABI string 'FreeBSD:14.3:amd64' > pkg: Cannot parse configuration file! > pkg: Invalid version in ABI string 'FreeBSD:14.3:amd64' > pkg: Cannot parse configuration file! > pkg: Invalid version in ABI string 'FreeBSD:14.3:amd64' > pkg: Cannot parse configuration file! > [00:00:00] Recording filesystem state for clean... done > [00:00:00] Jail MYTEST 14.3 amd64 is ready to be used > > > Technically the information is encoded in the 3 of: base_release_3 > so "14.3" could be built. > > > This is messy also because -m??? for it not being -mpkgbase do use > the notation: > > -v 14.3-RELEASE > > -aARCH for -mpkgbase= also does not match what is used for > other -m??? alternatives. In this case, for -mpkgbase= > the -aARCH has ARCH directly substituted into > > https://pkg.freebsd.org/FreeBSD:VERSION_HERE:ARCH/ > > and the normal TARGET.TARGET_ARCH does not work --but > does for other -m??? alternatives. Nor does > -aarm64 work instead of -aarch64 (for example). Dumb typo, should have been -aaarch64 (one more "a"). Sorry for the confusion. === Mark Millard marklmi at yahoo.comhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5AEBB5E0-0BCA-4936-9066-E44F66F94690>
