From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yP4eHxusgWUmwgAAkFu2QA (envelope-from ) for ; Tue, 19 Dec 2023 15:43:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id iNjVGRusgWUkCgEAqHPOHw (envelope-from ) for ; Tue, 19 Dec 2023 15:43:39 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="Ck5AqQ/d"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702997019; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=97++7NH0HwlNAW4glsAYMCWH2ojtUtP7qq5XjlUfGg4=; b=Nsr99wsWDSFEGLrUP3LkBD/aEk/OORGVEBXO5opIUmIPBtPZD7dpZ95YmZOHdU+ftN1JbZ MCwVGGcf7OJEm+bsLJXk2UcUhw246AeqYjIxnii/K/G6of3PSWiCJDQQijcoFXBJy/8gLt hq/zW/lKGKDiRDZK3yZh8k+BbiLhgn2d0b+Vy4IIUWWx8pfZTpUSFrWzPD7llmR6WdFZ1U H58ldcUBJpQhYcJiwmRXLZ73HmJKxvddSsDIcQsfc33NiyCEm6pca/hvR4y6njliea1JSB fC76MC6hM657wzhTfzxeXFZaktZiP28N4DNXWJuM5EkVqBJYBgMQRFcbOK+mGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="Ck5AqQ/d"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702997019; a=rsa-sha256; cv=none; b=d6AtMnrMzeQPywe/xGh0qf+0u+gisDBUBvQGnysVsuCdd5J3IRvG9AsCIgL27YKxb9ntaY g24evSNuUDy/udkGaNIbcoyacPW8PMRFryC7vIn1fbU7oFy4VswU/RGSlk9L0GHzM9MVtb ZuJpXBtV3BM73l580jk3KZYb6giZps+/dvVXSSXPBFrqxiDwmEk9I4RH6BXLao4ixc8p1Z cscZgo21GTYcquWhFThD8AnB73QtSkIF+gMOCF3dMEynX0LRdj7S0Aub0TZBcJTHc4C+eh eKKzJdp/Rs/I0YsnrTCjJKhN8syhdqQb7Gnuisz1jJUoTk96PbnK+nzJxlj4KA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3022E33265 for ; Tue, 19 Dec 2023 15:43:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFbJE-0003N7-EU; Tue, 19 Dec 2023 09:43:00 -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 1rFbJD-0003Mj-IA for bug-guix@gnu.org; Tue, 19 Dec 2023 09:42:59 -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 1rFbJD-0003wx-9l for bug-guix@gnu.org; Tue, 19 Dec 2023 09:42:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFbJF-0002DS-So for bug-guix@gnu.org; Tue, 19 Dec 2023 09:43:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#66537: [PATCH] doc: Recommend building in =?UTF-8?Q?=E2=80=98guix?= shell =?UTF-8?Q?-CPW=E2=80=99.?= Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 19 Dec 2023 14:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66537 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 66537@debbugs.gnu.org, guix-patches@gnu.org, Hiep Pham Received: via spool by 66537-submit@debbugs.gnu.org id=B66537.17029969758486 (code B ref 66537); Tue, 19 Dec 2023 14:43:01 +0000 Received: (at 66537) by debbugs.gnu.org; 19 Dec 2023 14:42:55 +0000 Received: from localhost ([127.0.0.1]:35147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFbJ8-0002Ch-Ul for submit@debbugs.gnu.org; Tue, 19 Dec 2023 09:42:55 -0500 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:41117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFbJ6-0002CR-N5 for 66537@debbugs.gnu.org; Tue, 19 Dec 2023 09:42:53 -0500 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-50e3b11f5a9so507278e87.0 for <66537@debbugs.gnu.org>; Tue, 19 Dec 2023 06:42:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702996964; x=1703601764; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=97++7NH0HwlNAW4glsAYMCWH2ojtUtP7qq5XjlUfGg4=; b=Ck5AqQ/dAEy1Nj9hEf+EMRFj+PDMw1vupYpAMCORKk6DnLF/nS6gTdrT/2zPBZN9jL uw0cEGhZ0D34NxNpK8gL/nBCBwkc9TBknU+BIB2BlbbwvagTO4erMiqAEvW5T057zCs3 SkSQnlAh96w2L+UWIf2kDS/XTWJpxdiPLno6r0C+vyvTyYJlavdvncqSQ6QW/Vxb/p42 ZQRZkrHv6iMPzPPAXNzK20dNK3oWnC+HckeX0dK9nm79YGj5ii+68esjiK7ZUHyHzECB ZY4DY2hIoVvFzrLKjVPD4Wlf0PVvkgzn+rkukgsTjqDlKnk7wZL+x+99jvuxmmJpUtQG XWow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702996964; x=1703601764; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=97++7NH0HwlNAW4glsAYMCWH2ojtUtP7qq5XjlUfGg4=; b=mFvDODaS5/sMqUkf/s9fVC+ZaXHZafSawBVRdO6IWTNgPEGkX4dpeQ9sStSGd1UOA6 bHyZx8NcAkEwEQ2SjemPrJPa3gvw8VnsyzfOCZ2EV9Ag8ajWXbqlytKWuaAHxKlU8tFO TEjxV23uRhxJzn+2XLVfp2AP+mopry2hW7OUbpMu03+Ibf2w1u1UDu8mjrXxozq6nFgE STv1/Bd1aCTEkv0weQfwF6S4s+dss9uL5PoDEf1150C/WXMTCF2Z3uUna73NmAW77lWi NHp33vLz9JwtV9Jf+sG/OUsdoNZFvRerxiUySjDE9fTswsK9ENAd3yVOSPrMLIRKjQPE nSdA== X-Gm-Message-State: AOJu0Yyox7FbSfpyUW69HWVMlFi471aGBkcdfj6odG+gbilKGihYpXF9 FxfQNGvj8nRoi7DGAsAj2PA= X-Google-Smtp-Source: AGHT+IFfziZh/nlmIDuArve2eECaigb+FcaZjAhpapluI7jnS6OPJ6/PwQLKNgWD3TZuN1bl0o4itw== X-Received: by 2002:ac2:47e2:0:b0:50e:3ee6:1148 with SMTP id b2-20020ac247e2000000b0050e3ee61148mr2262679lfp.2.1702996963820; Tue, 19 Dec 2023 06:42:43 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id e2-20020a05600c4e4200b00407b93d8085sm3284627wmq.27.2023.12.19.06.42.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 06:42:43 -0800 (PST) From: Simon Tournier In-Reply-To: <87bkb08zim.fsf_-_@gmail.com> References: <6e30603f-4ae2-4de2-af46-dc2fc2ee6bc9@proton.me> <2d49ea4ddadceb4a3017f1a6032fb2858616cdee.1700654648.git.ludo@gnu.org> <87fs0o5p7g.fsf@gmail.com> <87bkb08zim.fsf_-_@gmail.com> Date: Tue, 19 Dec 2023 10:30:32 +0100 Message-ID: <87zfy64k07.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.12 X-Spam-Score: -5.12 X-Migadu-Queue-Id: 3022E33265 X-Migadu-Scanner: mx10.migadu.com X-TUID: P3c9Jga5gNR7 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, On Fri, 08 Dec 2023 at 16:50, Simon Tournier wro= te: >>> @example >>> -guix shell --pure >>> +guix shell -CPW >>> @end example >> >> I would not recommend that or adding also the option -N. Else, the >> development experience can be annoying. > > As said, I disagree with this change pushed by > 01361d46b8e0481ad56665d7a06c276b08f59c6d. > > Could you revert? Because as explained by=E2=80=A6 > >> For instance, =E2=80=9Cmake check=E2=80=9D will probably fail because so= me substitutes >> are missing (see #67532 [1], e.g., tests/derivations.scm). > > =E2=80=A6the option =E2=80=99-CPW=E2=80=99 is not a solution. Other said= , it would require in > addition =E2=80=99-N=E2=80=99. Ludo=E2=80=99s answer from bug#67532 [1]: --8<---------------cut here---------------start------------->8--- I had come to forget about that because for the =E2=80=98guix=E2=80=99 pack= age (obviously built in a network-less environment), we =E2=80=9Cpre-seed=E2=80= =9D the store with the 4 or 5 files needed to run the test suite. So I propose: [ text/x-patch ] diff --git a/doc/contributing.texi b/doc/contributing.texi index 0833b5d32c..0072e5d42d 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -76,13 +76,13 @@ Building from Git hack on Guix: @example -guix shell -D guix -CPW +guix shell -D guix -CPWN @end example or even, from within a Git worktree for Guix: @example -guix shell -CPW +guix shell -CPWN @end example If @option{-C} (short for @option{--container}) is not supported on your [ text/plain ] (And not going back to =E2=80=98--pure=E2=80=99 because as we know it depen= ds too much of the goodwill of the user=E2=80=99s shell.) --8<---------------cut here---------------end--------------->8--- Well, IMHO it falls into=E2=80=A6 > To me, this recommendation of container is like a bazooka for chasing > the real bug: about why --pure does not clean all as expected. Or why > =E2=80=9Cguile=E2=80=9D is found elsewhere? =E2=80=A6a bazooka for killing a fly. For instance, in the two message of = the initial bug report, I do not see the output of the current recommendation: run =E2=80=9Cguix shell --check=E2=80=9D. Yes, =E2=80=9Cguix shell=E2=80=9D depends on the goodwill of the user=E2=80= =99s shell but recommending first --pure is an opportunity for improving --check and/or --pure itself, IMHO. Considering this reported instance of issue, it is not clear for me that --check would not have reported the problem. Or why --pure does not correctly clean all the environment variables? Or why ./configure set something system wide? For me, these questions are the bug. And -CPWN is just a temporary workaround avoiding the bug and not a fix. Somehow, if the use of =E2=80=9C-CPWN=E2=80=9D instead of =E2=80=9C--pure= =E2=80=9C is not an idea that user has when hitting a failure with =E2=80=9Cguix shell --pure=E2=80=9D, y= eah maybe it could be helpful to recommend it in addition. And not the contrary. :-) Something like: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=p.patch Content-Description: p.patch diff --git a/doc/contributing.texi b/doc/contributing.texi index 7337f4bd58..8f66b3642b 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -76,18 +76,19 @@ Building from Git hack on Guix: @example -guix shell -D guix -CPW +guix shell -D guix --pure @end example or even, from within a Git worktree for Guix: @example -guix shell -CPW +guix shell --pure @end example -If @option{-C} (short for @option{--container}) is not supported on your -system, try @command{--pure} instead of @option{-CPW}. -@xref{Invoking guix shell}, for more information on that command. +If building Guix fails, please check the environment variables using the +option @command{--check}. In the last resort, try @option{-CPWN} +instead of @command{--pure}. @xref{Invoking guix shell}, for more +information on that command. If you are unable to use Guix when building Guix from a checkout, the following are the required packages in addition to those mentioned in the --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable That=E2=80=99s said, going your road, I would suggest to add option, say -A/no-long-name doing all (-CPWN) at once. Cheers, simon 1: bug#67532: =E2=80=9Cmake check=E2=80=9D requires network Ludovic Court=C3=A8s Mon, 11 Dec 2023 22:42:30 +0100 id:87sf482z7d.fsf@gnu.org https://issues.guix.gnu.org/67532 https://issues.guix.gnu.org/msgid/87sf482z7d.fsf@gnu.org https://yhetil.org/guix/87sf482z7d.fsf@gnu.org --=-=-=--