From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kGDrFEqEKGe0bAAAqHPOHw:P1 (envelope-from ) for ; Mon, 04 Nov 2024 08:22:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kGDrFEqEKGe0bAAAqHPOHw (envelope-from ) for ; Mon, 04 Nov 2024 09:22:34 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=pmzsQLuy; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=esrwUe3Z; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=inria.fr (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730708554; a=rsa-sha256; cv=none; b=DmJU32+tsDlT5WJF9leUtNr5NJPXIK/dNgcwj9hlPP1lPsbro1/lt5Qbx9yA37xDrmuqAW Z5Im4ttQifIzsPjzkBtDE013/yjr9DkzWufCBzuadOqIzBpjqRxogdYDofdaKBbYcoYPad sYXRa7TsGIah/0Tqo7LfFennsx+tgi3arXaaHMJ3YYz82joZLU1u6wNkAHQYLf+MMPmE0K 9icI55qgQ1U0pR4Fm1dT6PrLnJMIwX+DuxFKZZkchP3yY1SfTnrETt3AOOjtZKAi/iPPWk kRijtlncA7NjIu6ZkQQfSvUiTXtuzgsGyvo1VZJyRRjdkAyiVYc8/Tg+ff+Wpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=pmzsQLuy; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=esrwUe3Z; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=inria.fr (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730708554; 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=9exVs3PJCoiOG3zd3ei62muhZOVzK0ajONLnyuBiWsA=; b=pvdvLpNARfUAJljkeSXSJI21uJB6JDF1MLqLmmWzj/1J8uII6+hwWMT4S0bHf2dTtKkamu g1TFjsnLzZMc6iTneF69XMumI+UST1RkQc5PUieQAkcE6nE9fNGhdU+Z4WDygw+xURKotp Ljb30pbrllU39VFHdpeZFHtHS4se+ZN7t+3czh9GxKS/nKEo3Q9rncqRdKqGLhAtEN6IBI rPEkc5sDaAivgqdmgJiSRnYGybD4v8y9rrIy0Svwz2yYg6IgluYJ3CdGEqsMdZ3++anFuS nAlHm0Te7qjWcwWErTce1/frPviVPfBGv6kLxZZOvDaRW+C0T4C/HY8Wo0HHuA== 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 116316295B for ; Mon, 04 Nov 2024 09:22:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7sLc-0005Aa-18; Mon, 04 Nov 2024 03:22:04 -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 1t7sLa-0005A2-LA for bug-guix@gnu.org; Mon, 04 Nov 2024 03:22:02 -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 1t7sLa-0004RJ-DL for bug-guix@gnu.org; Mon, 04 Nov 2024 03:22:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=9exVs3PJCoiOG3zd3ei62muhZOVzK0ajONLnyuBiWsA=; b=pmzsQLuy67Ekdnq5tqrtdXIHPlxhLKCwoTmi6x/onXn0Ehx1ztcgRBIzdwHMGljtd3B4ZB7YxWXCJ2QMPyQhLRuM/nZ1MczZMnZHUzGNPM6mGaH6UJdBf00rkXE96yWpg+tOGs5FQ6ZV6Xb3PebbdxM9g0YrjU8zbKkl3APAue0YbQ1CG85K98Bp2t3oxrtQc6e73shhU/8LHTLa1Mkxc6NurwoOi+Pwq1emtaI/fj4Ua8YST/6R/HpAWkACN/aex/ecMLbN3e7cxry9wz/SIB3LWi7grOxqaAaCZ5JQvp/NEp+hD6852NkGMAwwuTUWZbzRLYtwM+Cfe119cI6KPQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t7sLa-0001jv-7a for bug-guix@gnu.org; Mon, 04 Nov 2024 03:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#73181: guix-daemon fails when invoking =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?authenticate=E2=80=99?= on the Hurd Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 04 Nov 2024 08:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73181 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Cc: 73181@debbugs.gnu.org Received: via spool by 73181-submit@debbugs.gnu.org id=B73181.17307084876666 (code B ref 73181); Mon, 04 Nov 2024 08:22:02 +0000 Received: (at 73181) by debbugs.gnu.org; 4 Nov 2024 08:21:27 +0000 Received: from localhost ([127.0.0.1]:38233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7sL0-0001jS-U5 for submit@debbugs.gnu.org; Mon, 04 Nov 2024 03:21:27 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:7450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7sKy-0001jB-0N for 73181@debbugs.gnu.org; Mon, 04 Nov 2024 03:21:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=9exVs3PJCoiOG3zd3ei62muhZOVzK0ajONLnyuBiWsA=; b=esrwUe3ZNaSyANsZ6zARJI7HG/XUC8KnuJhdjWv8qt4JidWUaF2DDJW9 YgPVj5OhSDn3R48UC55jfcG5+HSAu+m3aX0igGMdunNraTyyJIo64CdZo rft4LfbaCN1UfYgEu1D7nF3Y+XbcHwsckal5prpb/CUAwR9s48YVNRUCe I=; X-IronPort-AV: E=Sophos;i="6.11,256,1725314400"; d="scan'208";a="191940379" Received: from unknown (HELO ribbon) ([193.50.110.122]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2024 09:21:17 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87h68snkzk.fsf@gnu.org> (janneke@gnu.org's message of "Thu, 31 Oct 2024 20:14:07 +0100") References: <87o74u5hcy.fsf@inria.fr> <87a5ge5d94.fsf@gnu.org> <87h68snkzk.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 14 Brumaire an 233 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de l'Endive X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 04 Nov 2024 09:21:17 +0100 Message-ID: <874j4n5s02.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.43 X-Spam-Score: -0.43 X-Migadu-Queue-Id: 116316295B X-Migadu-Scanner: mx12.migadu.com X-TUID: Vj815R+/F/EW --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, skribis: > Ludovic Court=C3=A8s writes: [...] >> That warning comes from libgc and there=E2=80=99s no such warning when L= C_ALL is >> left unset, which is why it works in that case. > > How about > > 0. Unsetting LC_ALL on the Hurd > > would that work? I=E2=80=99m not sure, but if it does, it=E2=80=99s only =E2=80=9Cby chance= =E2=80=9D. >> I see several possible things to do: >> >> 1. Disable GC warnings altogether in Guix by setting =E2=80=98GC_warn_= proc=E2=80=99. >> >> 2. Make sure guix-daemon discards stderr from agents such as =E2=80=98= guix >> authenticate=E2=80=99. >> >> 3. Figure out why those =E2=80=9CRepeated allocation=E2=80=9D messages= are so frequent >> on i586-gnu and Do Something About It=E2=84=A2. >> >> Thoughts? > > If 0., which seems easiest, does not work then Obviously(?) 3. is nicer > but (much?) harder than 2., which is nicer than 1. However, 1. is much > nicer than our current situation of not having offloading to our > childhurds and not having up-to-date substitutes. How about doing > 1. right now but only for the Hurd, until we get 2. or 3.? Yeah, let=E2=80=99s start with (1), maybe with the patch below (untested)? (2) and (3) would be nice, but it goes with increasing difficulty. Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/aux-files/guile-launcher.c b/gnu/packages/aux-files/guile-launcher.c index ad0094bff5..6a59905a28 100644 --- a/gnu/packages/aux-files/guile-launcher.c +++ b/gnu/packages/aux-files/guile-launcher.c @@ -73,6 +73,15 @@ main (int argc, char **argv) which is always preferable over the C locale. */ setlocale (LC_ALL, "en_US.utf8"); +#if defined __GNU__ + /* XXX: On 32-bit GNU/Hurd (i586-gnu), libgc emits "Repeated allocation" + warnings that are annoying and interfere with communications between + 'guix-daemon' and 'guix authenticate': + . Silence them. */ + static void no_warnings (char *message, GC_word arg) { }; + GC_set_warn_proc (no_warnings); +#endif + const char *str; str = getenv ("GUILE_LOAD_PATH"); load_path = str != NULL ? strdup (str) : NULL; --=-=-=--