From unknown Mon Aug 11 19:06:06 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67507] [PATCH] packages: Use glibc-utf8-locales/hurd in %standard-patch-inputs. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Tue, 28 Nov 2023 11:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67507 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67507@debbugs.gnu.org Cc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by submit@debbugs.gnu.org id=B.170117124512364 (code B ref -1); Tue, 28 Nov 2023 11:35:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Nov 2023 11:34:05 +0000 Received: from localhost ([127.0.0.1]:45564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wLs-0003DM-Pe for submit@debbugs.gnu.org; Tue, 28 Nov 2023 06:34:05 -0500 Received: from lists.gnu.org ([2001:470:142::17]:42946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wLr-0003Cs-GU for submit@debbugs.gnu.org; Tue, 28 Nov 2023 06:34:03 -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 1r7wLd-0004mE-HB for guix-patches@gnu.org; Tue, 28 Nov 2023 06:33:50 -0500 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7wLb-000791-UV for guix-patches@gnu.org; Tue, 28 Nov 2023 06:33:49 -0500 Received: from localhost (unknown [217.155.61.229]) by mira.cbaines.net (Postfix) with ESMTPSA id 400AC27BBE2 for ; Tue, 28 Nov 2023 11:33:42 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 5e9dd6bb for ; Tue, 28 Nov 2023 11:33:41 +0000 (UTC) From: Christopher Baines Date: Tue, 28 Nov 2023 11:33:41 +0000 Message-ID: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) 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: -0.1 (/) When targeting the hurd. This is a follow up to 95ea1277ae2ebd278bdb51a7887f5ba1116fbc64 that prevents an infinite loop when trying to compute the derivation for guix for the hurd. * guix/packages.scm (%standard-patch-inputs): Use glibc-utf8-locales/hurd when targeting the hurd. Change-Id: I8cdc2d9c28677000290ca1b31f580c4d3043f1ef --- guix/packages.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/guix/packages.scm b/guix/packages.scm index e2e82692ad..f4aa0e78fa 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -866,7 +866,10 @@ (define (%standard-patch-inputs) ("lzip" ,(ref '(gnu packages compression) 'lzip)) ("unzip" ,(ref '(gnu packages compression) 'unzip)) ("patch" ,(ref '(gnu packages base) 'patch)) - ("locales" ,(ref '(gnu packages base) 'glibc-utf8-locales))))) + ("locales" ,(ref '(gnu packages base) + (if (target-hurd?) + 'glibc-utf8-locales/hurd + 'glibc-utf8-locales)))))) (define (default-guile) "Return the default Guile package used to run the build code of base-commit: 62376e3eb67644454bc655bed56be4be965bd13e -- 2.41.0 From unknown Mon Aug 11 19:06:06 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67507] [PATCH v2 0/2] Using the right locales on GNU/Hurd Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: , guix-patches@gnu.org Resent-Date: Wed, 29 Nov 2023 15:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67507 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67507@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Janneke Nieuwenhuizen , ( , Andrew Tropin , Christopher Baines , Josselin Poiret , Liliana Marie Prikler , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Maxim Cournoyer , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: ( , Andrew Tropin , Christopher Baines , Josselin Poiret , Liliana Marie Prikler , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Maxim Cournoyer , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 67507-submit@debbugs.gnu.org id=B67507.170127274620146 (code B ref 67507); Wed, 29 Nov 2023 15:46:02 +0000 Received: (at 67507) by debbugs.gnu.org; 29 Nov 2023 15:45:46 +0000 Received: from localhost ([127.0.0.1]:50755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8Mkz-0005Em-S2 for submit@debbugs.gnu.org; Wed, 29 Nov 2023 10:45:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8Mkx-0005EV-Qt for 67507@debbugs.gnu.org; Wed, 29 Nov 2023 10:45:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8Mki-0000ZQ-BO; Wed, 29 Nov 2023 10:45:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=xPZ7m/kWGO+7EjUtSkjfuAWcAZJvp7TjZdcrcEyPu3U=; b=Zu+DCf1W6oCxwUjJfV10 GSgU4xMbaKU95XqKXt9Z0gA/kV3rjBxLbVxWR3pEaw7/KkmtnLaYOTTvUn8W3lZ3slpxNSHcFKdHi 2lCBCxFEqtVZ3AFzsiUmbydiJIfCKUgaSBXzFUCqvo0i0Sr0+ssvPvUPh7AX33aQQpJi7SCSeHmnM 8dOCt3iXnTpZUwLDjC72BPHXSURwF9gLeqWgD28tgruxD8ihzckU0spoJEkk2qt9wtlMnZonV1S+E n2FqtFsKZ8gIJAKWgftx7k5lXJfdUg0HelLj5cGuKpH6HsEzorLMcUBcczYGUU/VN9Wbpcfq6Ezks wquYpopxMTfsrQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Wed, 29 Nov 2023 16:44:49 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> References: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> 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 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: -3.3 (---) Hello! This is an updated version of Janneke's patches in combined with Christopher's patch from . Team work! This should fix the infamous dependency cycle introduced in 95ea1277ae2ebd278bdb51a7887f5ba1116fbc64 *and* ensure the right version of glibc locale data is used throughout. One thing that sucks is that, anytime we were doing: #~(… #+glibc-utf8-locales …) we now have to do: #~(… #+(libc-locales-for-target (%current-system)) …) to explicitly request the native libc locales. I verified things like this: ./pre-inst-env guix build coreutils --target=i586-pc-gnu ./pre-inst-env guix build findutils -s i586-gnu --no-grafts make check-system TESTS=childhurd and also, after adding #:system "i586-gnu" to the ‘build’ call in ‘build-aux/compile-as-derivation.scm’ as Chris suggested on IRC: make as-derivation I didn’t let it run to completion because that triggers a lot of expensive builds, but it no longer eats all the memory doing nothing as was the case since 95ea1277ae2ebd278bdb51a7887f5ba1116fbc64. Thanks, Ludo’. Janneke Nieuwenhuizen (2): gnu: Add ‘libc-locales-for-target’ and related. gnu: Use ‘libc-utf8-locales-for-target’. gnu/home/services/ssh.scm | 8 ++++--- gnu/installer.scm | 7 +++--- gnu/packages/base.scm | 19 +++++++++++++++ gnu/packages/chromium.scm | 2 +- gnu/packages/gnome.scm | 4 ++-- gnu/packages/javascript.scm | 2 +- gnu/packages/package-management.scm | 4 ++-- gnu/packages/raspberry-pi.scm | 2 +- gnu/packages/suckless.scm | 2 +- gnu/services.scm | 4 +++- gnu/services/base.scm | 7 ++++-- gnu/services/guix.scm | 23 +++++++++++------- gnu/services/web.scm | 6 +++-- gnu/system/image.scm | 13 ++++++---- gnu/system/install.scm | 2 +- guix/packages.scm | 6 ++++- guix/profiles.scm | 37 +++++++++++++++++------------ guix/scripts/pack.scm | 8 +++++-- guix/self.scm | 5 +++- tests/pack.scm | 7 +++--- tests/profiles.scm | 4 ++-- 21 files changed, 116 insertions(+), 56 deletions(-) base-commit: f3173bb901c0eee6c71d066cffab115d27052fc1 -- 2.41.0 From unknown Mon Aug 11 19:06:06 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67507] [PATCH v2 1/2] gnu: Add =?UTF-8?Q?=E2=80=98libc-locales-for-target=E2=80=99?= and related. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Nov 2023 15:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67507 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67507@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Janneke Nieuwenhuizen Received: via spool by 67507-submit@debbugs.gnu.org id=B67507.170127275120159 (code B ref 67507); Wed, 29 Nov 2023 15:46:02 +0000 Received: (at 67507) by debbugs.gnu.org; 29 Nov 2023 15:45:51 +0000 Received: from localhost ([127.0.0.1]:50759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8Ml4-0005F4-LE for submit@debbugs.gnu.org; Wed, 29 Nov 2023 10:45:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8Mkz-0005EY-Pd for 67507@debbugs.gnu.org; Wed, 29 Nov 2023 10:45:46 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8Mkk-0000Zx-Ou; Wed, 29 Nov 2023 10:45:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=k4RIoBdbSoCiKgz4rJ9tGfleEFRqky4OMqFyBO7USYM=; b=SG8k/RFdH+YcOYNT7wZJ bdeEGvlHkeP9GIIqjiIhvNApyY6FGjh4SJwM2DHyc/LArU7aVJZ2bJ3yxLd1vSjm5+jVz0dcx1luw J4/SlRwfuLM0BMqVeYpZPd+66qnTA42dGLNKPbELdGzcpGWgDECTZu+FyH9+uiir6s96E742W/HQz BGhepMg01J8G7kjq4GqJAryeOqn2DJErKvWgputEZZfxq62sEdw6+tTwr9CUmZdTK7zVCaHSrD9my 8a1BGu3hWyQP6O0Y7cJu2vh0DQ53zJhl3PWR78KsE6prqjrG00o1GgjRGwz2CP2Mvx6UCBv3k4VKy EBRAZM3Nv81PAg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Wed, 29 Nov 2023 16:44:50 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> References: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> 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 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: -3.3 (---) From: Janneke Nieuwenhuizen Partly fixes . This is a followup to 95ea1277ae2ebd278bdb51a7887f5ba1116fbc64. * gnu/packages/base.scm (glibc-locales/hurd): New variable (libc-locales-for-target): Use it in new procedure. (libc-utf8-locales-for-target): New procedure. Co-authored-by: Ludovic Courtès Change-Id: I16e187fcc65a5d4a3b065066b45ef9e45d1875f6 --- gnu/packages/base.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 41aff0ca97..6b2e96dc9b 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -76,6 +76,8 @@ (define-module (gnu packages base) #:use-module (srfi srfi-26) #:export (glibc libc-for-target + libc-locales-for-target + libc-utf8-locales-for-target make-ld-wrapper libiconv-if-needed %final-inputs)) @@ -1526,6 +1528,23 @@ (define* (libc-for-target #:optional (_ glibc))) +(define-public glibc-locales/hurd + (make-glibc-locales glibc/hurd)) + +(define* (libc-locales-for-target #:optional + (target (or (%current-target-system) + (%current-system)))) + (if (target-hurd? target) + glibc-locales/hurd + glibc-locales)) + +(define* (libc-utf8-locales-for-target #:optional + (target (or (%current-target-system) + (%current-system)))) + (if (target-hurd? target) + glibc-utf8-locales/hurd + glibc-utf8-locales)) + (define-public tzdata (package (name "tzdata") -- 2.41.0 From unknown Mon Aug 11 19:06:06 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67507] [PATCH v2 2/2] gnu: Use =?UTF-8?Q?=E2=80=98libc-utf8-locales-for-target=E2=80=99.?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: , guix-patches@gnu.org Resent-Date: Wed, 29 Nov 2023 15:46:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67507 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67507@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines , Janneke Nieuwenhuizen , ( , Andrew Tropin , Christopher Baines , Josselin Poiret , Liliana Marie Prikler , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Maxim Cournoyer , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: ( , Andrew Tropin , Christopher Baines , Josselin Poiret , Liliana Marie Prikler , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Maxim Cournoyer , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 67507-submit@debbugs.gnu.org id=B67507.170127275620178 (code B ref 67507); Wed, 29 Nov 2023 15:46:03 +0000 Received: (at 67507) by debbugs.gnu.org; 29 Nov 2023 15:45:56 +0000 Received: from localhost ([127.0.0.1]:50761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8Ml9-0005FM-0W for submit@debbugs.gnu.org; Wed, 29 Nov 2023 10:45:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8Ml2-0005Ed-FV for 67507@debbugs.gnu.org; Wed, 29 Nov 2023 10:45:53 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8Mkp-0000aY-5T; Wed, 29 Nov 2023 10:45:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=iRH//JwB1iK1MAvH4Mggf/oZj+ZDNHPMLluXrwljejk=; b=SBuyEKwMNhac8m/3oCSq 8ik5HKApfqrWdiGUtuMcQkYy1F9uojyP4FPHk/aTYjmesXxhc+TLvPhhRSfSsmPsZ9sk2vnvpaHhj nJsZu2e5UgxIcHBn2oOAbiOUtjaKJ6nDkVrxOTWgtdG18i4eoiNlcC1KU5I/V9EXsHWL5o2TdxknE pj94PXx1XqQPUBWTUzaTXypqcqPItkae4mqRKhDhEepfJLQT6Y/1TVgyjtlbX9wMW+t4UMfVUE9Mw vf601LvzvDiDTMxUmrYm4nKHlSjJh1AqMBaPgGPOulVhkRxeuSNKNpw6cLHowwIfZflse4YG8Nz4h N0G5FbbnUv+1Bg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Wed, 29 Nov 2023 16:44:51 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> References: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) 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: -3.3 (---) From: Janneke Nieuwenhuizen * guix/packages.scm (%standard-patch-inputs): Use ‘libc-utf8-locales-for-target’ instead of ‘glibc-utf8-locales’. * guix/self.scm (%packages): Likewise. * gnu/home/services/ssh.scm (file-join): Likewise * gnu/installer.scm (build-compiled-file): Likewise. * gnu/packages/chromium.scm (ungoogled-chromium/wayland): Likewise. * gnu/packages/gnome.scm (libgweather4, tracker): Likewise. * gnu/packages/javascript.scm (js-mathjax): Likewise. * gnu/packages/package-management.scm (guix, flatpak): Likewise. * gnu/packages/raspberry-pi.scm (raspi-arm64-chainloader): Likewise. * gnu/packages/suckless.scm (svkbd): Likewise. * gnu/services.scm (cleanup-gexp): Likewise. * gnu/services/base.scm (guix-publish-shepherd-service): Likewise. * gnu/services/guix.scm (guix-build-coordinator-shepherd-services) (guix-build-coordinator-agent-shepherd-services): Likewise. * gnu/services/guix.scm (guix-build-coordinator-queue-builds-shepherd-services): (guix-data-service-shepherd-services) (nar-herder-shepherd-services) (bffe-shepherd-services): Likewise. * gnu/services/web.scm (anonip-shepherd-service) (mumi-shepherd-services): Likewise. * gnu/system/image.scm (system-disk-image, system-iso9660-image) (system-docker-image, system-tarball-image): Likewise. * gnu/system/install.scm (%installation-services): Likewise. * guix/profiles.scm (info-dir-file): Likewise. (ca-certificate-bundle, profile-derivation): Likewise. * guix/scripts/pack.scm (store-database, set-utf8-locale): Likewise. * tests/pack.scm: Likewise. * tests/profiles.scm ("profile-derivation, cross-compilation"): Likewise. Co-authored-by: Ludovic Courtès Co-authored-by: Christopher Baines Change-Id: I24239f427bcc930c29d2ba5d00dc615960a6c374 --- gnu/home/services/ssh.scm | 8 ++++--- gnu/installer.scm | 7 +++--- gnu/packages/chromium.scm | 2 +- gnu/packages/gnome.scm | 4 ++-- gnu/packages/javascript.scm | 2 +- gnu/packages/package-management.scm | 4 ++-- gnu/packages/raspberry-pi.scm | 2 +- gnu/packages/suckless.scm | 2 +- gnu/services.scm | 4 +++- gnu/services/base.scm | 7 ++++-- gnu/services/guix.scm | 23 +++++++++++------- gnu/services/web.scm | 6 +++-- gnu/system/image.scm | 13 ++++++---- gnu/system/install.scm | 2 +- guix/packages.scm | 6 ++++- guix/profiles.scm | 37 +++++++++++++++++------------ guix/scripts/pack.scm | 8 +++++-- guix/self.scm | 5 +++- tests/pack.scm | 7 +++--- tests/profiles.scm | 4 ++-- 20 files changed, 97 insertions(+), 56 deletions(-) diff --git a/gnu/home/services/ssh.scm b/gnu/home/services/ssh.scm index 34b1fe4658..295707d59f 100644 --- a/gnu/home/services/ssh.scm +++ b/gnu/home/services/ssh.scm @@ -25,6 +25,7 @@ (define-module (gnu home services ssh) #:use-module (guix deprecation) #:use-module (guix diagnostics) #:use-module (guix i18n) + #:use-module ((guix utils) #:select (%current-system)) #:use-module (gnu services) #:use-module (gnu services configuration) #:use-module (guix modules) @@ -32,7 +33,7 @@ (define-module (gnu home services ssh) #:use-module (gnu home services shepherd) #:use-module ((gnu home services utils) #:select (object->camel-case-string)) - #:autoload (gnu packages base) (glibc-utf8-locales) + #:autoload (gnu packages base) (libc-utf8-locales-for-target) #:use-module (gnu packages ssh) #:use-module (srfi srfi-1) #:use-module (srfi srfi-9) @@ -357,8 +358,9 @@ (define* (file-join name files #:optional (delimiter " ")) ;; Support non-ASCII file names. (setenv "GUIX_LOCPATH" - #+(file-append glibc-utf8-locales - "/lib/locale")) + #+(file-append + (libc-utf8-locales-for-target (%current-system)) + "/lib/locale")) (setlocale LC_ALL "en_US.utf8") (call-with-output-file #$output diff --git a/gnu/installer.scm b/gnu/installer.scm index d9b71e2ca8..db79c11530 100644 --- a/gnu/installer.scm +++ b/gnu/installer.scm @@ -85,9 +85,10 @@ (define* (build-compiled-file name locale-builder) (define set-utf8-locale #~(begin (setenv "LOCPATH" - #$(file-append glibc-utf8-locales "/lib/locale/" - (version-major+minor - (package-version glibc-utf8-locales)))) + #$(file-append + (libc-utf8-locales-for-target) "/lib/locale/" + (version-major+minor + (package-version (libc-utf8-locales-for-target))))) (setlocale LC_ALL "en_US.utf8"))) (define builder diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm index 513e545938..bc49e24f0e 100644 --- a/gnu/packages/chromium.scm +++ b/gnu/packages/chromium.scm @@ -967,7 +967,7 @@ (define-public ungoogled-chromium/wayland (name "ungoogled-chromium-wayland") (native-inputs '()) (inputs - (list bash-minimal glibc-utf8-locales ungoogled-chromium)) + (list bash-minimal (libc-utf8-locales-for-target) ungoogled-chromium)) (build-system trivial-build-system) (arguments (list diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 0be935585d..7364655d25 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5917,7 +5917,7 @@ (define-public libgweather4 gi-docgen `(,glib "bin") ;for glib-mkenums gobject-introspection - glibc-utf8-locales + (libc-utf8-locales-for-target) gsettings-desktop-schemas pkg-config python @@ -9471,7 +9471,7 @@ (define-public tracker (native-inputs (list gettext-minimal `(,glib "bin") - glibc-utf8-locales + (libc-utf8-locales-for-target) gobject-introspection docbook-xsl docbook-xml diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index e70aa7d7e1..2c7ff744ea 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm @@ -184,7 +184,7 @@ (define-public js-mathjax #t)))) (native-inputs `(("font-mathjax" ,font-mathjax) - ("glibc-utf8-locales" ,glibc-utf8-locales) + ("glibc-utf8-locales" ,(libc-utf8-locales-for-target)) ("uglifyjs" ,node-uglify-js) ,@(package-native-inputs font-mathjax))) (synopsis "JavaScript display engine for LaTeX, MathML, and AsciiMath") diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 756222318b..ba0bede493 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -524,7 +524,7 @@ (define-public guix ("git-minimal" ,git-minimal) ;for 'guix perform-download' - ("glibc-utf8-locales" ,glibc-utf8-locales))) + ("glibc-utf8-locales" ,(libc-utf8-locales-for-target)))) (propagated-inputs `(("guile-gnutls" ,guile-gnutls) ;; Avahi requires "glib" which doesn't cross-compile yet. @@ -2052,7 +2052,7 @@ (define-public flatpak dbus ; for dbus-daemon gettext-minimal `(,glib "bin") ; for glib-mkenums + gdbus-codegen - glibc-utf8-locales + (libc-utf8-locales-for-target) gobject-introspection libcap pkg-config diff --git a/gnu/packages/raspberry-pi.scm b/gnu/packages/raspberry-pi.scm index 80bfaf0896..5c25ed96da 100644 --- a/gnu/packages/raspberry-pi.scm +++ b/gnu/packages/raspberry-pi.scm @@ -199,7 +199,7 @@ (define-public raspi-arm64-chainloader ("ld-wrapper" ,ld-wrapper) ("make" ,gnu-make) ("gcc" ,gcc-6) - ("locales" ,glibc-utf8-locales))) + ("locales" ,(libc-utf8-locales-for-target)))) (inputs `()) (arguments diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index 400832045f..714225c654 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -1247,7 +1247,7 @@ (define-public svkbd (delete 'configure)))) ;no configure script (native-inputs (list pkg-config)) (inputs (list freetype libx11 libxft libxtst libxinerama)) - (propagated-inputs (list glibc-utf8-locales)) + (propagated-inputs (list (libc-utf8-locales-for-target))) (home-page "https://tools.suckless.org/x/svkbd/") (synopsis "Virtual on-screen keyboard") (description "svkbd is a simple virtual keyboard, intended to be used in diff --git a/gnu/services.scm b/gnu/services.scm index ff153fbc7b..23c3d8a9f4 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -651,7 +651,9 @@ (define (cleanup-gexp _) ;; Force file names to be decoded as UTF-8. See ;; . (setenv "GUIX_LOCPATH" - #+(file-append glibc-utf8-locales "/lib/locale")) + #+(file-append + (libc-utf8-locales-for-target (%current-system)) + "/lib/locale")) (setlocale LC_CTYPE "en_US.utf8") (delete-file-recursively "/tmp") (delete-file-recursively "/var/run") diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 82c6940780..dc001fdef6 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -63,7 +63,9 @@ (define-module (gnu services base) #:use-module (gnu packages bash) #:use-module ((gnu packages base) #:select (coreutils glibc glibc/hurd - glibc-utf8-locales make-glibc-utf8-locales + glibc-utf8-locales + libc-utf8-locales-for-target + make-glibc-utf8-locales tar canonical-package)) #:use-module ((gnu packages compression) #:select (gzip)) #:use-module (gnu packages fonts) @@ -2147,7 +2149,8 @@ (define (guix-publish-shepherd-service config) ;; nars for packages that contain UTF-8 file names such ;; as 'nss-certs'. See . (list (string-append "GUIX_LOCPATH=" - #$glibc-utf8-locales "/lib/locale") + #$(libc-utf8-locales-for-target) + "/lib/locale") "LC_ALL=en_US.utf8") #:log-file "/var/log/guix-publish.log")) (endpoints #~(let ((ai (false-if-exception diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm index fe602efb99..389903451a 100644 --- a/gnu/services/guix.scm +++ b/gnu/services/guix.scm @@ -23,7 +23,7 @@ (define-module (gnu services guix) #:use-module (guix records) #:use-module (guix packages) #:use-module ((gnu packages base) - #:select (glibc-utf8-locales)) + #:select (libc-utf8-locales-for-target)) #:use-module (gnu packages admin) #:use-module (gnu packages databases) #:use-module (gnu packages web) @@ -381,7 +381,8 @@ (define (guix-build-coordinator-shepherd-services config) #:pid-file-timeout 60 #:environment-variables `(,(string-append - "GUIX_LOCPATH=" #$glibc-utf8-locales "/lib/locale") + "GUIX_LOCPATH=" + #$(libc-utf8-locales-for-target) "/lib/locale") "LC_ALL=en_US.utf8" "PATH=/run/current-system/profile/bin" ; for hooks #$@extra-environment-variables) @@ -508,7 +509,8 @@ (define (guix-build-coordinator-agent-shepherd-services config) #:user #$user #:environment-variables `(,(string-append - "GUIX_LOCPATH=" #$glibc-utf8-locales "/lib/locale") + "GUIX_LOCPATH=" + #$(libc-utf8-locales-for-target) "/lib/locale") ;; XDG_CACHE_HOME is used by Guix when caching narinfo files "XDG_CACHE_HOME=/var/cache/guix-build-coordinator-agent" "LC_ALL=en_US.utf8") @@ -600,7 +602,8 @@ (define (guix-build-coordinator-queue-builds-shepherd-services config) #:user #$user #:environment-variables `(,(string-append - "GUIX_LOCPATH=" #$glibc-utf8-locales "/lib/locale") + "GUIX_LOCPATH=" + #$(libc-utf8-locales-for-target) "/lib/locale") "LC_ALL=en_US.utf8") #:log-file "/var/log/guix-build-coordinator/queue-builds.log")))) (stop #~(make-kill-destructor)) @@ -712,7 +715,8 @@ (define (guix-data-service-shepherd-services config) #:pid-file "/var/run/guix-data-service/pid" #:environment-variables `(,(string-append - "GUIX_LOCPATH=" #$glibc-utf8-locales "/lib/locale") + "GUIX_LOCPATH=" + #$(libc-utf8-locales-for-target) "/lib/locale") "LC_ALL=en_US.UTF-8") #:log-file "/var/log/guix-data-service/web.log")) (stop #~(make-kill-destructor))) @@ -733,7 +737,8 @@ (define (guix-data-service-shepherd-services config) `("HOME=/var/lib/guix-data-service" "GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt" ,(string-append - "GUIX_LOCPATH=" #$glibc-utf8-locales "/lib/locale") + "GUIX_LOCPATH=" + #$(libc-utf8-locales-for-target) "/lib/locale") "LC_ALL=en_US.UTF-8") #:log-file "/var/log/guix-data-service/process-jobs.log")) (stop #~(make-kill-destructor)))))) @@ -989,7 +994,8 @@ (define (nar-herder-shepherd-services config) #:pid-file "/var/run/nar-herder/pid" #:environment-variables `(,(string-append - "GUIX_LOCPATH=" #$glibc-utf8-locales "/lib/locale") + "GUIX_LOCPATH=" + #$(libc-utf8-locales-for-target) "/lib/locale") "LC_ALL=en_US.utf8" #$@extra-environment-variables) #:log-file "/var/log/nar-herder/server.log")) @@ -1108,7 +1114,8 @@ (define (bffe-shepherd-services config) #:directory "/var/lib/bffe" #:environment-variables `(,(string-append - "GUIX_LOCPATH=" #$glibc-utf8-locales "/lib/locale") + "GUIX_LOCPATH=" + #$(libc-utf8-locales-for-target) "/lib/locale") "LC_ALL=en_US.utf8" #$@extra-environment-variables) #:log-file "/var/log/bffe/server.log")) diff --git a/gnu/services/web.scm b/gnu/services/web.scm index 818226a4f7..023b187cb0 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -1498,7 +1498,8 @@ (define (anonip-shepherd-service config) '#$(optional anonip-configuration-regex "--regex")) ;; Run in a UTF-8 locale #:environment-variables - (list (string-append "GUIX_LOCPATH=" #$glibc-utf8-locales + (list (string-append "GUIX_LOCPATH=" + #$(libc-utf8-locales-for-target) "/lib/locale") "LC_ALL=en_US.utf8"))) @@ -1976,7 +1977,8 @@ (define %mumi-worker-log "/var/log/mumi.worker.log") (define (mumi-shepherd-services config) (define environment #~(list "LC_ALL=en_US.utf8" - (string-append "GUIX_LOCPATH=" #$glibc-utf8-locales + (string-append "GUIX_LOCPATH=" + #$(libc-utf8-locales-for-target) "/lib/locale"))) (match config diff --git a/gnu/system/image.scm b/gnu/system/image.scm index a990c4f861..b825892232 100644 --- a/gnu/system/image.scm +++ b/gnu/system/image.scm @@ -466,7 +466,9 @@ (define* (system-disk-image image ;; Allow non-ASCII file names--e.g., 'nss-certs'--to be ;; decoded. (setenv "GUIX_LOCPATH" - #+(file-append glibc-utf8-locales "/lib/locale")) + #+(file-append (libc-utf8-locales-for-target + (%current-system)) + "/lib/locale")) (setlocale LC_ALL "en_US.utf8") (initializer image-root @@ -633,7 +635,8 @@ (define* (system-iso9660-image image ;; Allow non-ASCII file names--e.g., 'nss-certs'--to be decoded. (setenv "GUIX_LOCPATH" - #+(file-append glibc-utf8-locales "/lib/locale")) + #+(file-append (libc-utf8-locales-for-target (%current-system)) + "/lib/locale")) (setlocale LC_ALL "en_US.utf8") @@ -737,7 +740,8 @@ (define* (system-docker-image image ;; Allow non-ASCII file names--e.g., 'nss-certs'--to be decoded. (setenv "GUIX_LOCPATH" - #+(file-append glibc-utf8-locales "/lib/locale")) + #+(file-append (libc-utf8-locales-for-target (%current-system)) + "/lib/locale")) (setlocale LC_ALL "en_US.utf8") (set-path-environment-variable "PATH" '("bin" "sbin") '(#+tar)) @@ -816,7 +820,8 @@ (define* (system-tarball-image image ;; Allow non-ASCII file names--e.g., 'nss-certs'--to be decoded. (setenv "GUIX_LOCPATH" - #+(file-append glibc-utf8-locales "/lib/locale")) + #+(file-append (libc-utf8-locales-for-target (%current-system)) + "/lib/locale")) (setlocale LC_ALL "en_US.utf8") (let ((image-root (string-append (getcwd) "/tmp-root")) diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 28161de153..336d13bd07 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -454,7 +454,7 @@ (define* (%installation-services #:key (system (or (and=> (service gc-root-service-type (append (list bare-bones-os - glibc-utf8-locales + (libc-utf8-locales-for-target system) texinfo guile-3.0) %default-locale-libcs))) diff --git a/guix/packages.scm b/guix/packages.scm index e2e82692ad..b768dddb5f 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -866,7 +866,11 @@ (define (%standard-patch-inputs) ("lzip" ,(ref '(gnu packages compression) 'lzip)) ("unzip" ,(ref '(gnu packages compression) 'unzip)) ("patch" ,(ref '(gnu packages base) 'patch)) - ("locales" ,(ref '(gnu packages base) 'glibc-utf8-locales))))) + ("locales" + ,(parameterize ((%current-target-system #f)) + (canonical + ((module-ref (resolve-interface '(gnu packages base)) + 'libc-utf8-locales-for-target)))))))) (define (default-guile) "Return the default Guile package used to run the build code of diff --git a/guix/profiles.scm b/guix/profiles.scm index 5d2fb8dc64..ce2f8337bf 100644 --- a/guix/profiles.scm +++ b/guix/profiles.scm @@ -1000,8 +1000,9 @@ (define* (info-dir-file manifest #:optional system) (module-ref (resolve-interface '(gnu packages texinfo)) 'texinfo)) (define gzip ;lazy reference (module-ref (resolve-interface '(gnu packages compression)) 'gzip)) - (define glibc-utf8-locales ;lazy reference - (module-ref (resolve-interface '(gnu packages base)) 'glibc-utf8-locales)) + (define libc-utf8-locales-for-target ;lazy reference + (module-ref (resolve-interface '(gnu packages base)) + 'libc-utf8-locales-for-target)) (define build (with-imported-modules '((guix build utils)) @@ -1043,7 +1044,8 @@ (define* (info-dir-file manifest #:optional system) (setenv "PATH" (string-append #+gzip "/bin")) ;for info.gz files (setenv "GUIX_LOCPATH" - #+(file-append glibc-utf8-locales "/lib/locale")) + #+(file-append (libc-utf8-locales-for-target system) + "/lib/locale")) (mkdir-p (string-append #$output "/share/info")) (exit (every install-info @@ -1124,8 +1126,9 @@ (define* (ca-certificate-bundle manifest #:optional system) ;; See ;; for a discussion. - (define glibc-utf8-locales ;lazy reference - (module-ref (resolve-interface '(gnu packages base)) 'glibc-utf8-locales)) + (define libc-utf8-locales-for-target ;lazy reference + (module-ref (resolve-interface '(gnu packages base)) + 'libc-utf8-locales-for-target)) (define build (with-imported-modules '((guix build utils)) @@ -1159,9 +1162,11 @@ (define* (ca-certificate-bundle manifest #:optional system) ;; Some file names in the NSS certificates are UTF-8 encoded so ;; install a UTF-8 locale. (setenv "LOCPATH" - (string-append #+glibc-utf8-locales "/lib/locale/" + (string-append #+(libc-utf8-locales-for-target system) + "/lib/locale/" #+(version-major+minor - (package-version glibc-utf8-locales)))) + (package-version + (libc-utf8-locales-for-target system))))) (setlocale LC_ALL "en_US.utf8") (match (append-map ca-files '#$(manifest-inputs manifest)) @@ -1999,19 +2004,21 @@ (define* (profile-derivation manifest (and (derivation? drv) (gexp-input drv))) extras)) - (define glibc-utf8-locales ;lazy reference + (define libc-utf8-locales-for-target ;lazy reference (module-ref (resolve-interface '(gnu packages base)) - 'glibc-utf8-locales)) + 'libc-utf8-locales-for-target)) (define set-utf8-locale ;; Some file names (e.g., in 'nss-certs') are UTF-8 encoded so ;; install a UTF-8 locale. - #~(begin - (setenv "LOCPATH" - #$(file-append glibc-utf8-locales "/lib/locale/" - (version-major+minor - (package-version glibc-utf8-locales)))) - (setlocale LC_ALL "en_US.utf8"))) + (let ((locales (libc-utf8-locales-for-target + (or system (%current-system))))) + #~(begin + (setenv "LOCPATH" + #$(file-append locales "/lib/locale/" + (version-major+minor + (package-version locales)))) + (setlocale LC_ALL "en_US.utf8")))) (define builder (with-imported-modules '((guix build profiles) diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm index bdbea49910..8071840de1 100644 --- a/guix/scripts/pack.scm +++ b/guix/scripts/pack.scm @@ -137,7 +137,8 @@ (define (store-database items) ;; Make sure non-ASCII file names are properly handled. (setenv "GUIX_LOCPATH" - #+(file-append glibc-utf8-locales "/lib/locale")) + #+(file-append (libc-utf8-locales-for-target (%current-system)) + "/lib/locale")) (setlocale LC_ALL "en_US.utf8") (sql-schema #$schema) @@ -209,7 +210,10 @@ (define (set-utf8-locale profile) (profile-locales? profile)) #~(begin (setenv "GUIX_LOCPATH" - #+(file-append glibc-utf8-locales "/lib/locale")) + #+(file-append (let-system (system target) + (libc-utf8-locales-for-target + (or target system))) + "/lib/locale")) (setlocale LC_ALL "en_US.utf8")) #~(setenv "GUIX_LOCPATH" "unset for tests"))) diff --git a/guix/self.scm b/guix/self.scm index a1f235659d..f378548959 100644 --- a/guix/self.scm +++ b/guix/self.scm @@ -73,7 +73,10 @@ (define %packages ("po4a" . ,(ref 'gettext 'po4a)) ("gettext-minimal" . ,(ref 'gettext 'gettext-minimal)) ("gcc-toolchain" . ,(ref 'commencement 'gcc-toolchain)) - ("glibc-utf8-locales" . ,(ref 'base 'glibc-utf8-locales)) + ("glibc-utf8-locales" . ,(delay + ((module-ref (resolve-interface + '(gnu packages base)) + 'libc-utf8-locales-for-target)))) ("graphviz" . ,(ref 'graphviz 'graphviz-minimal)) ("font-ghostscript" . ,(ref 'ghostscript 'font-ghostscript)) ("texinfo" . ,(ref 'texinfo 'texinfo))))) diff --git a/tests/pack.scm b/tests/pack.scm index 8fdaed0168..ac78817a70 100644 --- a/tests/pack.scm +++ b/tests/pack.scm @@ -30,7 +30,7 @@ (define-module (test-pack) #:use-module (guix modules) #:use-module (guix utils) #:use-module (gnu packages) - #:use-module ((gnu packages base) #:select (glibc-utf8-locales)) + #:use-module ((gnu packages base) #:select (libc-utf8-locales-for-target)) #:use-module (gnu packages bootstrap) #:use-module ((gnu packages package-management) #:select (rpm)) #:use-module ((gnu packages compression) #:select (squashfs-tools)) @@ -197,8 +197,9 @@ (define rpm-for-tests ;; Make sure non-ASCII file names are properly ;; handled. (setenv "GUIX_LOCPATH" - #+(file-append glibc-utf8-locales - "/lib/locale")) + #+(file-append + (libc-utf8-locales-for-target) + "/lib/locale")) (setlocale LC_ALL "en_US.utf8") (mkdir #$output) diff --git a/tests/profiles.scm b/tests/profiles.scm index 9c419ada93..ddd6d74f3b 100644 --- a/tests/profiles.scm +++ b/tests/profiles.scm @@ -463,7 +463,7 @@ (define glibc (target -> "arm-linux-gnueabihf") (grep (package->cross-derivation packages:grep target)) (sed (package->cross-derivation packages:sed target)) - (locales (package->derivation packages:glibc-utf8-locales)) + (locales (package->derivation (packages:libc-utf8-locales-for-target))) (drv (profile-derivation manifest #:hooks '() #:locales? #t @@ -482,7 +482,7 @@ (define glibc (derivation-file-name grep)) (string=? (find-input packages:sed) (derivation-file-name sed)) - (string=? (find-input packages:glibc-utf8-locales) + (string=? (find-input (packages:libc-utf8-locales-for-target)) (derivation-file-name locales)))))) (test-assert "package->manifest-entry defaults to \"out\"" -- 2.41.0 From unknown Mon Aug 11 19:06:06 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67507] [PATCH v2 0/2] Using the right locales on GNU/Hurd Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Nov 2023 17:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67507 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 67507@debbugs.gnu.org Received: via spool by 67507-submit@debbugs.gnu.org id=B67507.170127965921105 (code B ref 67507); Wed, 29 Nov 2023 17:41:02 +0000 Received: (at 67507) by debbugs.gnu.org; 29 Nov 2023 17:40:59 +0000 Received: from localhost ([127.0.0.1]:51029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8OYU-0005UJ-Iz for submit@debbugs.gnu.org; Wed, 29 Nov 2023 12:40:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8OYR-0005U3-P0 for 67507@debbugs.gnu.org; Wed, 29 Nov 2023 12:40:57 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8OYD-0002Ul-CC; Wed, 29 Nov 2023 12:40:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=06vd2yX5fQHhMdTDlCPw4Ie5BLf5c6yQ7WQ5AIpGqrE=; b=PdKXwLxnDVLeVfimDxrW Y2XkndS3lR4YUAM7An+raPnFWtRxChhGDhnqiRXviEvGmShsVgdNvHeQuESPSXEDUB+mnwF+4NI2V 4urF5aRNY/Q52uDEPuHrsCbN2Y9exweUBzsenFb0kmFeyPmCvA3MaElX5Tdg8znBmF5uxb6laDNmk TfaotSkq7GE+GSf+j2FDuG6+KLPT8zc4EWAis+otqve8BAB2Li2avrKJsHeOQsxiycGWq90MydjKb xk6eZ8g8FXZPG0oyC8jQtVCRVUdKNVVgDmJ/k+hCbp90THQP0uPVvNQOepvlWvUC+j7c45W77AeG7 nICU0xIa2z25ZA==; From: Janneke Nieuwenhuizen In-Reply-To: ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 29 Nov 2023 16:44:49 +0100") Organization: AvatarAcademy.nl References: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> X-Url: http://AvatarAcademy.nl Date: Wed, 29 Nov 2023 18:39:56 +0100 Message-ID: <87wmu0bgr7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.1 (--) 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: -3.1 (---) Ludovic Court=C3=A8s writes: Hi! This looks great...but I've added your patches to the bottom of hurd-team, and also added a HACK commit with --8<---------------cut here---------------start------------->8--- diff --git a/build-aux/compile-as-derivation.scm b/build-aux/compile-as-der= ivation.scm index d945a8c79c..3bc4509f7a 100644 --- a/build-aux/compile-as-derivation.scm +++ b/build-aux/compile-as-derivation.scm @@ -51,7 +51,8 @@ (mlet* %store-monad ((source (interned-file source "guix-source" #:select? git? #:recursive? #t)) - (drv (build source #:pull-version 1))) + (drv (build source #:pull-version 1 + #:system "i586-gnu"))) (mbegin %store-monad (show-what-to-build* (list drv)) (built-derivations (list drv)) --8<---------------cut here---------------end--------------->8--- ...but running `make as-derivation' gives --8<---------------cut here---------------start------------->8--- $ make as-derivation Building Guix in Guix... warning: 'nix-server-socket' is deprecated, use 'store-connection-socket' i= nstead warning: 'nix-server-major-version' is deprecated, use 'store-connection-ma= jor-version' instead warning: 'nix-server-minor-version' is deprecated, use 'store-connection-mi= nor-version' instead Computing Guix derivation for 'i586-gnu'... |process 7189 acquired build sl= ot '/var/guix/offload/kluit.dezyne.org:10022/0' \normalized load on machine 'kluit.dezyne.org' is 0.91 waiting for locks or build slots... |process 7189 acquired build slot '/var/guix/offload/kluit.dezyne.org:10022= /0' \normalized load on machine 'kluit.dezyne.org' is 0.64 \guix offload: sending 0 store items (0 MiB) to 'kluit.dezyne.org'... offloading '/gnu/store/3hc9fardc4pwmcjh6x5x6mi1yicvy861-glibc-utf8-locales-= 2.37.drv' to 'kluit.dezyne.org'... @ build-remote /gnu/store/3hc9fardc4pwmcjh6x5x6mi1yicvy861-glibc-utf8-local= es-2.37.drv kluit.dezyne.org retrieving 1 store item from 'kluit.dezyne.org'... -importing file or directory '/gnu/store/30knn5niz8j43aqly8qy4k20755n92kv-g= libc-utf8-locales-2.37'... guix offload: error: corrupt input while restoring '/gnu/store/30knn5niz8j4= 3aqly8qy4k20755n92kv-glibc-utf8-locales-2.37' from # Backtrace: cannot build derivation `/gnu/store/2d6gh47cnnsv8zf5dvznlsszai4ry5qc-guile-= 3.0.9.drv': 1 dependencies couldn't be built 16 (primitive-load "/gnu/store/9glf45m6x8icvia8421jz5gapxkgr3zi-c= ompute-guix-derivation") In ice-9/eval.scm: 155:9 15 (_ _) 159:9 14 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(# ?) ?= ) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?)) In ice-9/boot-9.scm: 152:2 13 (with-fluid* _ _ _) 152:2 12 (with-fluid* _ _ _) In ./guix/store.scm: 2168:24 11 (run-with-store # # ?) In ./guix/self.scm: 1354:2 10 (_ #) In ./guix/packages.scm: 2033:17 9 (_ #) In ./guix/store.scm: 2168:24 8 (run-with-store # # ?) 1996:8 7 (_ #) 2040:38 6 (_ #) In ./guix/grafts.scm: 323:16 5 (graft-derivation # # ?) 285:4 4 (_ #) 173:4 3 (non-self-references # #= ?) 175:20 2 (_ #t) In ./guix/store.scm: 1417:15 1 (_ # ("/gnu/store/2d6gh4= 7cnnsv8zf5dvznlsszai4ry5qc-guile-3.0.9.?") ?) 1417:15 0 (loop #f) ./guix/store.scm:1417:15: In procedure loop: ERROR: 1. &store-protocol-error: message: "build of `/gnu/store/2d6gh47cnnsv8zf5dvznlsszai4ry5qc-guile= -3.0.9.drv' failed" status: 1 error: You found a bug: the program '/gnu/store/9glf45m6x8icvia8421jz5gapxk= gr3zi-compute-guix-derivation' failed to compute the derivation for Guix (version: "20231129.17"; system: = "i586-gnu"; host version: "1.4.0-13.e863274"; pull-version: 1). Please report the COMPLETE output above by email to . make: *** [Makefile:7125: as-derivation] Error 1 [2]18:23:55 janneke@drakenpad:~/src/guix/hurd-team [env] --8<---------------cut here---------------end--------------->8--- What am I missing? (Thanks a lot for looking into this and working on my patches!) Greetings, Janneke --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com From unknown Mon Aug 11 19:06:06 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67507] [PATCH v2 0/2] Using the right locales on GNU/Hurd Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Nov 2023 21:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67507 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Janneke Nieuwenhuizen Cc: 67507@debbugs.gnu.org Received: via spool by 67507-submit@debbugs.gnu.org id=B67507.170138061714178 (code B ref 67507); Thu, 30 Nov 2023 21:44:01 +0000 Received: (at 67507) by debbugs.gnu.org; 30 Nov 2023 21:43:37 +0000 Received: from localhost ([127.0.0.1]:54609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8ooq-0003gb-Oy for submit@debbugs.gnu.org; Thu, 30 Nov 2023 16:43:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8oop-0003gO-43 for 67507@debbugs.gnu.org; Thu, 30 Nov 2023 16:43:35 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8oob-0001p4-2O; Thu, 30 Nov 2023 16:43:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=45h6UYBT7wxGj6Px4Ox87ui9z+WnRuoEQoNoMdSWXzA=; b=e9Y2us7RrMabVSblLATl kLU+V+JkmfK3qttkrUtp06igXOXr2ScdmKDueWM2QCmXyeVugnVBiPIFwU9nFBkPqlvp9jgxd8N5/ z5FfOB0LvNMQMOUyLccadV1C5gkwo23UOoJ5LM6WgfJm4+Jo7Pipqac+8MaJyERX5uD6wiSh5HV61 tj8phpHJBPAU3fpsmcS7w7NsIw0x3WFCvRkFU8E57oiChVuk0HYdAuhE5vWhd3tRZTZ4+tk3HlMVL rMM9ArHllB3NYZrwIQ2H+Ky8fzL2GoaPjCEtz9JHtgbxnHq50kaPWqSy0t8h3TpX43n6/sQMumI/T hxEw8wcAVggw7g==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87wmu0bgr7.fsf@gnu.org> (Janneke Nieuwenhuizen's message of "Wed, 29 Nov 2023 18:39:56 +0100") References: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> <87wmu0bgr7.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?UTF-8?Q?D=C3=A9cadi?= 10 Frimaire an 232 de la =?UTF-8?Q?R=C3=A9volution,?= jour de la Pioche 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: Thu, 30 Nov 2023 22:43:18 +0100 Message-ID: <87zfyulxxl.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.1 (--) 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: -3.1 (---) Hello! Janneke Nieuwenhuizen skribis: > $ make as-derivation > Building Guix in Guix... > warning: 'nix-server-socket' is deprecated, use 'store-connection-socket'= instead > warning: 'nix-server-major-version' is deprecated, use 'store-connection-= major-version' instead > warning: 'nix-server-minor-version' is deprecated, use 'store-connection-= minor-version' instead > Computing Guix derivation for 'i586-gnu'... |process 7189 acquired build = slot '/var/guix/offload/kluit.dezyne.org:10022/0' > \normalized load on machine 'kluit.dezyne.org' is 0.91 > waiting for locks or build slots... > |process 7189 acquired build slot '/var/guix/offload/kluit.dezyne.org:100= 22/0' > \normalized load on machine 'kluit.dezyne.org' is 0.64 > \guix offload: sending 0 store items (0 MiB) to 'kluit.dezyne.org'... > offloading '/gnu/store/3hc9fardc4pwmcjh6x5x6mi1yicvy861-glibc-utf8-locale= s-2.37.drv' to 'kluit.dezyne.org'... > @ build-remote /gnu/store/3hc9fardc4pwmcjh6x5x6mi1yicvy861-glibc-utf8-loc= ales-2.37.drv kluit.dezyne.org > retrieving 1 store item from 'kluit.dezyne.org'... > -importing file or directory '/gnu/store/30knn5niz8j43aqly8qy4k20755n92kv= -glibc-utf8-locales-2.37'... > guix offload: error: corrupt input while restoring '/gnu/store/30knn5niz8= j43aqly8qy4k20755n92kv-glibc-utf8-locales-2. [...] > 1. &store-protocol-error: > message: "build of `/gnu/store/2d6gh47cnnsv8zf5dvznlsszai4ry5qc-gui= le-3.0.9.drv' failed" > status: 1 This looks like an offloading issue. What happens if you do this beforehand: guix build /gnu/store/2d6gh47cnnsv8zf5dvznlsszai4ry5qc-guile-3.0.9.drv ? (Note that I tested on =E2=80=98master=E2=80=99 though, so I=E2=80=99m not = sure if there are relevant differences between the two branches; I guess I should know better=E2=80=A6) Thanks for testing! Ludo=E2=80=99. From unknown Mon Aug 11 19:06:06 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67507] [PATCH v2 0/2] Using the right locales on GNU/Hurd Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Dec 2023 19:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67507 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 67507@debbugs.gnu.org X-Debbugs-Original-Cc: 67507@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170145727725812 (code B ref -1); Fri, 01 Dec 2023 19:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Dec 2023 19:01:17 +0000 Received: from localhost ([127.0.0.1]:56073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r98lI-0006iG-M4 for submit@debbugs.gnu.org; Fri, 01 Dec 2023 14:01:16 -0500 Received: from lists.gnu.org ([2001:470:142::17]:60114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r98lG-0006hu-PU for submit@debbugs.gnu.org; Fri, 01 Dec 2023 14:01:15 -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 1r98l1-0002Y7-VP for guix-patches@gnu.org; Fri, 01 Dec 2023 14:00:59 -0500 Received: from mira.cbaines.net ([212.71.252.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r98l0-00081C-5D; Fri, 01 Dec 2023 14:00:59 -0500 Received: from localhost (unknown [217.155.61.229]) by mira.cbaines.net (Postfix) with ESMTPSA id CD25027BBE2; Fri, 1 Dec 2023 19:00:55 +0000 (GMT) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 7e6fce7e; Fri, 1 Dec 2023 19:00:55 +0000 (UTC) References: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> User-agent: mu4e 1.10.7; emacs 29.1 From: Christopher Baines Date: Fri, 01 Dec 2023 18:42:07 +0000 In-reply-to: Message-ID: <8734wllpcr.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) 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: -0.1 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > This is an updated version of Janneke's patches > in combined with > Christopher's patch from . > Team work! > > This should fix the infamous dependency cycle introduced > in 95ea1277ae2ebd278bdb51a7887f5ba1116fbc64 *and* ensure > the right version of glibc locale data is used throughout. These changes look good to me. For the data service instances, it would be good to fix the infinite loop issue sooner rather than later. For affected revisions, I think the data service is effectively waiting until the relevant processes run out of memory and crash, and this is slowing down processing revisions. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmVqLWRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XfC+xAAkWHffQKCcae3MzcbXLGHgEv6o5qgBcGo 142nUWV+3GRfDjriKlzA8EiOncjRiAuTNzDfnz/DZivVZyXwZnM52W9+kA3DyUbE bZXpVnbMuLpy5oUqiwRZzl4//v0sSaA3tG4/aeaI+Tusf3+8dda9IG/pmkRCPP8B 454gsf5euQoE7cNpytW1qoXYT41O5cWrTa0ZBUhK5Dk7qZTJQaKapbrRbAGs3nVd ltmtChe9zom7hoE2gGRXn5ai3sMWJJqb483cNCpuIk9iAlOB3ysDKnHQp8UxXdCw jL1Odyly+ckJP7INp/4mLXQViPa0iFNMxjsb2LotmhzjSmyA7xBUhSMprVpsqNn+ b0ZiMltUDpwcalVr/+ByyUeNNmRtVoY5/XypzK8KNvs4L20UytZZ4lc4Y1Z3iRu9 u0Hazn7Z/SG5zHR/aQqdKxnToNq8dOBcY5Mdc/xnuG07yQAN9bX9Ojt36Pa4LfrE UGiZftAv3fnBUe1zHpnCwiEkK80zmyWpW90+jzmirHIvVibYXOfavWf3HiStwNOZ LFjsGC5GV2WgO7cFF55f/tmUqY0rWs8KuOnC9q/84jUgxt6w6/uDpOv/W5nyMaol TAp6StBLJbnAJ+w4NioGxyq3uZ4tgcX2uRTYyBDZ7TZ9zMXISWeojeNQi4/F0yyP gY7NERRQyEw= =J9C9 -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Aug 11 19:06:06 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67507] [PATCH v2 0/2] Using the right locales on GNU/Hurd Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Dec 2023 19:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67507 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 67507@debbugs.gnu.org Received: via spool by 67507-submit@debbugs.gnu.org id=B67507.170146022531537 (code B ref 67507); Fri, 01 Dec 2023 19:51:02 +0000 Received: (at 67507) by debbugs.gnu.org; 1 Dec 2023 19:50:25 +0000 Received: from localhost ([127.0.0.1]:56114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r99Wq-0008Ca-L8 for submit@debbugs.gnu.org; Fri, 01 Dec 2023 14:50:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r99Wm-0008CJ-LM for 67507@debbugs.gnu.org; Fri, 01 Dec 2023 14:50:22 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r99WV-00015Z-6X; Fri, 01 Dec 2023 14:50:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=71n1yWQbJJs7e7Mv4RGFTaqtCIzHed2IbocO/A/9X7I=; b=hlkb7DIfatCBHvEJwZ0O /ugJxE88Q3if1eFzK0sLAjLV/ZBQOKTo3tZTln22g8+/QF4IU5HV9yQsF/I0seJ3uhVnZAWDtie/q RwxEa1uErkEV49N9FNVF/5cG95DG+QlVYTeUAPlvk3SgI7URRPos4Kx/sGLxSRMtn040bunx2KHUx mTUEIqY89x8+/VhMMS8LQxCcRBSzloBR2hWtcgmXdzE+E7H5Tyi0s14s5NCa45PTHjWWHxHv+tKth ptL6E1vLN5FscYQCrNOLR9GRZPUXXFs6gNK+Naqw9EcgUwFLreoI4/XtPA1MyNmm8MHcfm7eQBzwa Nf6fBAweCL//wA==; From: Janneke Nieuwenhuizen In-Reply-To: <87zfyulxxl.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 30 Nov 2023 22:43:18 +0100") Organization: AvatarAcademy.nl References: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> <87wmu0bgr7.fsf@gnu.org> <87zfyulxxl.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Fri, 01 Dec 2023 20:49:44 +0100 Message-ID: <87msutbt47.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.1 (--) 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: -3.1 (---) Ludovic Court=C3=A8s writes: Hi! > Janneke Nieuwenhuizen skribis: > >> $ make as-derivation >> Building Guix in Guix... >> warning: 'nix-server-socket' is deprecated, use 'store-connection-socket= ' instead >> warning: 'nix-server-major-version' is deprecated, use 'store-connection= -major-version' instead >> warning: 'nix-server-minor-version' is deprecated, use 'store-connection= -minor-version' instead >> Computing Guix derivation for 'i586-gnu'... |process 7189 acquired build= slot '/var/guix/offload/kluit.dezyne.org:10022/0' >> \normalized load on machine 'kluit.dezyne.org' is 0.91 >> waiting for locks or build slots... >> |process 7189 acquired build slot '/var/guix/offload/kluit.dezyne.org:10= 022/0' >> \normalized load on machine 'kluit.dezyne.org' is 0.64 >> \guix offload: sending 0 store items (0 MiB) to 'kluit.dezyne.org'... >> offloading '/gnu/store/3hc9fardc4pwmcjh6x5x6mi1yicvy861-glibc-utf8-local= es-2.37.drv' to 'kluit.dezyne.org'... >> @ build-remote /gnu/store/3hc9fardc4pwmcjh6x5x6mi1yicvy861-glibc-utf8-lo= cales-2.37.drv kluit.dezyne.org >> retrieving 1 store item from 'kluit.dezyne.org'... >> -importing file or directory '/gnu/store/30knn5niz8j43aqly8qy4k20755n92k= v-glibc-utf8-locales-2.37'... >> guix offload: error: corrupt input while restoring '/gnu/store/30knn5niz= 8j43aqly8qy4k20755n92kv-glibc-utf8-locales-2. > [...] > >> 1. &store-protocol-error: >> message: "build of `/gnu/store/2d6gh47cnnsv8zf5dvznlsszai4ry5qc-gu= ile-3.0.9.drv' failed" >> status: 1 > > This looks like an offloading issue. Yes, somehow I didn't have the correct chilhurd signging-key registered. > (Note that I tested on =E2=80=98master=E2=80=99 though, so I=E2=80=99m no= t sure if there are > relevant differences between the two branches; I guess I should know > better=E2=80=A6) > > Thanks for testing! So, I created a new VM (needed to create yet another guix package update commit on hurd-team to avoid the circular dependency thing), and (with my curl fix from yesterday), now "guix shell -D guix" works again; and without any glibc-2.35 afaics (there's only one x86_64-linux glibc-2.35 in the hurd's store, I guess that's to be expected). I also tested on hurd-team using the `make as-derivation' trick with #:system "i586-gnu" in compile-as-derivation.scm, which now fails with --8<---------------cut here---------------start------------->8--- offloading '/gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.1.16= .drv' to 'kluit.dezyne.org'... @ build-remote /gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.1= .16.drv kluit.dezyne.org Backtrace: In ice-9/boot-9.scm: 160: 10 [catch #t # ...] In unknown file: ?: 9 [apply-smob/1 #] In ice-9/boot-9.scm: 66: 8 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 7 [eval # #] In ice-9/boot-9.scm: 2412: 6 [save-module-excursion #] 4089: 5 [#] 1734: 4 [%start-stack load-stack ...] 1739: 3 [#] In unknown file: ?: 2 [primitive-load "/gnu/store/dljmqd3db20j9z9bbqlha71p3jzj7cvk-bash-m= inimal-5.1.16-builder"] In ice-9/eval.scm: 432: 1 [eval # ()] In unknown file: ?: 0 [setlocale 6 "en_US.utf8"] ERROR: In procedure setlocale: ERROR: In procedure setlocale: Invalid argument builder for `/gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.1.1= 6.drv' failed with exit code 1 derivation '/gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.1.16= .drv' offloaded to 'kluit.dezyne.org' failed: build of `/gnu/store/qy6l0gjj= pc40frz57fv08shpwj4pssfd-bash-minimal-5.1.16.drv' failed --8<---------------cut here---------------end--------------->8--- Not sure where that comes from or if that's a problem Greetings, Janneke --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com From unknown Mon Aug 11 19:06:06 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christopher Baines Subject: bug#67507: closed (Re: [bug#67507] [PATCH v2 0/2] Using the right locales on GNU/Hurd) Message-ID: References: <87o7f8g7ed.fsf@gnu.org> <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> X-Gnu-PR-Message: they-closed 67507 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 67507@debbugs.gnu.org Date: Sat, 02 Dec 2023 11:41:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1701517262-6601-1" This is a multi-part message in MIME format... ------------=_1701517262-6601-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #67507: [PATCH] packages: Use glibc-utf8-locales/hurd in %standard-patch-in= puts. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 67507@debbugs.gnu.org. --=20 67507: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67507 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1701517262-6601-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 67507-done) by debbugs.gnu.org; 2 Dec 2023 11:40:13 +0000 Received: from localhost ([127.0.0.1]:56826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9OM1-0001hA-7H for submit@debbugs.gnu.org; Sat, 02 Dec 2023 06:40:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9OLz-0001gp-5k for 67507-done@debbugs.gnu.org; Sat, 02 Dec 2023 06:40:12 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r9OLk-00043H-5C; Sat, 02 Dec 2023 06:39:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=pW+r3ekkgjknvpbuCnCq1grM13If9okUEs2oTJ4rmi0=; b=ORlYrEvI4+mCrtnZways AIx7C80UZD/yL3vxi5PeGVDgi2uFyg2fci3PKwzb2n5lV/vhD5Zh2p/mBoyHYGlTTWNr+VnTNuFkM QF6bYayEsw7qMLwnkkRzFnxyCC9GOMNzYcekYl3JV5tPXuOLsJnVDsfLQqHkiGPcmB99u3ATZ9U9F AoRdFWLADfOciMvjW73qmhFeDnfCQBDrHtzCP2bhZReDwBD6UwfRg0C7WsLvNNpM9q0pn5TIKPLu9 65PuzF5bptfep7wXQfcPpMvKzRKbRu7dtNkObpinL24Zsnp7Hg3s6hF7fBXuRZF5hN3Bjm+k0rjpb IAlVgj3W3G5GZg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Janneke Nieuwenhuizen , Christopher Baines Subject: Re: [bug#67507] [PATCH v2 0/2] Using the right locales on GNU/Hurd In-Reply-To: <87msutbt47.fsf@gnu.org> (Janneke Nieuwenhuizen's message of "Fri, 01 Dec 2023 20:49:44 +0100") References: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> <87wmu0bgr7.fsf@gnu.org> <87zfyulxxl.fsf@gnu.org> <87msutbt47.fsf@gnu.org> Date: Sat, 02 Dec 2023 12:39:54 +0100 Message-ID: <87o7f8g7ed.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67507-done Cc: 67507-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: -3.3 (---) Hi, Janneke Nieuwenhuizen skribis: > So, I created a new VM (needed to create yet another guix package update > commit on hurd-team to avoid the circular dependency thing), and (with > my curl fix from yesterday), now "guix shell -D guix" works again; and > without any glibc-2.35 afaics (there's only one x86_64-linux glibc-2.35 > in the hurd's store, I guess that's to be expected). Good. > I also tested on hurd-team using the `make as-derivation' trick with > #:system "i586-gnu" in compile-as-derivation.scm, which now fails with > > offloading '/gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.1.= 16.drv' to 'kluit.dezyne.org'... > @ build-remote /gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5= .1.16.drv kluit.dezyne.org > Backtrace: > In ice-9/boot-9.scm: > 160: 10 [catch #t # ...] > In unknown file: > ?: 9 [apply-smob/1 #] > In ice-9/boot-9.scm: > 66: 8 [call-with-prompt prompt0 ...] > In ice-9/eval.scm: > 432: 7 [eval # #] > In ice-9/boot-9.scm: > 2412: 6 [save-module-excursion #] > 4089: 5 [#] > 1734: 4 [%start-stack load-stack ...] > 1739: 3 [#] > In unknown file: > ?: 2 [primitive-load "/gnu/store/dljmqd3db20j9z9bbqlha71p3jzj7cvk-bash= -minimal-5.1.16-builder"] > In ice-9/eval.scm: > 432: 1 [eval # ()] > In unknown file: > ?: 0 [setlocale 6 "en_US.utf8"] > > ERROR: In procedure setlocale: > ERROR: In procedure setlocale: Invalid argument > builder for `/gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.1= .16.drv' failed with exit code 1 It builds for me now on =E2=80=98master=E2=80=99: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build bash-minimal -s i586-gnu --no-grafts /gnu/store/0iw3v18ar8vy1yknnf84lv0jzmq6gjhm-bash-minimal-5.1.16-doc /gnu/store/1gsf6zrl3fmbrip98nsqpkjykfhahmvd-bash-minimal-5.1.16 $ git log |head -1 commit aeb494322ca9dec4a4d66a7d063239c8536bd538 --8<---------------cut here---------------end--------------->8--- \o/ Christopher Baines skribis: > These changes look good to me. > > For the data service instances, it would be good to fix the infinite > loop issue sooner rather than later. For affected revisions, I think the > data service is effectively waiting until the relevant processes run out > of memory and crash, and this is slowing down processing revisions. Yeah. Pushed as b0715d7cd2a74bc231751f8afc9dffb2047501ac. Let=E2=80=99s do some more testing from here and see how it goes. Thanks! Ludo=E2=80=99. ------------=_1701517262-6601-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Nov 2023 11:34:05 +0000 Received: from localhost ([127.0.0.1]:45564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wLs-0003DM-Pe for submit@debbugs.gnu.org; Tue, 28 Nov 2023 06:34:05 -0500 Received: from lists.gnu.org ([2001:470:142::17]:42946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wLr-0003Cs-GU for submit@debbugs.gnu.org; Tue, 28 Nov 2023 06:34:03 -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 1r7wLd-0004mE-HB for guix-patches@gnu.org; Tue, 28 Nov 2023 06:33:50 -0500 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7wLb-000791-UV for guix-patches@gnu.org; Tue, 28 Nov 2023 06:33:49 -0500 Received: from localhost (unknown [217.155.61.229]) by mira.cbaines.net (Postfix) with ESMTPSA id 400AC27BBE2 for ; Tue, 28 Nov 2023 11:33:42 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 5e9dd6bb for ; Tue, 28 Nov 2023 11:33:41 +0000 (UTC) From: Christopher Baines To: guix-patches@gnu.org Subject: [PATCH] packages: Use glibc-utf8-locales/hurd in %standard-patch-inputs. Date: Tue, 28 Nov 2023 11:33:41 +0000 Message-ID: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Debbugs-Cc: Christopher Baines , Josselin Poiret , Ludovic Courtès , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit 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: -0.1 (/) When targeting the hurd. This is a follow up to 95ea1277ae2ebd278bdb51a7887f5ba1116fbc64 that prevents an infinite loop when trying to compute the derivation for guix for the hurd. * guix/packages.scm (%standard-patch-inputs): Use glibc-utf8-locales/hurd when targeting the hurd. Change-Id: I8cdc2d9c28677000290ca1b31f580c4d3043f1ef --- guix/packages.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/guix/packages.scm b/guix/packages.scm index e2e82692ad..f4aa0e78fa 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -866,7 +866,10 @@ (define (%standard-patch-inputs) ("lzip" ,(ref '(gnu packages compression) 'lzip)) ("unzip" ,(ref '(gnu packages compression) 'unzip)) ("patch" ,(ref '(gnu packages base) 'patch)) - ("locales" ,(ref '(gnu packages base) 'glibc-utf8-locales))))) + ("locales" ,(ref '(gnu packages base) + (if (target-hurd?) + 'glibc-utf8-locales/hurd + 'glibc-utf8-locales)))))) (define (default-guile) "Return the default Guile package used to run the build code of base-commit: 62376e3eb67644454bc655bed56be4be965bd13e -- 2.41.0 ------------=_1701517262-6601-1-- From unknown Mon Aug 11 19:06:06 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67507] [PATCH v2 0/2] Using the right locales on GNU/Hurd Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 Dec 2023 14:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67507 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Christopher Baines , 67507-done@debbugs.gnu.org Received: via spool by 67507-done@debbugs.gnu.org id=D67507.170152793412340 (code D ref 67507); Sat, 02 Dec 2023 14:39:02 +0000 Received: (at 67507-done) by debbugs.gnu.org; 2 Dec 2023 14:38:54 +0000 Received: from localhost ([127.0.0.1]:56983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9R8w-0003Cx-2n for submit@debbugs.gnu.org; Sat, 02 Dec 2023 09:38:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9R8t-0003Ck-AR for 67507-done@debbugs.gnu.org; Sat, 02 Dec 2023 09:38:53 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r9R8e-0004B6-1O; Sat, 02 Dec 2023 09:38:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=jZPGLfl3DTBjFQbSsZMSxvPxrGPGuq1gxWtlRXcMegY=; b=GwYvODVtMwbbRC/R0J2I D+8FVfMVGiC/ENe2fUtQveU8cES6dOpbrH6eGj9N+pQVHcGq0avYaq+T12OkIBTfss83Ytdn546kh 0VBVoUKuPhXt5ZhaOUxlWyrvGm020evbGGq0JRUviIDZeOJsrUNJ7fFAazvVyDlnqmuu57Xg2Eu2c TXiBeONvHSsEtvvuvdJpql+zlRXmpVZwvi+zliYquR+sqSqh7waAcOr3VOCwg/bDShDU4Yq/krzGw Vh4FtpcCURMw/+oJNsYtDZiJQb+3Vxt7L1i1+IpjJwM4IqQI8UfExiGdw98ELJzSygzuVBEJ3HksG GKIlAj6MlhDssw==; From: Janneke Nieuwenhuizen In-Reply-To: <87o7f8g7ed.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 02 Dec 2023 12:39:54 +0100") Organization: AvatarAcademy.nl References: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> <87wmu0bgr7.fsf@gnu.org> <87zfyulxxl.fsf@gnu.org> <87msutbt47.fsf@gnu.org> <87o7f8g7ed.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Sat, 02 Dec 2023 15:38:31 +0100 Message-ID: <87cyvobrfc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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: -3.3 (---) Ludovic Court=C3=A8s writes: Hi, > Janneke Nieuwenhuizen skribis: > >> I also tested on hurd-team using the `make as-derivation' trick with >> #:system "i586-gnu" in compile-as-derivation.scm, which now fails with [..] >> ERROR: In procedure setlocale: >> ERROR: In procedure setlocale: Invalid argument >> builder for `/gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.= 1.16.drv' failed with exit code 1 > > It builds for me now on =E2=80=98master=E2=80=99: > > $ ./pre-inst-env guix build bash-minimal -s i586-gnu --no-grafts > /gnu/store/0iw3v18ar8vy1yknnf84lv0jzmq6gjhm-bash-minimal-5.1.16-doc > /gnu/store/1gsf6zrl3fmbrip98nsqpkjykfhahmvd-bash-minimal-5.1.16 > $ git log |head -1 > commit aeb494322ca9dec4a4d66a7d063239c8536bd538 > > \o/ Yeah, for me too; it's the grafting that seems to be implicit in `make as-derivation'...so maybe that's not a great way to test this? > Christopher Baines skribis: > >> These changes look good to me. >> >> For the data service instances, it would be good to fix the infinite >> loop issue sooner rather than later. For affected revisions, I think the >> data service is effectively waiting until the relevant processes run out >> of memory and crash, and this is slowing down processing revisions. > > Yeah. > > Pushed as b0715d7cd2a74bc231751f8afc9dffb2047501ac. > > Let=E2=80=99s do some more testing from here and see how it goes. Great, thanks all! For `guix shell -D guix' to work with this (i.e., not hang resolving the circular dependency), I updated the guix package once again. Does hurd-packages need to be enabled again at https://ci.guix.gnu.org/? Greetings, Janneke --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com From unknown Mon Aug 11 19:06:06 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67507] [PATCH v2 0/2] Using the right locales on GNU/Hurd Resent-From: itd Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Dec 2023 19:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67507 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Janneke Nieuwenhuizen , Christopher Baines Cc: 67507@debbugs.gnu.org Received: via spool by 67507-submit@debbugs.gnu.org id=B67507.1701718516470 (code B ref 67507); Mon, 04 Dec 2023 19:36:02 +0000 Received: (at 67507) by debbugs.gnu.org; 4 Dec 2023 19:35:16 +0000 Received: from localhost ([127.0.0.1]:35723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAEiq-00007W-0X for submit@debbugs.gnu.org; Mon, 04 Dec 2023 14:35:16 -0500 Received: from mailout2.rbg.tum.de ([131.159.0.202]:44139) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAEio-000076-1S for 67507@debbugs.gnu.org; Mon, 04 Dec 2023 14:35:14 -0500 Received: from mailrelay1.rbg.tum.de (mailrelay1.in.tum.de [IPv6:2a09:80c0:254::14]) by mailout2.rbg.tum.de (Postfix) with ESMTPS id 0A8AA4C02D5; Mon, 4 Dec 2023 20:34:57 +0100 (CET) Received: by mailrelay1.rbg.tum.de (Postfix, from userid 112) id 05F65CB; Mon, 4 Dec 2023 20:34:57 +0100 (CET) Received: from mailrelay1.rbg.tum.de (localhost [127.0.0.1]) by mailrelay1.rbg.tum.de (Postfix) with ESMTP id BB6CD28B; Mon, 4 Dec 2023 20:34:48 +0100 (CET) Received: from mail.net.in.tum.de (mail.net.in.tum.de [131.159.15.233]) by mailrelay1.rbg.tum.de (Postfix) with ESMTP id B4A1230; Mon, 4 Dec 2023 20:34:48 +0100 (CET) Received: from borderline.net.in.tum.de (borderline.net.in.tum.de [131.159.20.209]) by mail.net.in.tum.de (Postfix) with ESMTPS id 937661C2C425; Mon, 4 Dec 2023 20:34:48 +0100 (CET) From: itd In-Reply-To: <87o7f8g7ed.fsf@gnu.org> References: <5bf71a8fa945627d1610b772a04ac65031e8d6b6.1701171221.git.mail@cbaines.net> <87wmu0bgr7.fsf@gnu.org> <87zfyulxxl.fsf@gnu.org> <87msutbt47.fsf@gnu.org> <87o7f8g7ed.fsf@gnu.org> Date: Mon, 04 Dec 2023 20:34:47 +0100 Message-ID: <87h6kxvk14.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) 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 (-) Dear all, Ludovic Court=C3=A8s writes: > Let=E2=80=99s do some more testing from here and see how it goes. there was some discussion on IRC which, I think, is related to this issue: - https://logs.guix.gnu.org/guix/2023-12-03.log#104632 - https://logs.guix.gnu.org/guix/2023-12-04.log#165604 In short, people observe issues such as: "package glibc-locales@2.37 does not support x86_64-linux". There is also #67586 describing this. I am sharing it in case it is related and with the hope that it helps. Best regards itd