From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KN1uJzYIcGF5BQAAgWs5BA (envelope-from ) for ; Wed, 20 Oct 2021 14:14:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WC0lIzYIcGGqOQAAB5/wlQ (envelope-from ) for ; Wed, 20 Oct 2021 12:14:46 +0000 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 DC20DD8B8 for ; Wed, 20 Oct 2021 14:14:45 +0200 (CEST) Received: from localhost ([::1]:58854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdAUW-0001tL-Ug for larch@yhetil.org; Wed, 20 Oct 2021 08:14:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdARu-0007gQ-VS for bug-guix@gnu.org; Wed, 20 Oct 2021 08:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41377) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdARu-0008RL-MH for bug-guix@gnu.org; Wed, 20 Oct 2021 08:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdARu-0007Dp-Fl for bug-guix@gnu.org; Wed, 20 Oct 2021 08:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51259: Cannot build Guix from source (error messages about the translations) Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 20 Oct 2021 12:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51259 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?Rapha=C3=ABl_?= =?UTF-8?Q?M=C3=A9lotte?= Received: via spool by 51259-submit@debbugs.gnu.org id=B51259.163473191227744 (code B ref 51259); Wed, 20 Oct 2021 12:12:02 +0000 Received: (at 51259) by debbugs.gnu.org; 20 Oct 2021 12:11:52 +0000 Received: from localhost ([127.0.0.1]:52923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdARk-0007DQ-EV for submit@debbugs.gnu.org; Wed, 20 Oct 2021 08:11:52 -0400 Received: from lepiller.eu ([89.234.186.109]:36186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdARh-0007DD-HI for 51259@debbugs.gnu.org; Wed, 20 Oct 2021 08:11:51 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 29106f40; Wed, 20 Oct 2021 12:11:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type; s=dkim; bh=+M+ljSYdCGZxpVctvrZgqBcUSCwTJaPnY4QijV 8DMB0=; b=HR2kKkWxe4pxbbgsSNsx1uRfuAaB9gXsr6/okdZKrSdbxqCrHW6W/0 LwRbrdxtIiXQJTIDWu5daThDOX3cmOrJISGJipRmIkUVo8RkFgxhaCMnjcJWXegE czY20Zs7c/ptWFeu9pkPsQ4V0BiYp68sWuGOSjqMScsnHgBT8y9DdBhXusPURo3p WpGjVLE4D0JyE0XYXf31Gh658/EZ7ncDY3a3uXgFuzY+7VH8t1Reki3J2jWmaUM/ E6jewx7bP1FFY3QwttmkJgeZrNiTLtqIObLiBiYfR+nfscwlz1Z9QBnttbHXOuQz GWbiuimlWutzstJSa/AckKAsE2NlfDtw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id eaad6353 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 20 Oct 2021 12:11:46 +0000 (UTC) Date: Wed, 20 Oct 2021 14:11:38 +0200 From: Julien Lepiller Message-ID: <20211020141138.77a7021f@tachikoma.lepiller.eu> In-Reply-To: <545366bf-bd00-ac11-d65c-181fd5ba7dd9@mind.be> References: <20211020040615.48fc8045@tachikoma.lepiller.eu> <545366bf-bd00-ac11-d65c-181fd5ba7dd9@mind.be> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/kciMhk6g/CEQAI8iZZys8NV" 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: , Cc: 51259@debbugs.gnu.org, Simon Streit Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634732085; 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=Ynmz/+xflA6iHJg5Ey2U9z6G40HBR+xxwcmjQkuv5Wk=; b=Fj9Dk64PPPGHbCmREW13mHBm1uzSJABU2tI98JCrzeKH8N7PqX5gaAQKDpsfeEp+IV5XLE glyeiTpmhalGyiRqmCU7NmsgHhB1nk+jx4sVSurnkswHXxFzZmozZqMKjkrYdzzbOLdjsC 6avrMWztI8HgBTsBm0l6S+/GRyNnq/IvoUK4XlODkufnWdDel9Z8caUWPAGWgHXTqJmH/V sIlq2sgzYdBTHZCVSagYZovDqp0dKL64LdYsjwvx4yVOkMLL6zt+3WE8LzmbHGXCoPFPSL E/+MKJEOPFJzw/BBSvBpg8qjc8MMqUnOYNCUR/T4McFRnnkyAydaA2miCPPzxQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634732085; a=rsa-sha256; cv=none; b=inm7oi09wO7YuB/iJpN5hqTto+2DrQ1uudGbmNX/H835WzH5VSxHc3zKfkLQ9v8u1XtS+Z KUuJviVm7mln2XbflkE9UClqqMXQfq0Q72BlWQTYfNSymscMqa5XU24kkpWr7oj4NMWryM KBmR84s1zMU1aHLhRxplvWxgnpNL/yWTeNOQ19SgT13IOG9ZyFkldb5GF06TUmG5PFwKSY dTiugh4PgfXPH7LAwz7f2f7YvZGP2IGDor2GR9TMgzYbev11xZxX6L/Gwfm4d/cXetMynA 6ReLz0Hg4sQ0JAKAKCW2IvC6V1kAHAXrxpiWx029SQNI87pPZ5JUxvLcnmy6+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=HR2kKkWx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=HR2kKkWx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: DC20DD8B8 X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: Fv3flASfLX5s --MP_/kciMhk6g/CEQAI8iZZys8NV Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Le Wed, 20 Oct 2021 12:40:17 +0200, Rapha=C3=ABl M=C3=A9lotte a =C3=A9crit : > Hello, >=20 > On 10/20/21 4:06 AM, Julien Lepiller wrote: >=20 > >=20 > > Since it seems this is due to the lack of the LC_ALL variable in the > > pure environment, how about the attached patch? =20 >=20 > With the attached patch on top of master (c650160abb), the build > fails with messages similar to this one: > ./doc/guix.de.texi:158: @ref reference to nonexistent node > `Translating Guix' >=20 > I attached the build logs. >=20 > I used the following to build, to make sure to start from a clean > tree: --- > git clean -ffdx && guix environment guix --pure --ad-hoc help2man git > strace -- sh -c './bootstrap && ./configure --localstatedir=3D/var && > make' | tee build.log >=20 > --- >=20 > Kind regards, >=20 > Rapha=C3=ABl So, it looks like my change prevented the xref command from running altogether, which explains the error. Moving the variable definition seems to help; I was able to build from a clean checkout in a pure environment with the attached revised patch. --MP_/kciMhk6g/CEQAI8iZZys8NV Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-doc-Set-LC_ALL-when-translating-xref-commands.patch >From 9cf411955afe9d3cb95d8060bb37ce97fdcbacb0 Mon Sep 17 00:00:00 2001 Message-Id: <9cf411955afe9d3cb95d8060bb37ce97fdcbacb0.1634731604.git.julien@lepiller.eu> From: Julien Lepiller Date: Wed, 20 Oct 2021 04:02:06 +0200 Subject: [PATCH] doc: Set LC_ALL when translating xref commands. * doc/local.mk (xref_command): Set LC_ALL. --- doc/local.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/local.mk b/doc/local.mk index fff11f8183..d0cab306a4 100644 --- a/doc/local.mk +++ b/doc/local.mk @@ -110,18 +110,18 @@ endef $(srcdir)/%D%/guix.%.texi: po/doc/guix-manual.%.po $(srcdir)/%D%/contributing.%.texi guix/build/po.go -$(AM_V_PO4A)$(PO4A_TRANSLATE) $(PO4A_PARAMS) -m "%D%/guix.texi" -p "$<" -l "$@.tmp" -sed -i "s|guix\.info|$$(basename "$@" | sed 's|texi$$|info|')|" "$@.tmp" - -$(AM_V_POXREF)$(xref_command) + -$(AM_V_POXREF)LC_ALL=en_US.UTF-8 $(xref_command) -mv "$@.tmp" "$@" $(srcdir)/%D%/guix-cookbook.%.texi: po/doc/guix-cookbook.%.po guix/build/po.go -$(AM_V_PO4A)$(PO4A_TRANSLATE) $(PO4A_PARAMS) -m "%D%/guix-cookbook.texi" -p "$<" -l "$@.tmp" -sed -i "s|guix-cookbook\.info|$$(basename "$@" | sed 's|texi$$|info|')|" "$@.tmp" - -$(AM_V_POXREF)$(xref_command) + -$(AM_V_POXREF)LC_ALL=en_US.UTF-8 $(xref_command) -mv "$@.tmp" "$@" $(srcdir)/%D%/contributing.%.texi: po/doc/guix-manual.%.po guix/build/po.go -$(AM_V_PO4A)$(PO4A_TRANSLATE) $(PO4A_PARAMS) -m "%D%/contributing.texi" -p "$<" -l "$@.tmp" - -$(AM_V_POXREF)$(xref_command) + -$(AM_V_POXREF)LC_ALL=en_US.UTF-8 $(xref_command) -mv "$@.tmp" "$@" %D%/os-config-%.texi: gnu/system/examples/%.tmpl -- 2.33.0 --MP_/kciMhk6g/CEQAI8iZZys8NV--