From nobody Mon Mar 04 09:53:04 2024 X-Original-To: freebsd-ports@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 4TpDXZ0CPCz5CHym for ; Mon, 4 Mar 2024 09:53:18 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TpDXY6tZZz4kMq for ; Mon, 4 Mar 2024 09:53:17 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709545998; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Mp2EuR0o2P6uaHOiXmdKMYpxSRMpwPewTepOWPw2fcw=; b=XbrNhXRnMIRoiYHd+yiy9apyzGZ8vzHcjZ0KR98n3Jy43dVrMCtCsFvoBWKRssmCbSW7Jz n5jAZi1tW64UpXURtp9KEkZYd4htGZoHS5iuP4UcsL89jYzT32808cNNoy8ZDS/KnnYKbM dlNUkGnyg5oDXqsGeeQIyj23EhKXDBIruuk78TBfTek1JaczH+MADMoKCnE5pdgxZU8iG3 5aD5YdZMpex3NxF3JJN99sFtrK2/I81vDZ7hygmAIqpRm5AMQ2PvL3G/x0H2cqwpfGNOxD QYgoQuxw7NNdW58KMbKVNdA0g9pAbwKghZVP/GUUs+/lAccR52cY5LryHW27cg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709545998; a=rsa-sha256; cv=none; b=Vo5a/jtJ2Z3l6KMF46A/Mebew8829Bv7OxYQdP4Ps0AaMfnNj7oow4u/t/igoLmV54CIi7 EsQbB2gWbj1ZdkbIKvCsqNOfCTImy7mbfT+KlH5Na0XcfBMaK/Zi0eAYrQQwtb0ED10U9l sWkPZcTdUk1sms2mudWHQ3OgwXpHmuWB5KdjKomAwZxMny+mcbM5qXUaKrtoCB499UzVYU 6MFVk2V6Td3Rd1pH5yQ71mvt0lC4wgtKgy51bksekUeViOHn7eT7z4KzLrkYMNajHpjyk6 AbxUsiW5o7L4JzW1SEdFLSxxLZh9w0m2bmWa+yAM808MeR0gLGgyoUZSgzpySQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709545998; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Mp2EuR0o2P6uaHOiXmdKMYpxSRMpwPewTepOWPw2fcw=; b=Q14eTIL6l4AYZtbZEykVLhEZL1rXPPAOyWVSgs7PK+aM04cuGrCS4+gjibR5AJnm0GfZo+ ofbsOdWWxwleGAUwqnkLz9c/yntUbUE/AxUC8NNTicUW1+v4Ul4ufGNArCGQ0J7I2LB/Pz PUT41sca+RzzXj7Mo2X0GWOmpI4LAMkt7JuNGlvCLJp7Z61/OV1OUjTrpoVPiISq0Gf6qt qtX4YIwvIWGkmXAFO6bM6ulVKZXjnmhN5QEOvJZNbNv08tws3b5CfJeZOxSBVs20tdfVho 4xWtFXVOMeatm5P717LWnJNvUe9tESPOy1BsdJX50afYtDp+HU5fytP87g3R+g== Received: from mx.bofh.network (mx.bofh.network [5.9.249.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TpDXY4jdgzHGJ for ; Mon, 4 Mar 2024 09:53:17 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple ( [217.117.226.147]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id ae3e3c05 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for ; Mon, 4 Mar 2024 09:53:14 +0000 (UTC) From: Moin Rahman Content-Type: multipart/signed; boundary="Apple-Mail=_F55AA458-92BC-49E3-868E-9B1C6958C7AC"; protocol="application/pgp-signature"; micalg=pgp-sha512 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: Re: How do I clear no-longer-usable packages from poudriere? Date: Mon, 4 Mar 2024 10:53:04 +0100 References: To: freebsd-ports@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3731.700.6.1.1) --Apple-Mail=_F55AA458-92BC-49E3-868E-9B1C6958C7AC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Mar 3, 2024, at 7:33 PM, David Wolfskill = wrote: >=20 > I have a local package-builder that's (generally) been working quite > well for me since Jul 2015 (through a couple of hardware replacements, > sure, but the approach remains the same). >=20 > Today, in trying to chase down what was causing my central "hub" = machine > to whine: >=20 > ld-elf.so.1: /usr/local/lib/libtasn1.so.6: version LIBTASN1_0_3 = required by /usr/local/lib/libgnutls.so.30 not defined >=20 > I found (via the "pkg_libchk" script from ports-mgmt/bsdadminscripts2) > that some just-installed packages are apparently expecting to use > libc.so.6, which hasn't existed on anything here since 18 February. >=20 > (My machines run stable/14 for getting things done; the development > machines also track head, so I have some clue what's coming.) >=20 > The package-builder also builds FreeBSD for its "client" machines. = The > package-builder (and my laptop) track stable/14 daily; the > package-builder does a 2-pass weekend run of package-building (first > pass on Saturday, after updating FreeBSD; second on Sunday). Once the > packages are built, the client machines update FreeBSD (to the latest > snapshot from the package-builder, which is already running that = code). >=20 > The package-builder is thus running the same revision of FreeBSD that > the clients are about to run. And poudriere is using the > package-builder's /usr/src and /usr/ports to construct jails & build > stuff. >=20 > I am trying to ensure a certain level of consistency, here. And today > appears to show that I have failed to do that. >=20 > Is there something less drastic than clearing all poudriere caches of > packages and rebuilding all packages all over again??!? (that will get > me a set of packages consistent with the current state of FreeBSD > sources and ports (stable/14-n266921-8a7d5d73b849 and > main-n654175-6928d3a11398, respectively (at the moment)))? >=20 > At least name resolution isn't broken this time, but printing seems to > have been a casualty. >=20 > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > Alexey Navalny was a courageous man; Putin has made him a martyr. >=20 > See https://www.catwhisker.org/~david/publickey.gpg for my public key. How do you upgrade the poudriere jails? I faced these a couple of years ago on my head builder. And since then I have never used poudriere's jail update method. I used to destroy the jail and recreate the jail. I haven't checked recently again but the main problem was somehow poudriere's jail update method did not used to handle two important methods owhen you are building jails those are `make delete-old` and `make delete-old-libs`. This might have fixed or not but for being the safe side I always delete and create. So I think that when upgrading your jails libc.so.6 were still there while your main host has been handled properly by deleting those libs. And no longer hosted those files. A find foo should be able to get the answers. And hence this chaos. So although for binary cases I still use `poudriere jail -u` for src based jails I delete and recreate the jails. Kind regards, Moin --Apple-Mail=_F55AA458-92BC-49E3-868E-9B1C6958C7AC Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmXlmgBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJGmbA/+KuDjXK+Y0v5/M4Jpo0lSTXuirU8fuVIfw9O+sMQzkp3R9BpSZOjSguWT elRb7WbY52C/k+fyVADla0WIbSEasvGTN1+RLC/buFoNVeb4PmQO9zAA8bKwmvGQ g9HIYs77FC6/ofk1lytf+AlMBqfLX2+x9EJHcylpdrdx8764MeFgBBt3YNs+veGD D+YmAeepdQizfNj1eOM/WfQnm5Ty5nQY6ZqdFfX+SsEfmYhSPuKPnds8HqPIg3i9 AOh0g8KUKDWkSFnzkbW6ZuYx+29G0yPOuXLz8vjWNaOP9W/W/nOfl4onnl/ynrtV saKenDhlq0uv5pKXwZZQ8d9iMEzlarRPesLN/CuaDcawUXxctmxg7B0kvIdkPZQP /Cj9S4+OfYte+pjJWFbgDj1u3FBvF3xYOOAdWRQ6HFKp6plpZTI1xkDq+6sOKyLn 8Zf65Lg/DZVLFVb39KWqNWk/1dtSlH6dwUA+bgG0SuF8ro1mtrD8r9AzowgOnosg kU2tFxZTMCDaOs/tRVyRmcsCZ0oJJ8R8Cn3fzq0wW0bPWns3mVcTpeRYY8YN/M9o HzLh118S3EM5p/O30CUNGfS7LeHnOlJeTa1a4HaRoY44ETByNGh3ZRHaiBHBNKMM XyYyB7LtXykufNtttadejNbGe/utjslDyLXLlrTa41oS35fOaf0= =B0C7 -----END PGP SIGNATURE----- --Apple-Mail=_F55AA458-92BC-49E3-868E-9B1C6958C7AC--