From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kLB5CaQsT2f2ZAEAqHPOHw:P1 (envelope-from ) for ; Tue, 03 Dec 2024 16:07:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kLB5CaQsT2f2ZAEAqHPOHw (envelope-from ) for ; Tue, 03 Dec 2024 17:07:00 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=TKDjgkrh; dkim=fail ("headers rsa verify failed") header.d=xn--no-cja.eu header.s=ds202402 header.b="Y KHG79k"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733242019; h=from:from:sender:sender:reply-to: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=G3jWDRslj7ZA2PgMj4xl+mobx3moo2c3FmrzVxKOnB8=; b=J/ge34X7S3IWWNnI4v0jYLEXr5NGG8i9mo5ODrTZB0KL9ml5Qqyz650JdK5448PppuIIZl 65o0D2Om/wYWIbR5IgkHMMzbAaXy5n9eyl/tMzI5hkPvYKKMJ6omJbKMzrPCaOQ0MVSG72 kCqHpepMX0lZ1asnsuaEa7j+s4/s7umVpN4rbRbPkDPJfmKccWy2e0TrvXl1t/aXyuAZwG rDWfIvClTIXXSne4/xSenqkWcHchDawlONs5hy/3xlCznx4lJP8346C06zikgceroh9fVH fz6VqQWr7rj1Qd/6GlTMUJLRFOlVxDFIbGGHpHMyRdjircdUYnU6qePrRKVIng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=TKDjgkrh; dkim=fail ("headers rsa verify failed") header.d=xn--no-cja.eu header.s=ds202402 header.b="Y KHG79k"; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733242019; a=rsa-sha256; cv=none; b=INzrKwPBbbj7KiZOK8uLT7gKA0tGJINIJTijXO4QL7Zh/oe7epCznQHI6slgr9FlGYIZhs DF2MBHSFHmSrpqrkCiU01R3hF7XulrB0BR70+gugiKs6tXybDnpwjECo1h+JCiBQnSwOdu 9Et37kMd1zRO4R+oWm44Cm2c50JLgkFasp05+xSCUMLLh3FKqcYX8v4NIJ1oNjJx/kpHz4 ZzyxkPWGW1Zkwgr3wq5XAFKWDMwv+xTGSAMSxUcU2vMF9ptwANYH5GhwgNPRouUXFpzQ1L vuolrdIsJTrqTjWTwDQwOZA7zp8fakj03rXXjMQfLb+JKgY/mJLyFoWnYuln8g== 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 E55C88D1A4 for ; Tue, 03 Dec 2024 17:06:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIVPu-0007Mx-UP; Tue, 03 Dec 2024 11:06:27 -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 1tIVPW-0007M0-J5 for bug-guix@gnu.org; Tue, 03 Dec 2024 11:06:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIVPW-00052j-7N for bug-guix@gnu.org; Tue, 03 Dec 2024 11:06:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=G3jWDRslj7ZA2PgMj4xl+mobx3moo2c3FmrzVxKOnB8=; b=TKDjgkrhjOnDApqDnvFEvuofCArY16YWr6DWnpNfWk7+ibAy2A2kgjQ97/CWwHS11HQWTUsmJH4IH1kpJYoo/gweHtXncj5Fe7JQ1aP26BScU4tQsmwEfcqsOztmpIslGpE3fDjBYH1A+jbBNR33X38HKONOhJezVwvAbZTY4Lq4IsTm+XqczH5eW9xu+PKthX3PqdY/VSDUAWClMewp83KnRfg6qmcfyuPbeKAKKEOkD2d9MyeevQl4ARco1bkdF4buawjIVs+CL5Txz6Gg7ULqGqs3sOJg3SUDA7UcygV+sCjnA/pz45ctcnTvg5Lbn8p/5ASB8S5YwXg/bwzKFQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIVPW-0006KE-1S for bug-guix@gnu.org; Tue, 03 Dec 2024 11:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#73751: [cuirass] channel-update-service fails trying to find key with accent in the name Resent-From: =?UTF-8?Q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 03 Dec 2024 16:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73751 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 73751@debbugs.gnu.org Received: via spool by 73751-submit@debbugs.gnu.org id=B73751.173324191524231 (code B ref 73751); Tue, 03 Dec 2024 16:06:02 +0000 Received: (at 73751) by debbugs.gnu.org; 3 Dec 2024 16:05:15 +0000 Received: from localhost ([127.0.0.1]:60913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIVOl-0006Ik-7G for submit@debbugs.gnu.org; Tue, 03 Dec 2024 11:05:15 -0500 Received: from smtp.domeneshop.no ([194.63.252.55]:33197) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIVOi-0006FI-9T for 73751@debbugs.gnu.org; Tue, 03 Dec 2024 11:05:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202402; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=G3jWDRslj7ZA2PgMj4xl+mobx3moo2c3FmrzVxKOnB8=; b=Y KHG79kSjx/MEF0eIEe3z999IKKcUWe5YxTmFoFUZKIUHIvsFYJpnpH/r63Etw11byHxu/EYIKuPGm BNqoKUaPI7uRlpeKCr3NyrddzoceArzy4N3gHQxk0IQ8S3I5hnSXSGL83KPpZP2r90AmIKrRCaAuz ZbiyNoeTxUEm4t34vYeUAVU9neZyWFpF+3bLlynWgB8eBtXZmliXBWTKuoqCaUuet7iUjZ7qMU7PR dgHmOgIwYO6egI8ak0unrRDxOQOBbyTKLTFv4BxlULanudqtelSgrrlCI333iZj6kCJ2okPl6wJFJ ZZYjAmHaGTTZYs5l5uRnKJsWUJ4u9hoRw==; Received: from smtp by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) id 1tIVMW-007AIy-2S; Tue, 03 Dec 2024 17:02:56 +0100 In-Reply-To: <8734jb94c9.fsf@gnu.org> References: <874j5iqthz.fsf@xn--no-cja.eu> <8734jb94c9.fsf@gnu.org> Date: Tue, 03 Dec 2024 17:04:12 +0100 Message-ID: <87wmggycqr.fsf@xn--no-cja.eu> 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: , Reply-to: =?UTF-8?Q?No=C3=A9?= Lopez From: =?UTF-8?Q?No=C3=A9?= Lopez via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -2.65 X-Spam-Score: -2.65 X-Migadu-Queue-Id: E55C88D1A4 X-TUID: RnpVHZCmLncH Hi, I was able to reproduce this from the cuirass checkout when unsetting LANG and that indeed seems to be issue, is there a reason why UTF-8 is not the default in shepherd/guile/cuirass? IMO it would be better to set it to the default to avoid future issues with other services. What do you think? The specification to reproduce: (list (specification (name 'bloup) (channels (cons (channel (name 'bloup) (url "https://framagit.org/nll/bloup.git") (branch "cuirass-bug") (introduction (make-channel-introduction "f627568549edd28c97dded5e5ec985cd11e95f58" (openpgp-fingerprint "5D54 CF25 57B2 38E8 8DC1 80A2 2D22 3241 0AB7 4043")))) %default-channels)))) Ludovic Court=C3=A8s writes: > Hi, > > No=C3=A9 Lopez skribis: > >> Cuirass is failing to fetch the channel, because of something with the >> key file: =C2=AB=C2=A02024-10-11 21:34:11 error: Git error while fetchin= g channels >> from https://framagit.org/nll/bloup.git >> https://git.savannah.gnu.org/git/guix.git: the path 'No?? Lopez.key' >> does not exist in the given tree=C2=A0=C2=BB > > This error comes from libgit2, and I suspect the reason is that libgit2 > interprets file names according to the current locale and =E2=80=98cuirass > register=E2=80=99 is not running in a UTF-8 locale. > > Could you check with this patch: > > diff --git a/gnu/services/cuirass.scm b/gnu/services/cuirass.scm > index 187766bc99..f9f6355b98 100644 > --- a/gnu/services/cuirass.scm > +++ b/gnu/services/cuirass.scm > @@ -184,7 +184,8 @@ (define (cuirass-shepherd-service config) > #$@extra-options) >=20=20 > #:environment-variables > - (list "GIT_SSL_CAINFO=3D/etc/ssl/certs/ca-certificates= .crt" > + (list "LC_ALL=3DC.UTF-8" > + "GIT_SSL_CAINFO=3D/etc/ssl/certs/ca-certificates= .crt" > (string-append "GIT_EXEC_PATH=3D" #$git > "/libexec/git-core")) >=20=20 > > Thanks, > Ludo=E2=80=99.