From patchwork Fri Feb 7 01:23:20 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rostislav Svoboda X-Patchwork-Id: 38334 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6A55C27BBEA; Fri, 7 Feb 2025 01:25:44 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D90B127BBE2 for ; Fri, 7 Feb 2025 01:25:43 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tgD7J-00014m-CI; Thu, 06 Feb 2025 20:25:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tgD7B-000131-27 for guix-patches@gnu.org; Thu, 06 Feb 2025 20:25:07 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tgD79-0006mx-92 for guix-patches@gnu.org; Thu, 06 Feb 2025 20:25:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=KSOVw6Uhs/676J6wrEKN+SHEJT7qySQ4bs4NXrvhNzE=; b=tHmANoW56jTUkivpiGzr33dxIqgt+NjxJ7vdB2+6ksZOwv9t3ytRNr4Kr2MIbIFTexmwmvjqT50F66KRp44KKfJMw2ns+2dll6hhli85ZyPDOhAghzxSdNTIK3dBV/yF7O/8oUzRXUmvMcHX8WEHqlkJlZ/KuXLl6Iw+dNhJcDOSoZRxbHjbZg0DmngKKmBQ3aYQX13Duwf92T3u8Xwf0XVe7kw7zdBeY3DFZAn1IYOdksGNVSt2w7kzNS5Nmn8Vdx/jhmtPDj1mPTni66UwByzT/9lEcDsjMjJIM9ycA7HzIEtT0eyuvnG3jHNH38B45NPm8kFD1BftvVy4wBj9Og==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tgD78-0001kv-2k for guix-patches@gnu.org; Thu, 06 Feb 2025 20:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76109] [PATCH] doc: Mention --check --no-grafts as a way to force-rebuild packages. Resent-From: Rostislav Svoboda Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 07 Feb 2025 01:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76109 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: Ludovic =?utf-8?q?Court=C3=A8s?= , Maxim Cournoyer , 76109@debbugs.gnu.org Received: via spool by 76109-submit@debbugs.gnu.org id=B76109.17388914466658 (code B ref 76109); Fri, 07 Feb 2025 01:25:02 +0000 Received: (at 76109) by debbugs.gnu.org; 7 Feb 2025 01:24:06 +0000 Received: from localhost ([127.0.0.1]:60015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tgD6E-0001jK-7l for submit@debbugs.gnu.org; Thu, 06 Feb 2025 20:24:06 -0500 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]:43376) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tgD6B-0001in-Kq for 76109@debbugs.gnu.org; Thu, 06 Feb 2025 20:24:04 -0500 Received: by mail-qt1-x833.google.com with SMTP id d75a77b69052e-467a1d43821so23517191cf.1 for <76109@debbugs.gnu.org>; Thu, 06 Feb 2025 17:24:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738891438; x=1739496238; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=KSOVw6Uhs/676J6wrEKN+SHEJT7qySQ4bs4NXrvhNzE=; b=URnxqLQj4xnn9RllRkSgvGoaWZYZ62200aZeVY3bWSWDz9d+HmT1dHyLwox1iQuiE/ r8fYkviEYm7dYHF1M7qHv/6QRAaq1nKHEBfBEAEbLJgCJh41IKb/oJvjrNWHFnk475TG jeDq9sqH31WLaHHIchhq6uHvRT2VGF3GzQEIfPHTiICEr5krBDAipcMOpWIkIq/ejBZo r3Hr/njrh+W36ReDkVisOf4+Vbq0vy/6kMvP08+MMXdsuvAC6oerH3WEh1xGdO2uHdGT TBDydB8bSO6lKQSPsDfoWScQDpC4ytjMU5AyBO033fEcIyGorAttQyp5Nm3uTNuv61cV gCZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738891438; x=1739496238; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KSOVw6Uhs/676J6wrEKN+SHEJT7qySQ4bs4NXrvhNzE=; b=I2DtRcEUzOlha1agqrY6zt0qwI1BqMu0qf6NPqHrP8tNmzXWBU2VZL9nd/zp5H/Fbu 9xZM56gEpmNK42HckpvAsGyK6rwh7jpBE2qi1OAFVnnzCVzehKQyWmVkeFNwN5P2CKnk Z5d1HFgr35kY7r0CsehpZ9pbVTRXkZMAr8GW8PPexdHk0VFIAjXAlCg9nhkQx+JrRU0I Y3JAXB6g3io9EQgjt8Oq3gSy6FK/+8y0N01TTz+DdHSPeP1MBP+bifymxOZT+6nLBQyw IuWVSZ0mC6KxToxjJSo80F4FZQBqhFvTxvnH4vpCfsb4ZHIM23yQnsrnaA1lvaXn2XZD XA/Q== X-Gm-Message-State: AOJu0YyTWJiCMBKdoKTRasrMAxLhW5sPIjA/csIOK2/0BmrwebZZ/RLk E+bgrzRvFE9rHrK9h3XFnDt0zVUQ0RW3YHD/UKVgYplU72avzQ9c0dbPeyWN+qBurqhpwWq1k+U Xi0gi1+sb/eoCiEBag+jrlLqFX/H3ko7T0dI= X-Gm-Gg: ASbGncuWntOMLF9sp+TrTqCfRphA01f+c5SSUzzqKJRUxKaNlLnmV26s8QRhM/C94Gj aNGgMjabCqe2dB4WqdsJxcuT6HsXcCSlXqUAefIa5bz1xAPHBTPMB7OtueATKHP9ZMAZoazzqVC YgqTdcdTEbtrY6yS3nLsabmp4sPr39uw== X-Google-Smtp-Source: AGHT+IHfFIlx5OqPM1D7lcoPkrl5ZoHvjXBAnTfzr1/IXATGW8i3iEVUW1moF0Bf5HEvC71gXWWNrth3hrYXPuuYoy8= X-Received: by 2002:a05:622a:4203:b0:46f:d430:cdd4 with SMTP id d75a77b69052e-47168917960mr21360251cf.24.1738891437611; Thu, 06 Feb 2025 17:23:57 -0800 (PST) MIME-Version: 1.0 References: <005108696881e41414551282c5fdca15bbbd9844.1738885372.git.Rostislav.Svoboda@gmail.com> In-Reply-To: From: Rostislav Svoboda Date: Fri, 7 Feb 2025 02:23:20 +0100 X-Gm-Features: AWEUYZkEsRhS4GdDORVNa36LG3-zL2JXOJsJBpJyHmw5MJOa9OJI_g2tF64N29Y Message-ID: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Adjusted! A new patch is attached. Le ven. 7 févr. 2025 à 01:05, Leo Famulari a écrit : > > On Fri, Feb 07, 2025 at 12:43:36AM +0100, Rostislav Svoboda wrote: > > * doc/guix.texi (On Trusting Binaries): Document that combining --check and > > --no-grafts with 'guix build' forces the rebuild of a package. > > Thanks, this is really useful information that most people have had to > learn by asking. > > > +@command{guix build --check}}). To force a full rebuild of a package > > +(ignoring security updates via grafts), use @option{--check} together > > +with @option{--no-grafts} (@pxref{Common Build Options, > > +@option{--no-grafts}}). > > Grafts are not always present in the codebase (hard to believe, I know), > so can you adjust it to something like "(ignoring security updates via > grafts, which are often present)"? From 836a004c63236e76416702a50d9c2870644fe110 Mon Sep 17 00:00:00 2001 Message-ID: <836a004c63236e76416702a50d9c2870644fe110.1738891318.git.Rostislav.Svoboda@gmail.com> From: Rostislav Svoboda Date: Thu, 6 Feb 2025 23:55:44 +0100 Subject: [PATCH] doc: Mention --check --no-grafts as a way to force-rebuild packages. * doc/guix.texi (On Trusting Binaries): Document that combining --check and --no-grafts with 'guix build' forces the rebuild of a package. Change-Id: I4eb6be04243a52f70d0fc298f76e62f10e3d376e --- doc/guix.texi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index 9f1e4bf0f0..91f5a9e38b 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -3978,7 +3978,11 @@ On Trusting Binaries challenge}). Similarly, the @option{--check} option of @command{guix build} allows users to check whether previously-installed substitutes are genuine by rebuilding them locally (@pxref{build-check, -@command{guix build --check}}). +@command{guix build --check}}). To force a full rebuild of a package +(ignoring security updates via grafts, if any grafts exist—which is +not always the case), use @option{--check} together with +@option{--no-grafts} (@pxref{Common Build Options, +@option{--no-grafts}}). In the future, we want Guix to have support to publish and retrieve binaries to/from other users, in a peer-to-peer fashion. If you would base-commit: 8cf5eefbf3ca634fce98a832fc90e84ce91ef9d4 -- 2.48.1