From unknown Mon Jun 23 22:04:20 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#47401 <47401@debbugs.gnu.org> To: bug#47401 <47401@debbugs.gnu.org> Subject: Status: [PATCH] doc: Mention value /etc to sysconfdir option. Reply-To: bug#47401 <47401@debbugs.gnu.org> Date: Tue, 24 Jun 2025 05:04:20 +0000 retitle 47401 [PATCH] doc: Mention value /etc to sysconfdir option. reassign 47401 guix-patches submitter 47401 zimoun severity 47401 normal tag 47401 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 26 02:01:55 2021 Received: (at submit) by debbugs.gnu.org; 26 Mar 2021 06:01:55 +0000 Received: from localhost ([127.0.0.1]:40162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPfXf-0007Te-BW for submit@debbugs.gnu.org; Fri, 26 Mar 2021 02:01:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:45402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPfXd-0007TW-R7 for submit@debbugs.gnu.org; Fri, 26 Mar 2021 02:01:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPfXc-0005yb-8p for guix-patches@gnu.org; Fri, 26 Mar 2021 02:01:53 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:45852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPfXa-0005Rj-B5 for guix-patches@gnu.org; Fri, 26 Mar 2021 02:01:51 -0400 Received: by mail-wr1-x42c.google.com with SMTP id j9so2737742wrx.12 for ; Thu, 25 Mar 2021 23:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ANBPAjtX+PvPLMcHstR10osHsHUmebmQRjkbuuPiIiA=; b=PA3I3s2BgD+Tf/PcfD1tLJeAcRPN3yGQqn8BsUqVD96SwjciIZoxaQYy6P11WCKdMX SgDyQ03kH+w6jVgA7wH8NWXojBloG78Xca8wMcRzoIPxcLhNbUU8m1Lg6azm3v/OIGr9 dLpns5JrNeWYaljCtLF+PNJFNIZeYbxtXlupuBVr3qgTNXQjbf8n6hS6PPoDSJDcvkzW NLowoCCeqIBHoZi96LZhuHFogEwhwp3KBCKiaGj1DO7lcQutb4H8j6+KiByXTzReouuy bX0QcYewD8dnq1Y5ZdQ9UKFU+mKiQjym5g76eJmVYOwr6rym7kv/fzKk+OepxftaPFYz DOgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ANBPAjtX+PvPLMcHstR10osHsHUmebmQRjkbuuPiIiA=; b=QgCdprL2lKOymR/rMwwgCXPC2JO1KPXyktbis4gyMFN5MKyvpCYo+CvOxKV9AZ1+uf IOZcmxXAAqdlWw5JhQQg7ZOr0i05IbTn47KExFVjmk1EUAAxr4RIHIbpkXRKtGCcTPpR ykOuAeqIf8NuqwH/SJIBr5DZV1BlVNfIWBdjFwojgI2c5avKWEMxeWg+7NBMoJG3xM8P wBMBAw6rLSXBk6NgzEzjMC3VmeZbWJ4HZYK+HfiVGYj+jDyV+P0W6f1hNDjQ2UnfLrvL cYiv7z6wy6QREMLcNC2bWaoQTgx5b1jfINa6AGdCkPsV3qmYxAeuQZg2OKcNqC4Vu2jN gg8A== X-Gm-Message-State: AOAM531D5rjxDlvOHGNknbidPZrXqzjjtdtgzmbUpZvHnY61A5rczX+U XWaeJNdsAJV7t7YvcLElgChVcbS9SmA= X-Google-Smtp-Source: ABdhPJyLJU65/Fjf7KXeMUUMmVFQOApr8khOzP08AIRzH1vE5iBNje8ylBt1w4cm/7GnMERI3yTgTA== X-Received: by 2002:a5d:58ce:: with SMTP id o14mr12763068wrf.4.1616738508831; Thu, 25 Mar 2021 23:01:48 -0700 (PDT) Received: from lili.univ-paris-diderot.fr ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id v18sm11294556wrf.41.2021.03.25.23.01.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Mar 2021 23:01:48 -0700 (PDT) From: zimoun To: guix-patches@gnu.org Subject: [PATCH] doc: Mention value /etc to sysconfdir option. Date: Fri, 26 Mar 2021 07:01:38 +0100 Message-Id: <20210326060138.27179-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * doc/contributing.texi (Building from Git): Mention value /etc to sysconfdir option. --- Hi, >From a discussion [1] about a reproducibility issue, As discussed on IRC, ‘guix pull’ preserves the settings of the host Guix. So if your initial ‘guix’ has %sysconfdir set to /usr/local/etc, ‘guix pull’ will preserve that. It turns out that, as is always the case with GNU Standards compliant configure script, the default value for --prefix is /usr/local, and the default for --sysconfdir is $prefix/etc. Mostly likely, what happened is that at some point you built Guix from source using the default prefix and sysconfdir, and then you ran ‘guix pull’ from that Guix. I discovered that the option ’sysconfdir’ at ./configure time is set by default to /usr/local/etc conforming the GNU Coding standards. And Guix expect instead /etc. As 'localstadir', it is unconventional. The manual does not mention this subtility. This patch adds a tiny sentence to avoid the trap for the attentive reader. 1: Thanks, simon doc/contributing.texi | 8 ++++++-- doc/guix.texi | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/contributing.texi b/doc/contributing.texi index 58c4dafb9b..53840d81cc 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -228,8 +228,12 @@ necessary to support this, including @env{PATH} and @env{GUILE_LOAD_PATH}. Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the local source tree; it simply updates the @file{~/.config/guix/current} symlink (@pxref{Invoking guix pull}). Run @command{git pull} instead if -you want to upgrade your local source tree. - +you want to upgrade your local source tree. Moreover, note also that +@command{guix pull} preserves the settings of the host Guix. For +instance, regular Guix passes @code{--sysconfdir=/etc/}, whereas the GNU +Coding Standards sets by default @var{prefix} to @file{/usr/local} and +@var{sysconfdir} to @file{$prefix/etc} (@pxref{Directory Variables,,, +standards, GNU Coding Standards}). @node The Perfect Setup @section The Perfect Setup diff --git a/doc/guix.texi b/doc/guix.texi index c23d044ff5..3f2cf4d6e1 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -69,8 +69,8 @@ Copyright @copyright{} 2019 Jakob L. Kreuze@* Copyright @copyright{} 2019 Kyle Andrews@* Copyright @copyright{} 2019 Alex Griffin@* Copyright @copyright{} 2019, 2020 Guillaume Le Vaillant@* +Copyright @copyright{} 2019, 2020, 2021 Simon Tournier@* Copyright @copyright{} 2020 Leo Prikler@* -Copyright @copyright{} 2019, 2020 Simon Tournier@* Copyright @copyright{} 2020 Wiktor Żelazny@* Copyright @copyright{} 2020 Damien Cassou@* Copyright @copyright{} 2020 Jakub Kądziołka@* base-commit: 6e7ba45357078b31a369b23f8a9f38302dfcbb10 -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 31 03:10:46 2021 Received: (at 47401) by debbugs.gnu.org; 31 Mar 2021 07:10:47 +0000 Received: from localhost ([127.0.0.1]:53381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRV02-00083L-IC for submit@debbugs.gnu.org; Wed, 31 Mar 2021 03:10:46 -0400 Received: from mira.cbaines.net ([212.71.252.8]:44262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRV00-000839-Bh for 47401@debbugs.gnu.org; Wed, 31 Mar 2021 03:10:44 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id B7F8027BC65; Wed, 31 Mar 2021 08:10:43 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 4c1a7996; Wed, 31 Mar 2021 07:10:43 +0000 (UTC) References: <20210326060138.27179-1-zimon.toutoune@gmail.com> User-agent: mu4e 1.4.15; emacs 27.1 From: Christopher Baines To: zimoun Subject: Re: [bug#47401] [PATCH] doc: Mention value /etc to sysconfdir option. In-reply-to: <20210326060138.27179-1-zimon.toutoune@gmail.com> Message-ID: <87r1jvztlb.fsf@cbaines.net> Date: Wed, 31 Mar 2021 08:10:40 +0100 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 47401 Cc: 47401@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable zimoun writes: > * doc/contributing.texi (Building from Git): Mention value /etc to syscon= fdir > option. > --- > > Hi, > > From a discussion [1] about a reproducibility issue, > > As discussed on IRC, =E2=80=98guix pull=E2=80=99 preserves the se= ttings of the host > Guix. So if your initial =E2=80=98guix=E2=80=99 has %sysconfdir = set to > /usr/local/etc, =E2=80=98guix pull=E2=80=99 will preserve that. > > It turns out that, as is always the case with GNU Standards compl= iant > configure script, the default value for --prefix is /usr/local, a= nd > the default for --sysconfdir is $prefix/etc. > > Mostly likely, what happened is that at some point you built Guix= from > source using the default prefix and sysconfdir, and then you ran = =E2=80=98guix > pull=E2=80=99 from that Guix. > > I discovered that the option =E2=80=99sysconfdir=E2=80=99 at ./configure = time is set by > default to /usr/local/etc conforming the GNU Coding standards. And Guix > expect instead /etc. As 'localstadir', it is unconventional. > > The manual does not mention this subtility. This patch adds a tiny sente= nce > to avoid the trap for the attentive reader. > > 1: > > > Thanks, > simon > > doc/contributing.texi | 8 ++++++-- > doc/guix.texi | 2 +- > 2 files changed, 7 insertions(+), 3 deletions(-) > > diff --git a/doc/contributing.texi b/doc/contributing.texi > index 58c4dafb9b..53840d81cc 100644 > --- a/doc/contributing.texi > +++ b/doc/contributing.texi > @@ -228,8 +228,12 @@ necessary to support this, including @env{PATH} and = @env{GUILE_LOAD_PATH}. > Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the > local source tree; it simply updates the @file{~/.config/guix/current} > symlink (@pxref{Invoking guix pull}). Run @command{git pull} instead if > -you want to upgrade your local source tree. > - > +you want to upgrade your local source tree. Moreover, note also that > +@command{guix pull} preserves the settings of the host Guix. For > +instance, regular Guix passes @code{--sysconfdir=3D/etc/}, whereas the G= NU > +Coding Standards sets by default @var{prefix} to @file{/usr/local} and > +@var{sysconfdir} to @file{$prefix/etc} (@pxref{Directory Variables,,, > +standards, GNU Coding Standards}). I think this is maybe useful to note somewhere, but not to add to the existing paragraph here. The paragraph starting on line 228 looks to me to be aimed at new users who might be at risk of confusing guix pull and git pull, whereas the bit you're adding is about something completely different, explaining a subtlety of running guix pull (something an earlier part of the paragraph is saying not to run). Maybe there is a more appropriate place in the main manual? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmBkIHFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XeEJA/+JvLPRcx3biEBGiUXH5gNc6p1pkY7JbZc ToIvvMJFlhLNRTzg9ZUt3Gychhv9oKeOJuRmleFejXbXtpheRBgcLWC49G0uF5Hj UbteAFcvf6NDMrfvzj/1Jr9P2RUhVk7CRcOsny9fh4VEa9Dr0sq78RpNRzFjk9Io 2B33p6tKqH4NC3cYb7wjdJ+4YyBc7r/sSzTdj1M+93lZbuciEIjgE94KGPvvMBVF rBvsTQlKEIAA5N2RJb2jgSPxh42HRjFAbTh+GgvYrD9sWgdbHRdLY8oFubo4Yh0X j2XMoWFsgWv6s68PapBQrYdrqAqBNFggHsZSSbGaqtolbfGDGAojBx0iepF9hBSQ kXSwuimaLg7jl19FkqdBPuvXwgV6xxas8zZq5BnbwqMZFGc7eeNZNBNZ3bwgAPXM 5XKM3QToF2Af2Za74wVUrKI4LM6dLRzO7Ke6lxb1y1C3DLfnCB6iXH1QAmT8oHIT hZ8W+9G3BonwsZ8QqABvz4NPKRSBqUgHQyKE/fhtZ37f39r28mZFUlydM5cb0qeR G2U+p14GhKm0b3s7D1Gmb9ciYyCld1kyBcHPgrekKv1sURppY+DQXpAQQcH1h7+A mgkm+v0I63cEG6G90xHODwrxTUpfm4AMbEvEHnkpkOUL9aqBqNVmE8E5boGrI5qR m+WOtcctqb8= =1F/w -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 15 09:40:38 2023 Received: (at 47401-done) by debbugs.gnu.org; 15 May 2023 13:40:39 +0000 Received: from localhost ([127.0.0.1]:43006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pyYRK-0007p5-Jj for submit@debbugs.gnu.org; Mon, 15 May 2023 09:40:38 -0400 Received: from mail-qt1-f181.google.com ([209.85.160.181]:52399) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pyYRI-0007or-BA for 47401-done@debbugs.gnu.org; Mon, 15 May 2023 09:40:37 -0400 Received: by mail-qt1-f181.google.com with SMTP id d75a77b69052e-3f392680773so46452341cf.0 for <47401-done@debbugs.gnu.org>; Mon, 15 May 2023 06:40:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684158030; x=1686750030; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=7hX8vNnj7vcgQn3Yzl1wvQuVwSFDnlMWe3co8iwd1WQ=; b=Yn3FbpJnd5d9UTbvWISoURV039tSk8Gjm1kvZQXxkXm7tC9vR5niMVVrWHFd4OeZUx DORl9+dCpl/FMTCWnXj3dVqmE8mgbDz+liI3v32FmM3njhD+vVs5HqkGUiv7Dh9JYhiT 9Us1MJikcgU/1Zb104DM92xJI01MCSEPl2rMWDAaeBzCfpGw8wV/AWJ8jYHvqX0rMA4J tD9eam/CKBtZjwmszNEobJHjzIv5VV8ol22stqcohtaKlL1nd71utXBLm8WnbGzoTJAf 5a/k/4269/xxNZLDt8o10L8Siaq6UG6SJn+aNPtyI3znZeg/XD/KZfsfCFdyLw59IJdU dxQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684158030; x=1686750030; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7hX8vNnj7vcgQn3Yzl1wvQuVwSFDnlMWe3co8iwd1WQ=; b=RGLo6CZltjD7s6lg99QIEBLVbTWpt3RWArgg1/vlBX0a24NcDRPyOVb4TQwG8S5mW3 Opogf5yMUU7YAqF43iWFVrf270mRq1Pw/+lIy6SBfFPNYfxVmK0wTcyNSumqeQkRv299 VZTR/0elRQ/mX1GfHw8WxVm3ppfkyPTjCYkMNDKjnLMy1UabaxKp16N8sToSOCHWQwpJ LyWHNs3ei/ieP5WTljpiFfsfGEVwRk67A3WweJusVP4tszwSbGGe4++A6wxlA29Fo1F/ vmiwXzSghuyH714Um0MOqMnnKMBz1XYDtln/QLLF00b2SzG37t5MPtaWZ3xH2ucbA1zp eIjw== X-Gm-Message-State: AC+VfDwFVbAC9Z0810kEx2JJIlNEKJDIZs5jqOFctlhYYYTQrnQR/X3I ZgFEu3I56AHAoV8jVJNBnfVQLnF4vTYEOQ== X-Google-Smtp-Source: ACHHUZ5QUHafbgnyL9p5bRFCAUMro63iek+nG8KQ4+AL6diK4E7mGaYBO0qb33X1DTvwEpBgxg5qVg== X-Received: by 2002:ac8:7f48:0:b0:3f5:2bba:5c31 with SMTP id g8-20020ac87f48000000b003f52bba5c31mr6011419qtk.34.1684158030528; Mon, 15 May 2023 06:40:30 -0700 (PDT) Received: from hurd (dsl-205-236-230-106.b2b2c.ca. [205.236.230.106]) by smtp.gmail.com with ESMTPSA id br23-20020a05622a1e1700b003ef2db16e72sm5317683qtb.94.2023.05.15.06.40.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 06:40:29 -0700 (PDT) From: Maxim Cournoyer To: "jgart" Subject: Re: guix build: error: gcry_md_hash_buffer: Function not implemented References: <87sfc7wpug.fsf@gmail.com> <87sfc8ctwx.fsf@posteo.de> <87wn1kcu6b.fsf@posteo.de> <874joo9i7y.fsf@posteo.de> Date: Mon, 15 May 2023 09:40:28 -0400 In-Reply-To: (jgart@dismail.de's message of "Sun, 14 May 2023 14:49:04 +0000") Message-ID: <871qjhww4z.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47401-done Cc: Mekeor Melire , help-guix@gnu.org, 47401-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi! "jgart" writes: > Hi, > > Can this be closed now given the recent mention of --sysconfdir? > > https://issues.guix.gnu.org/47401#1 I think so. Done! -- Thanks, Maxim From unknown Mon Jun 23 22:04:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 13 Jun 2023 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator