From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id e1q4JWyEVmJvSAEAgWs5BA (envelope-from ) for ; Wed, 13 Apr 2022 10:06:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IP5kImyEVmJnKAEA9RJhRA (envelope-from ) for ; Wed, 13 Apr 2022 10:06:04 +0200 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 3A2912097B for ; Wed, 13 Apr 2022 10:06:04 +0200 (CEST) Received: from localhost ([::1]:41834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neY0n-00006m-NX for larch@yhetil.org; Wed, 13 Apr 2022 04:06:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neXys-00006K-SW for bug-guix@gnu.org; Wed, 13 Apr 2022 04:04:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57611) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neXys-0007If-9H for bug-guix@gnu.org; Wed, 13 Apr 2022 04:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1neXys-0001A6-4y for bug-guix@gnu.org; Wed, 13 Apr 2022 04:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54893: guix-daemon, locale, LANG, and unicode in git tag names Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 13 Apr 2022 08:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54893 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Attila Lendvai Received: via spool by 54893-submit@debbugs.gnu.org id=B54893.16498369894395 (code B ref 54893); Wed, 13 Apr 2022 08:04:02 +0000 Received: (at 54893) by debbugs.gnu.org; 13 Apr 2022 08:03:09 +0000 Received: from localhost ([127.0.0.1]:51508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neXy1-00018p-DW for submit@debbugs.gnu.org; Wed, 13 Apr 2022 04:03:09 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:57392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neXxz-00018f-03 for 54893@debbugs.gnu.org; Wed, 13 Apr 2022 04:03:07 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id J8352700D4UW6Th068357y; Wed, 13 Apr 2022 10:03:05 +0200 Message-ID: <0ce6f8b91cdd2979ec7dc74fc8e4eef68d2c7e42.camel@telenet.be> From: Maxime Devos Date: Wed, 13 Apr 2022 10:03:00 +0200 In-Reply-To: <4sSjKaCcadx8brYQC5HZuP-SyMku3BlXRTZwaCUH13qSv01N33lk9vyUWzzE6R889ZuQRpI_6Pl4Q_51v8jMhUhwh6f9rly5h0EhlUqHG80=@lendvai.name> References: <4sSjKaCcadx8brYQC5HZuP-SyMku3BlXRTZwaCUH13qSv01N33lk9vyUWzzE6R889ZuQRpI_6Pl4Q_51v8jMhUhwh6f9rly5h0EhlUqHG80=@lendvai.name> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-LhtRt9IBVazSFzsGf6oA" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649836985; bh=paCXv4SHPExR4jfqCYHkB2exwQ8M6lEAGuF7vKE5Ge4=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=bcGraVDbcnUBYextOtIw7+yZiNVdTZvjXAQs9pR/SmC+LIH/fTiwKCkMpliBv16ZU wI152C55M3wKbNqL7XH2NPwtlW/amAXOE2rVzGwyEXzwYfrQNbe/6QQ+HFjK1L1tlB 4656FxYGDaaQo7B+KCA7cRfDZ4aHOSuyokGK2oaOFjRSHvRKQ0I3gFeOL70FOdxd76 cUMl+r93GsHIFpZlpkxTYk8GfjLyqbyhkmXsfCubHmURd9Zg6ZwAhG/qxcQC49cI0G oeB2cdKetYLAL682HI/peQuFR/v9UTZgEhnvLZaU5vMffOpdYOD827uZXkaq/uL4Ct UzMzuuFVj6jxw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 54893@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649837164; 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=paCXv4SHPExR4jfqCYHkB2exwQ8M6lEAGuF7vKE5Ge4=; b=r4JyjIgIAGjW7H95ztMUCRWgFwHqYORWqjGDLW7aKG0UbM4+BYYBqELIs8xHYEDsYsrQpb suKl1MIN7XRd2vowXY9OTQh8dcoBj9ldoha9ZvG2Lp3l+JVNu4mfZLif526KlnEXdk9nHb psrGoRgdrUfXn3qiHpbbkqvC9seSQE6E3FadYuHRSlcj7RKdoEVRpZHpkwq2sDSl0NBWvO 4CVuEC3BvcxUwL2/Jhj0vk/D49Rq4p6Uf1QEYiWSa4ukswi3AhnhGjLAoUQVnjYhxtfcwR x2Ts1BZfkVT4nt2yywlwZSlva+Qfg0p8Y3Vr7He6wJmWlHWnvzB+8YqsRSPD7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649837164; a=rsa-sha256; cv=none; b=HuGPGNPJbcwftvR3eeyA35Q9ON6lWTkSNZhygvIfSChu5STCvSiBkozbopLkOzbS8DfupY 9L5Td+bW5Aa2E8mJ2b+9N/dzMbxZpnpZDMt6tvQBNpSJYZ55rjsGHgza4PaUnHvTGoU9JJ Ze2MLc8DTUJ997C7IIWpovNPa6H1MrtJhPhWlamcT5s+yELROgmqFm8DKC4YxMNKM9/qHN bAxDdW7Fq4gz5Dm02y2+Hx7bkCGNU8fQ938wdHaEW+5EbNaVRDHKBjLGOvPuRSYSwJBIXN V/zl0exhSmDMgOijBuTHgjCEaahZTMvLfQ54e556AitjURfEmY0g/aezwsbwBg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=bcGraVDb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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" X-Migadu-Spam-Score: 3.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=bcGraVDb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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" X-Migadu-Queue-Id: 3A2912097B X-Spam-Score: 3.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: bhsMmNARoPGx --=-LhtRt9IBVazSFzsGf6oA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attila Lendvai schreef op wo 13-04-2022 om 07:51 [+0000]: > i don't understand why the setlocale call in gnu-build-system's > install-locale works, but my setlocale kludge in git-download doesn't. I don't expect /run/current-system/locale to exist inside the build container. Maybe try (setenv "GUIX_LOCPATH" #+(file-append glibc-locales "/lib/locale")) ;; for testing ((@ (guix build utils) invoke) #+(file-append coreutils "/bin/ls") (getenv "GUIX_LOCPATH")) instead? gnu-build-system has a (variant of) glibc-locales in its (implicit) inputs, so there GUIX_LOCPATH can be set to the /gnu/store/.../locales file name, in the 'set-paths' procedure. > i even tried to add glibc-locale as native-inputs to the package in quest= ion, but it didn't help. Building the package and downloading the source code are separate steps (derivations), they don't automatically have access to each other's inputs. Greetings, Maxime --=-LhtRt9IBVazSFzsGf6oA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlaDtBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7gpSAQC2M6xD9u+2sCiBZc/wUiCrsZ9o vg1DifyPkx7qhAJk5AEAoD+1AQf/O+jSTBqlH62NyS591T26MKnhQewpk+kLuAE= =LWfP -----END PGP SIGNATURE----- --=-LhtRt9IBVazSFzsGf6oA--