From nobody Mon Mar 25 08:02:26 2024 X-Original-To: freebsd-pkgbase@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V35520DSWz5Fc9Z for ; Mon, 25 Mar 2024 08:02:30 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from thyme.eden.le-Fay.ORG (THYME.EDEN.LE-FAY.ORG [81.187.47.194]) by mx1.freebsd.org (Postfix) with ESMTP id 4V35513hQYz4dHQ for ; Mon, 25 Mar 2024 08:02:29 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; none Received: from iris.eden.le-Fay.ORG (IRIS.EDEN.LE-FAY.ORG [IPv6:2001:8b0:aab5:106:3::6]) by thyme.eden.le-Fay.ORG (Postfix) with ESMTP id 2241072; Mon, 25 Mar 2024 08:02:25 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=thyme; t=1711353745; bh=nRDre9C23n6tB7GgjrGXGPqRV1TNUS4RqgKm8XbEHEE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=vioW0LjysgfovesgHgta/v4/9Sh5WRYvFaHQrtKpM9JxCB90REZMcbuHdSNtCF48f CJ2KqsEVxiYFS5KtNgbgXrc7TJX4LmbP2O89XFc8pyzEvNGxpg5H/ve6gduDRjbPl/ q8sutpEkq40Xwyz/3mH9KMqmVvxcDGRPVOC5tO+A= Received: from ilythia.eden.le-fay.org (ILYTHIA.EDEN.LE-FAY.ORG [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 445B62C0418; Mon, 25 Mar 2024 08:02:26 +0000 (GMT) Date: Mon, 25 Mar 2024 08:02:26 +0000 From: Lexi Winter To: Graham Perrin Cc: freebsd-pkgbase@freebsd.org Subject: Re: FreeBSD-base and poudriere Message-ID: References: <8c4f0ffe-6961-f119-0034-0becf860b616@gjunka.com> <9fdff6f8-c7d2-4cb0-918c-16530724a674@gmail.com> List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="L4tdy6MGCA0uGhgV" Content-Disposition: inline In-Reply-To: <9fdff6f8-c7d2-4cb0-918c-16530724a674@gmail.com> X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20712, ipnet:81.187.0.0/16, country:GB] X-Rspamd-Queue-Id: 4V35513hQYz4dHQ --L4tdy6MGCA0uGhgV Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Graham Perrin: > On 06/04/2020 10:24, Grzegorz Junka wrote: > > Is it possible to create a poudriere jail using FreeBSD-base packages? >=20 > Maybe not a fit for your scenario, but FYI: >=20 > Unable to create jail using pkgbase method =B7 Issue #1088 =B7 freebsd/po= udriere > i believe this issue is because pkg.freebsd.org puts the packages in 'base_latest', while poudriere expects them to be in 'latest'. this is probably a poudriere bug. i am successfully using poudriere with pkgbase with a repository i built myself. using a repository at: https://pkg.eden.le-fay.org/base/FreeBSD:15:aarch64/latest with the command: # poudriere jail -c -j test -v 15 -a aarch64 -m pkgbase=3Dhttps://pkg.eden= =2Ele-fay.org/base =2E.. successfully creates a jail. (sorry, this repository is private, so it won't work for anyone else.) however, this doesn't seem to be well tested, because i've already run into at least three separate problems: 1. install fails without '-a aarch64' because poudriere tries to use 'FreeBSD:15:arm64.aarch64' as the pkg ABI, which is wrong (it should be 'FreeBSD:15:aarch64'). 2. install fails because poudriere selects the wrong packages to install in the jail; reported (with patch) at [0]. 3. updating works, but doesn't actually update the jail because it doesn't recreate the @clean snapshot. i only noticed this about an hour ago so not reported yet. despite that, poudriere+pkgbase is still easier than poudriere+src for my use-case, so i'll probably stick with it, and hope it improves in future. regards, lexi. [0] https://github.com/freebsd/poudriere/issues/1137 --L4tdy6MGCA0uGhgV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmYBL48ACgkQDHqbqZ41 x5mregv+OjJfGxEpTsbPzVphB3ciFYAQKfmT8GPF0ZTZssJoH28uUOM+TrIpkP2o tewIoTJ9ayxhkmrFosN/mK72TI8exPLrGRBJz/NgeQJ1xL5tWPM0gHqNFIKDszjZ 5TY3f+1dqWEOldQ9hinmVQbkuBv8oc4vnexGlO0RDxdXYf+siV60LGvcxfQV3lai mNCM/GEdu4sf3PzOF2uyM8wiaySIrJpgGyLVi/zfF91nTCCAUJyJPfkYVfNlhWyk P/Apj4VG/g0KU2jsSu6EX6gY2LJA3R+hkESlsHpJBtmL1Qo55wTn/+jrnbyzkJws yxdFYSnCJCIEHJtw6rREAAjujlWQPnt2HMvYpzEyHqx8NdQpO+a1GKGKaRez73v2 gmPkKYB9UETi95o6PfvGOul7i2j0eqcszIMDJxMBeO5kBR4rCeswPWZLmp6D0A3O lyRfjsXEfW8odc/w0AURQGO1ppeOMRL48GNpTNIT4doi1d2pUIvHy22wdrE2h4rH 3uhWFfhE =qgUh -----END PGP SIGNATURE----- --L4tdy6MGCA0uGhgV--