From nobody Wed Mar 23 02:40:22 2022 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 7D9E61A44372 for ; Wed, 23 Mar 2022 02:40:35 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-25.consmr.mail.gq1.yahoo.com (sonic304-25.consmr.mail.gq1.yahoo.com [98.137.68.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KNXds5XY9z4mcg for ; Wed, 23 Mar 2022 02:40:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648003226; bh=Rtl7Xad6q9MpdDEaMnHHiRdhjaP0g23eziYeWjqfK08=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=kI9KEJoK4Vfys2Ngn7KTR9c+EjrARD4yltWQgIdpjGMlPraXeVijayx0d9YgIgqA8k3KFvbV2ZjtzKI5k0JsGxlsIEGmovxOHZQ200G08/u9HmQupYyyWOACCatxg+nC3jQzMeKiVmWI++Bp4ggEgFBzVZlQy6VVtYAI8pb6bLDLi75AdLT3Falu/ombFfqGlTYoPKXK4OSh9PVpvRsIheIsV/Zvd/2eTvc8srhL9U1apYYeLegN7MDybC3Iw39sstMgSFKXjzb7i8nBKomUVowyFipAk36i+oGjrm2JjR/1kWb9WnswBUp4FIff+FMe1pYtJX4CBsA14+TSFqIsNw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648003226; bh=E9bJMXPRqm/AeBc1TrCgxMXhkpkQ+0ty7BXeSl2i82z=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=H4wmYBZ/sXeIAupD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MxZ5Tk6xeyugMGA2d HgFTcDJKnKKf6CN84asiu056.w2fZ2gJSVYLPbWi2dpYqoHUeMJHLwof6wbvN7KM.CIH.5zs5ZOH XoPAsv3wDmzZaoTDJ1QDgjGE8BEs1qDSpiXSmKvdqey.vRKMZZsCoDNbKLyw_G7aPqwqmx9yHdO_ PrBE11fcvBzgR4azso6jXsl4aOHM9yxtGFyKqPLgVTZB8VkqbPJRDX9CIVB4dP0xxKZIMRouytEd z4XtDrcX4TDyrPTYG2RUcL7BHjm9fUjN0L7ZblFpUgnPAusElDlwgNPQt4Ak0oBEoabXa4ZrtYjo U5dENGGcAgufRlzD.R3LFLR8KkeAjj7tTuOFaCRsoeFxkx2Znjn6t7w9bId1yh3JgZXcenAwonZZ L5PRIG.p1nnGqquSYl4fFDPGPwjy6LW8OJvVjgsDKN6fZdTLcClqCnUSjzsdtT7eqEimAbXn1vOa 9UOo3CgEioXH2m2v_lnAczlVhD108V6a8X5ztM2HXbyYhpa3O1tl7wEG1MmUjAMXeDKdH3CKZMBo kdTJ3oxeoywFaYA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Wed, 23 Mar 2022 02:40:26 +0000 Received: by kubenode520.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID dd266f4ac7f7d61150b76d37fde3f2c5; Wed, 23 Mar 2022 02:40:23 +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 14.0 \(3654.120.0.1.13\)) Subject: Re: An idea for a pkg option From: Mark Millard In-Reply-To: Date: Tue, 22 Mar 2022 19:40:22 -0700 Cc: freebsd-ports@freebsd.org, "bapt@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <84C8C319-4060-47C2-B3DB-0026478BF1A9.ref@yahoo.com> <84C8C319-4060-47C2-B3DB-0026478BF1A9@yahoo.com> <446ab042-e146-60c3-d766-a26742cb1d40@grosbein.net> To: Tatsuki Makino X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4KNXds5XY9z4mcg X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=kI9KEJoK; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.05 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.55)[-0.553]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.206:from]; MLMMJ_DEST(0.00)[freebsd-ports]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.206:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Mar-22, at 18:50, Tatsuki Makino = wrote: > Mark Millard wrote on 2022/03/23 09:49: >> custom: { >> url: = "file:///usr/local/poudriere/data/packages/13_0R-amd64-default", >> enabled: yes, >> } >=20 > If the package exists on local file system, >=20 > pkg delete -f llvm14 > pkg add -A -M = /usr/local/poudriere/data/packages/13_0R-amd64-default/All/llvm14-14.0.0.r= 4.pkg >=20 > is absolutely faster :) It is true that, for now, all my use is based on file:// . But that need not stay that way. I've been sticking to procedures that allow file:// use but do not require such locality, minimizing what might have to change if I start to do otherwise in some contexts. Perhaps it would help if I showed an example of the overall type of sequence: # more ~/pkg-update-amd64-sys.sh #! /bin/sh pkg update \ && pkg upgrade \ && pkg install `cat ~/origins/amd64-pkgs.txt` \ && pkg autoremove In the context that I've based the examples on, the bulk build included the very first build of devel/llvm14 but could have included builds of updates to some things already installed. The edk2@FLAVOR builds fail, as is currently expected/known. (Hopefully at some point they will work again.) As stands, listing any FLAVOR-edk2 packages in ~/origins/amd64-pkgs.txt leads to no "pkg install" for the new devel/llvm14 (in the example context) and to no execution of the "pkg autoremove" at all. I'd simply like a option to make "pkg install" treat the missing packages as acceptable, not an error. I do not propose any change to the default behavior, suggesting instead a new option. I could easily see others wanting all-or-nothing instead of a possible mix from the "pkg install". =3D=3D=3D Mark Millard marklmi at yahoo.com