From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WDavK9GVdV+AbQAA0tVLHw (envelope-from ) for ; Thu, 01 Oct 2020 08:39:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uCR0J9GVdV9ebAAAB5/wlQ (envelope-from ) for ; Thu, 01 Oct 2020 08:39:45 +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 1CD459402A7 for ; Thu, 1 Oct 2020 08:39:44 +0000 (UTC) Received: from localhost ([::1]:51064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNu7r-00081n-T3 for larch@yhetil.org; Thu, 01 Oct 2020 04:39:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNu4I-0004r6-Uo for guix-patches@gnu.org; Thu, 01 Oct 2020 04:36:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50659) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNu4I-0003Ca-KE for guix-patches@gnu.org; Thu, 01 Oct 2020 04:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kNu4I-00085A-Gc for guix-patches@gnu.org; Thu, 01 Oct 2020 04:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43737] [PATCH 0/2] Getting rid of Guile's locale warning Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Oct 2020 08:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43737 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43737@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160154132331003 (code B ref -1); Thu, 01 Oct 2020 08:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Oct 2020 08:35:23 +0000 Received: from localhost ([127.0.0.1]:33971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNu3e-00083z-Kr for submit@debbugs.gnu.org; Thu, 01 Oct 2020 04:35:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:59678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNu3Z-00083n-VZ for submit@debbugs.gnu.org; Thu, 01 Oct 2020 04:35:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNu3Z-0004Qh-2l for guix-patches@gnu.org; Thu, 01 Oct 2020 04:35:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50851) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNu3X-0002zv-Mg; Thu, 01 Oct 2020 04:35:15 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33376 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kNu3X-0002AD-0I; Thu, 01 Oct 2020 04:35:15 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Thu, 1 Oct 2020 10:35:07 +0200 Message-Id: <20201001083507.27246-1-ludo@gnu.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.51 X-TUID: wTwAoAethdHd Hello Guix! These two patches provide the ultimate hack to get rid of: guile: warning: failed to install locale This warning annoys all users, mostly on foreign distro, especially when it gets printed each time something gets downloaded (‘guix substitute’ is invoked) and they have no idea how to get rid of it. It’s also fairly pointless because (guix ui) has its own locale handling already, and because we already go to great lengths to set ‘GUIX_LOCPATH’ to a sensible value by default. Let me know what you think! Ludo’. Ludovic Courtès (2): self: Use a 'guile' that doesn't complain about locales. build: Use a 'guile' executable that doesn't warn about locales. Makefile.am | 12 +++++++ configure.ac | 3 ++ gnu/packages/aux-files/guile-launcher.c | 46 ++++++++++++++++++++++++ guix/self.scm | 48 ++++++++++++++++++++++++- 4 files changed, 108 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/aux-files/guile-launcher.c -- 2.28.0