From nobody Thu Feb 16 02:10:10 2023 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 4PHJLq4gdnz3rvL3 for ; Thu, 16 Feb 2023 02:10:27 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-55.consmr.mail.gq1.yahoo.com (sonic316-55.consmr.mail.gq1.yahoo.com [98.137.69.31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PHJLq3SHDz4FXP for ; Thu, 16 Feb 2023 02:10:27 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1676513425; bh=bCz4Z2cKgn6WP30QXSvTIX8oDkIUN121/tqcTPFQfus=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=nqgG5DNzY4/r+pSuXhfWSnrcI3p6748bTbmnvOYmbWlbVAiGusmoaGlDw5q7QZSBdheE8WWT3cmydF1RvYrEeWJGYbwFX4JimJcSGIS47Oo3PDLVmlDW84VUWmt1oloasmJehAYkGhQFzx4dc38RGlGRQhB3WkHQwGrOpNy+EAWPcTTaJK0dGTylwYmCaU3EMYIYzQnsCHcq0CZpVj/e/lkrsWqaGf22uo4253257XtgWOodCOcWp3OAsiCNdk6sqxxu/KO6m0A3pwd//AL2Tgm6iS9jhwZqaH/cZuI+/SU8jXKzwyFHd9550QfDtkZFuDi+F7RqQjpDxV1i6ngL6A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1676513425; bh=zp1L2UzBeHHW7Qo3mvCWSPXIKxTI66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8t F8Tbjk1I1WeOn_wV2FSmng6gRf8IQHPiKhj95MeGh9f.fAdQPPvxkd7qnhZzYLNfFBKt6r3U1sSY U_Tv5lPvbJTrLOY3kJef7DNHkdRO6HzxWhvdbUYYm78Znv1ZENB3QnO5uqqPDKUpSkXjWgvhs8y9 gDxMN4egrh1CDqA8tuyOl1hMfqz8NcaN3o6s0pV4bNjIPHJKY7jYFuUfPtvKze0T2vHM99z15OoI Pa9BnfZX0q4JcvrJBG1wXNIElB1qXqbzmQC2pa9yct0bor0GDOeuZBskZ1OiHplOzRHf9W06wo1C AdcJzB9k8YdXrnk38KyXMzVvjPTkAXxI5z97SRK4lEnC7k9QsB3_WEoKDfa.EyvE8OrZkZSTKByI T3eYA.qMrrQUJkB9vF5RwZpEz7.d5upnxl3N4tQ1XlPy93K9ozb8fAoAKxX5CFbdO0rqxmYH1z3E yzuqn2aJZ12j.RsYhC_6rZ14CLqBc.0UrfTkT494NC9DFDcHSVreaZp8YBjlYpuGgSzxFUaiA.AL SLjZJ_6nEbnkpXCqpALopxGAjhK46n92r6WL1MnEtizg4lLP5h5.aqjUMiVEP0mLe8kZG6lHSCk7 0wA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Thu, 16 Feb 2023 02:10:25 +0000 Received: by hermes--production-ne1-746bc6c6c4-kcw5g (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID b521615c09423af4957bb505e1836ef6; Thu, 16 Feb 2023 02:10:22 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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.300.101.1.3\)) Subject: Re: How poudriere's PACKAGE_FETCH_WHITELIST should work? From: Mark Millard In-Reply-To: Date: Wed, 15 Feb 2023 18:10:10 -0800 Cc: FreeBSD Mailing List , Miroslav Lachman <000.fbsd@quip.cz> Content-Transfer-Encoding: quoted-printable Message-Id: References: <9B296C55-6F06-4E10-9056-ECAD05630920.ref@yahoo.com> <9B296C55-6F06-4E10-9056-ECAD05630920@yahoo.com> <287633b4-1363-4d91-a572-bc0960f592e5@quip.cz> To: Tatsuki Makino X-Mailer: Apple Mail (2.3731.300.101.1.3) X-Rspamd-Queue-Id: 4PHJLq3SHDz4FXP X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Feb 15, 2023, at 17:22, Tatsuki Makino = wrote: > I was introduced to this feature in a reply to an email titled = "[through-able] poudriere: I don't want to rebuild rust with = PORTREVISION bump of curl" that I wrote on or about 2023-01-20. >=20 > This still means that the dependencies held in the package must match = up to the version number to be used, right? > As I wrote in that e-mail, the dependent packages can be checked with = the following command, which poudriere also seems to use. > pkg query -F somewhere/llvm10-10.0.1_10.pkg '%do %dn-%dv' >=20 > In the current porttree, python39 is 3.9.16_1. If this package has = already been created locally, it would seem that the llvm* package that = depends on python39-3.9.16 or earlier would not be used when fetched, is = that correct? >=20 > # note that I avoided recreating llvm13 and llvm15 that way :) >=20 Turns out my notes did not apply: the person I replied to was using quarterly and so things were apparently not changing. But I'd not checked the transitive closures for the various ports involved for the 2023Q1 context. Using rust and its curl dependency as an example: curl in turn depends on at least devel/pkgconf , lang/perl5.32 , security/ca_root_nss , www/libnghttp2 , security/libssh2 , and dns/libpsl . So there is a fair list of things that can cause curl to rebuild, which in turn leads to rust potentially rebuilding, even if the rebuild result for rust ends up not being installed for lack of a version bump: existing install is still expected to be compatible given the lack of a version bump. The way rebuilds happen is that an update to the likes of, say, security/libssh2 deletes the old package. Then curl's package is deleted because of the lack of a package for security/libssh2 . (This is before security/libssh2 or anything is rebuilt.) Then rust for similar reasons. Deleting the packages does not delete the installs (important later). Then the deleted packages are rebuilt so that they are available to future pkg commands, even if it turns out that some of the installed ones would not be updated by the likes of a "pkg upgrade" in the same time frame (version numbering). Again, I've not gone looking for changes in the transitive closure of the dependencies. I'm just noting some of the general structure. I've not checked if this explains all the specifics that happened. Going in the other direction, there may be more that is involved than I know about. But I've observed the delete sequences and later rebuild sequences that do not lead to updated installs of various things rebuilt. (A lot over the years.) =3D=3D=3D Mark Millard marklmi at yahoo.com