From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 5OECKjHSTWEwMAAAgWs5BA (envelope-from ) for ; Fri, 24 Sep 2021 15:27:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oKsCJTHSTWEDBgAAbx9fmQ (envelope-from ) for ; Fri, 24 Sep 2021 13:27:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8B11431D8E for ; Fri, 24 Sep 2021 15:27:11 +0200 (CEST) Received: from localhost ([::1]:58994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTlEL-00034N-Sg for larch@yhetil.org; Fri, 24 Sep 2021 09:27:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTlEE-00033r-71 for bug-guix@gnu.org; Fri, 24 Sep 2021 09:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45406) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTlED-0001b3-Vk for bug-guix@gnu.org; Fri, 24 Sep 2021 09:27:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mTlED-0004q1-Ra for bug-guix@gnu.org; Fri, 24 Sep 2021 09:27:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50774: guix-install.sh outputs invalid utf-8 characters Resent-From: "Dhruvin Gandhi" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 24 Sep 2021 13:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50774 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Maxime Devos" , 50774@debbugs.gnu.org Received: via spool by 50774-submit@debbugs.gnu.org id=B50774.163249000318554 (code B ref 50774); Fri, 24 Sep 2021 13:27:01 +0000 Received: (at 50774) by debbugs.gnu.org; 24 Sep 2021 13:26:43 +0000 Received: from localhost ([127.0.0.1]:56952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTlDu-0004pB-RK for submit@debbugs.gnu.org; Fri, 24 Sep 2021 09:26:43 -0400 Received: from out2.migadu.com ([188.165.223.204]:52408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTlDr-0004ox-Bq for 50774@debbugs.gnu.org; Fri, 24 Sep 2021 09:26:41 -0400 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dhruvin.dev; s=key1; t=1632489997; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SpxnSB8larzy+xljkej1+EmERkdbn4hhoRiVqbq7njU=; b=S+20laVZxq6u2qZoGrjq/BjdzCAjAJsF7/yuUZ5u0lnx/hcoCqYp0cWikySG209QAKh1FW ZgyG49EotI4qS6qrJR6id23124n1Cbriy5uBgxNhg1YtRLV/IZNfra10id4CUib/r1scG+ 3w82vA07bG2/1/Zx+ysTTA+GSr3FTCc= Date: Fri, 24 Sep 2021 13:26:36 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. Message-ID: <535ff4127d154497cd86a360a451c18f@dhruvin.dev> In-Reply-To: References: <9ad36c2d706f529b13cf88c8edd2b6ab452e790b.camel@telenet.be> <207471bf572b2ba6ea861878fe6f74fe@dhruvin.dev> <9e6bf24ef91fc1ffb23569af3256d9e1@dhruvin.dev> 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: "Dhruvin Gandhi" From: "Dhruvin Gandhi" via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632490032; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=SpxnSB8larzy+xljkej1+EmERkdbn4hhoRiVqbq7njU=; b=EdWqh8yfl2Q9yWy06ODIGX+SbhyzlFkQfV7yBKNoKi6E50Ouy5J66OdNvTwREFwkw/19uM ZQ6p7C+OmNxpIo72zpw4oYDz2Jc7boj/D81IKRXtqY+pype6foOaP/Ij5NLv4QvKg3cdpC MyLsrjoMMJC8O5vucbltKjOAQRkA9gYMvZe4v2g4Ob16QrS72MX9YDcjT3H7oa9Rf/gY1f f2+Nwe680bKjGuWjK+DqajIy/gEnBNRHZ3JMZvwrIJvPx+GvLzc9+Ee8eCdDGkGVYICIqw aF11pbIq3B4Ax2A7MvO//QTM93hvA8y+ojpa+momH9nfdKyWcChj3bbVZAmDbw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632490032; a=rsa-sha256; cv=none; b=oA2XJIYvhRijoNsKasfd5eT7fk8OU31fi5pkkUH3VDGQlMNoYyQf8hpGKssmTbQpm5SeGK ElH3tACODNqzqZIBo09XD/RnYWzaQEa8YJM3pZyFAoWTgjbkzgOmpQU2XcxYcq00veyXOF mtxwUqmdCbIG26sLIeG9URhbHHHyKpmsnxAx2s3ll9LtQeKcCoYafGdGT5WMSPhHHZ9iYO GNB5ELRhA8CWgCGeLtVg+24RvyLHK++vft/PZY2RBiKTGR0c7fhz1CgEmJqXl3ANK8qjF1 mxhUXq1IrdWUl4dGjERQkng75n0Dj7DBvzvTe1KIBxgRtOa58cMT1cD5nd/srA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dhruvin.dev header.s=key1 header.b=S+20laVZ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dhruvin.dev header.s=key1 header.b=S+20laVZ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 8B11431D8E X-Spam-Score: -3.29 X-Migadu-Scanner: scn1.migadu.com X-TUID: 25LPBTHoqSLv September 24, 2021 12:51 PM, "Maxime Devos" wrot= e:=0A=0A> Dhruvin Gandhi schreef op vr 24-09-2021 om 12:21 [+0000]:=0A> = =0A>> September 24, 2021 10:01 AM, "Maxime Devos" wrote:=0A>> =0A>> Dhruvin Gandhi via Bug reports for GNU Guix schreef o= p vr 24-09-2021 om 09:21 [+0000]:=0A>> =0A>>> I've recently submitted a p= atch to builds.sr.ht to support guix build=0A>>> image. While installing = guix binary on foreign distro via=0A>>> guix-install.sh, it appears that = the installer outputs invalid utf-8=0A>>> characters[1].=0A>>> =0A>>> Ref= erences:=0A>>> =0A>>> [1] https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches= /25167#=0A>> =0A>> Where is the invalid= UTF-8? Perhaps the ? in=0A>> =0A>> (guix-install log)=0A>> ...=0A>> gpg:= key 090B11993D9AEBB5: public key "Ludovic Court?s " import= ed=0A>> ...=0A>> =0A>> ?=0A>> =0A>> Greetings,=0A>> Maxime.=0A>> =0A>> He= llo Maxime,=0A>> =0A>> I ran a build job on builds.sr.ht [1]. Build logs = can be found=0A>> in artifacts section of the build job [1], i.e. here [2= ]. I ran=0A>> grep -axv '.*' to see which lines are offending a= nd I=0A>> only found the one you mentioned above.=0A> =0A> This seems lik= e a locale issue:=0A> =0A> $ env --ignore-environment LC_ALL=3Den_US.UTF-= 8 ~/.guix-profile/bin/gpg --dry-run --list-keys Ludovic=0A>> [...]=0A>> u= id [ expired] Ludovic Court=C3=A8s =0A>> [...]=0A> =0A> $ e= nv --ignore-environment ~/.guix-profile/bin/gpg --dry-run --list-keys Lud= ovic=0A>> [...]=0A>> uid [ expired] Ludovic Court?s =0A>> [= ...]=0A> =0A> Did you set LC_ALL to an UTF-8 locale before running guix-i= nstall.sh?=0A=0ANo=0A=0A> If not, the default ANSI_X3.4-1968 encoding is = used, which doesn't support the letter =C3=A8.=0A=0AI think this must be = it.=0A=0AIs defining LC_ALL=3Den_US.UTF-8 necessary before using the inst= aller? If yes, should we document=0Ait or maybe add it to the installer i= tself?