From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wNqTJu6GYGJyAwAAbAwnHQ (envelope-from ) for ; Thu, 21 Apr 2022 00:19:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ELWlJu6GYGLhQwEA9RJhRA (envelope-from ) for ; Thu, 21 Apr 2022 00:19:26 +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 564B34014B for ; Thu, 21 Apr 2022 00:19:26 +0200 (CEST) Received: from localhost ([::1]:38832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhIfU-0002bw-Uf for larch@yhetil.org; Wed, 20 Apr 2022 18:19:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhIcE-0006Yq-AH for bug-guix@gnu.org; Wed, 20 Apr 2022 18:16:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53884) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhIcD-0005un-Vu for bug-guix@gnu.org; Wed, 20 Apr 2022 18:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhIcD-0006sj-Rw for bug-guix@gnu.org; Wed, 20 Apr 2022 18:16:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54893: guix-daemon, locale, LANG, and unicode in git tag names Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 20 Apr 2022 22:16:01 +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-done@debbugs.gnu.org id=D54893.165049294026406 (code D ref 54893); Wed, 20 Apr 2022 22:16:01 +0000 Received: (at 54893-done) by debbugs.gnu.org; 20 Apr 2022 22:15:40 +0000 Received: from localhost ([127.0.0.1]:47779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhIbs-0006rq-6D for submit@debbugs.gnu.org; Wed, 20 Apr 2022 18:15:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhIbq-0006ra-Gr for 54893-done@debbugs.gnu.org; Wed, 20 Apr 2022 18:15:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47394) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhIbk-0005sD-39; Wed, 20 Apr 2022 18:15:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=ao2OfGRk0SZj8CWa2wSRrNTe97Y+kVyw/yHC5xO5PrM=; b=fwJHN/Yz70a3jjr6sOFR QEycBZsBUzJr+Hoodk+7IzDkB5QRHmFVf4T9S1mXOVd7JPOSNL/tLijj4lKVOGOuI8DqqyVDGuMD6 jHYkowXxgoVOMe65HWqo+5vtbzTYVTYA6KpcktH1dz36KF0YS3zvih9nc29yUvPV3pthvGcdhu9pj ps+q+JzmPqlx+0xNS/XsNWa/bjuM2h2BUE4WrmLkUUcme8nhNWskNWGMbgqlC7pQ5A75Hn4wBOQCC K3LpEXei1jQHGjwCOLsDIGQ7ZRZdP4GS2giax05RZmnKwCSy38wzbOYwalGcdKyVd2J5C8iL75oN6 qaIuBV988/n/kw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:57343 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhIbi-0003fm-64; Wed, 20 Apr 2022 18:15:31 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20220419180954.9636-1-attila@lendvai.name> Date: Thu, 21 Apr 2022 00:15:28 +0200 In-Reply-To: <20220419180954.9636-1-attila@lendvai.name> (Attila Lendvai's message of "Tue, 19 Apr 2022 20:09:55 +0200") Message-ID: <87sfq7l7un.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-done@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=1650493166; 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: content-transfer-encoding:content-transfer-encoding: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=ao2OfGRk0SZj8CWa2wSRrNTe97Y+kVyw/yHC5xO5PrM=; b=T8tV4X8zLVIXySE/hgjkNMvBGFHmBQBbc11D9ajFI+r53KqnkILJ99wzkNLa9+wXeaqxRU yhhuUldwI9F3abzaAqYkjoXXREhyApmINSjRVP2TOWpRnOgecuXzJSnoRlBi6HwEfEb5Se BOq6WbjK9dJU0DpXU4vLHxtxHkPrT8HIqEXKur1n3JEV47oe8M1oxmCSIecNI6+c4N7LxP Xteqf/fTjBEPOGM9RqvibIVwE3BAQQQU41lNvcZ5D6K1fOLei13QIf1vas8j7roccGi1c6 ZMComzY4SXmKRwRtMtF5dtRiYa/GKvFUD2pMfxENizPW5DuqPVPyQftIrTkalg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650493166; a=rsa-sha256; cv=none; b=sP93SWvMB2NuEvAcm16wyQ6yrNtR7onC7HdHLlVKWIGQUtGItAXOCEq2P6+gNZmAovzUWl k1ZFvDS4DOuUgYC7C4eqrMt9syAI/m/Ji4jWnIlEH3IjtqdC2q6tl/GIUhu1dvnojEStIp FRThUIKcLpm9vP7FEjZi+xwyuTIfIJM+Xb+QoWu5yfXLG3bWwgDORpsoHmhL2tthh41uyN zyodaYhsDqSIPfk5yeAZN3Mqs1PiycFfDXJfi5uUvnNL/VIMjWy0vOWhGBN4GkLWB6wcdJ 5rmpRAwHDvw786w4FR7tP7XJHFPkFfHNrn+kA999UuvZwABwaKsM7jB+q9LgOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="fwJHN/Yz"; dmarc=pass (policy=none) header.from=gnu.org; 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.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="fwJHN/Yz"; dmarc=pass (policy=none) header.from=gnu.org; 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: 564B34014B X-Spam-Score: -3.94 X-Migadu-Scanner: scn1.migadu.com X-TUID: jI1U7YbBj/OA Attila Lendvai skribis: > Without this the git-fetch GEXP is run in an environment that uses ASCII > character encoding when strings are crossing the Guile - C boundary. It = means > that e.g. tag names that have Unicode chars in them will cause problems, > e.g. when walking and deleting the .git directory. > > An example in the wild: https://github.com/klauspost/pgzip/tags > > For more details see: https://issues.guix.gnu.org/54893 > > * guix/git-download.scm (git-fetch): Call setlocale to set it to en_US.ut= f8. I spoke a bit too fast and realized some adjustments were needed to avoid a circular dependency on i586-gnu. Pushed as 8852f911ff506dd50b714274ba0e2143f0285f78! Ludo=E2=80=99.