From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8A5cBG6lbGAsIAAAgWs5BA (envelope-from ) for ; Tue, 06 Apr 2021 20:16:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6FrOOW2lbGBuCAAAB5/wlQ (envelope-from ) for ; Tue, 06 Apr 2021 18:16: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 9229E24794 for ; Tue, 6 Apr 2021 20:16:13 +0200 (CEST) Received: from localhost ([::1]:42978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTqFI-0000Rs-LP for larch@yhetil.org; Tue, 06 Apr 2021 14:16:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTqEl-0000Qm-JZ for guix-devel@gnu.org; Tue, 06 Apr 2021 14:15:40 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:48750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTqER-00085W-SV for guix-devel@gnu.org; Tue, 06 Apr 2021 14:15:36 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 49ad861d; Tue, 6 Apr 2021 18:15:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=AHco7TxZoVcqmf81YbTP17Kua+19RuLjIyqPWFSSKTg=; b=eav7FGPICVk/ 1oM82iou4QSUxTEQ+Jr5kl/Q7bh8hcJHRS6u5JztEb2d3UK9DsOfHgb5ro9PCDqY KYnjw38xokHsQai3U5PmKK6WjoxjHrUCsZ1BNosA7k+u14Av0qQOG3c2zyf39Ltl m1RsP9DqaN/0DHUwrOnuACIkDLrzf3l/z8T8jfMI8ShG/GIZaROoFL4WWiI9cPEd kFHmsdLjre7byk4hCRzP5TMLIa2TePlv5gdzPCe/cwVmzfluqV9EIOjMxU55POnx zwMMRITVqeFGMP3/dgsgHkjKEXnV/4RGULhd5FLI1EJ2oyL9kxv7S2iJqVaemvcg pjd/OM5AdQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id e82deef4 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 6 Apr 2021 18:15:12 +0000 (UTC) Date: Tue, 06 Apr 2021 14:14:58 -0400 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----UV6LPI68JWDDBIRXOFUF8CVCG0N9WC" Content-Transfer-Encoding: 7bit Subject: Re: website: Building fails because of missing locales To: Luis Felipe , guix-devel From: Julien Lepiller Message-ID: Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617732973; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=f+iXlE04UO7f2LH6KUGAMVvyLYh/ZuSBEoSUunHmiJk=; b=FXyt4foAtdot8HSJuDb7oKyYMG6LIz2eumn/Ml2pQl0gJ1+A0RaoXYOiOrJ9XIwTn3EfqV BHGxjckbJLcTWrAa4NuXygZX5e67OxyHixXcEC8rvymcHUB+XxZYFmP4jd3dA3GUDa0Esr CVfVi/yRMgEIpa3zigXTV+qswa3Ky7oMqAtLdB2SHuGYKx1FIoaFExNrqoCL4zayepQMtL PnWbhc64NH++qyz7wqWbPCFhdMI6rCf89MtWbME3E+GQ/bzAO/Gpn+7gvuROSzUBEqjS6B qfifd7+MXF1VzWMTMNUPEqBkr7ZJyndL5OJ0x1DOJfUKJvynQs0boofXu3WRUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617732973; a=rsa-sha256; cv=none; b=u1y+kvVIVGWg9kklDVzKiZf2k9dNKo1O9NSVv0a8i+1Ogtl8C7sKqOeazleadh0hcd1dwF YHJ/gBp+AMUmZCEpctlUGm4GTxAbmpltSXblxqWHW//VDGYVoSMzu+hzVQKqpww8+ahauS dhC7bX2+0uiOEfjeBjX55XBHyRVLwA80uf+Oq4dqrk1IFNE5X9T2DmGWb1lv5SWlpJ9gNl 0vDQUMO4KHt0UPlrS/2NtM4DK56842JFORTtGR/7eM6wcWQOBfqZoj4hNlpXuL9lDnawRx TUQWpHg3XIyRy/tAEYS06T1wv0xYDprjdU/IQ41j0cm6J2dWzo8nZMZeQV1xgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=eav7FGPI; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: 0.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=eav7FGPI; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 9229E24794 X-Spam-Score: 0.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: rVW6qxZKXDqb ------UV6LPI68JWDDBIRXOFUF8CVCG0N9WC Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Oops, I happen to have an esperanto locale on my system, and berlin probabl= y has one too=2E That would explain why I was able to build the website, an= d why the website is updated=2E This is how I defined that locale: https://git=2Elepiller=2Eeu/system-conf= iguration/tree/-/modules/config/os=2Escm#L117 Weirdly, glibc-locales provides "eo" but not "eo=2Eutf8" Le 6 avril 2021 11:59:20 GMT-04:00, Luis Felipe a =C3=A9crit : >Hello, > >I updated my local copy of guix-artwork repository today and now >running "haunt build" fails with this message: > >=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85= =E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2= =98=85=E2=98=85=E2=98=85=E2=98=85 >Backtrace: >In ice-9/threads=2Escm: > 390:8 19 (_ _) >In ice-9/boot-9=2Escm: > 3223:13 18 (_) >In ice-9/threads=2Escm: > 390:8 17 (_ _) >In ice-9/boot-9=2Escm: > 3507:20 16 (_) > 2806:4 15 (save-module-excursion _) > 3527:26 14 (_) >In unknown file: > 13 (primitive-load-path "apps/base/data" #) >In ice-9/eval=2Escm: > 626:19 12 (_ #) > 173:55 11 (_ #) > 174:20 10 (_ #) > 177:32 9 (lp (# =E2=80=A6)) > 159:9 8 (_ #(# (G_ =E2=80= =A6) =E2=80=A6)) > 159:9 7 (_ #(# (G_ =E2=80= =A6) =E2=80=A6)) > 159:9 6 (_ #(# (G_ =E2=80= =A6) =E2=80=A6)) > 163:9 5 (_ #(# (G_ =E2=80= =A6) =E2=80=A6)) >In srfi/srfi-1=2Escm: > 586:29 4 (map1 ("de_DE" "en_US" "eo" "es_ES" "fr_FR" "ko_KR" # #)) > 586:29 3 (map1 ("en_US" "eo" "es_ES" "fr_FR" "ko_KR" "ru_RU" "=E2=80= =A6")) > 586:17 2 (map1 ("eo" "es_ES" "fr_FR" "ko_KR" "ru_RU" "zh_CN")) >In ice-9/eval=2Escm: > 619:8 1 (_ #(#(# # =E2=80= =A6) =E2=80=A6)) >In unknown file: > 0 (setlocale 6 "eo=2Eutf8") > >ERROR: In procedure setlocale: >In procedure setlocale: Argumento inv=C3=A1lido >=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85= =E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2= =98=85=E2=98=85=E2=98=85=E2=98=85 > >I see in the commit log that there's a new commit adding Esperanto to >the website translations, but I was surprised to see this error because >the website manifest=2Escm includes "glibc-locales" and I thought it >would provide "eo=2Eutf8" locale, but, apparently, it doesn't (see >"locale -a" output below)=2E > >Also, if I understand correctly, the package description for >"glibc-locales" says it provides more than 400 locales, but once >installed, I see less than 40: > >=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85= =E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2= =98=85=E2=98=85=E2=98=85=E2=98=85 >$ locale -a >C >ca_ES=2Eutf8 >cs_CZ=2Eutf8 >da_DK=2Eutf8 >de_DE=2Eutf8 >el_GR=2Eutf8 >en_AU=2Eutf8 >en_CA=2Eutf8 >en_GB=2Eutf8 >en_US=2Eutf8 >en_US=2EUTF-8 >es_AR=2Eutf8 >es_CL=2Eutf8 >es_CO=2Eutf8 >es_ES=2Eutf8 >es_MX=2Eutf8 >fi_FI=2Eutf8 >fr_BE=2Eutf8 >fr_CA=2Eutf8 >fr_CH=2Eutf8 >fr_FR=2Eutf8 >ga_IE=2Eutf8 >it_IT=2Eutf8 >ja_JP=2Eutf8 >ko_KR=2Eutf8 >nb_NO=2Eutf8 >nl_NL=2Eutf8 >pl_PL=2Eutf8 >POSIX >pt_PT=2Eutf8 >ro_RO=2Eutf8 >ru_RU=2Eutf8 >sv_SE=2Eutf8 >tr_TR=2Eutf8 >uk_UA=2Eutf8 >vi_VN=2Eutf8 >zh_CN=2Eutf8 >=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85= =E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2= =98=85=E2=98=85=E2=98=85=E2=98=85 > >I'm not sure what to do here=2E Maybe the use of "setlocale" should be >guarded against missing locales, but I'm also confused about the 400 >locales part, where's the rest? > >(I'm using Guix System 1148890) > > >--- >Luis Felipe L=C3=B3pez Acevedo >https://luis-felipe=2Egitlab=2Eio/ ------UV6LPI68JWDDBIRXOFUF8CVCG0N9WC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Oops, I happen to have an esperanto locale on my s= ystem, and berlin probably has one too=2E That would explain why I was able= to build the website, and why the website is updated=2E

This is how= I defined that locale: https://git=2Elepiller=2Eeu/s= ystem-configuration/tree/-/modules/config/os=2Escm#L117

Weirdly,= glibc-locales provides "eo" but not "eo=2Eutf8"

Le 6 avril 2021 11:59:20 GMT-04:00, Luis Felipe <luis=2Efelipe= =2Ela@protonmail=2Ecom> a =C3=A9crit :
Hello,

I updated my local copy of guix-artwor= k repository today and now running "haunt build" fails with this message:
=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98= =85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85= =E2=98=85=E2=98=85=E2=98=85=E2=98=85
Backtrace:
In ice-9/threads=2Esc= m:
390:8 19 (_ _)
In ice-9/boot-9=2Escm:
3223:13 18 (_)
I= n ice-9/threads=2Escm:
390:8 17 (_ _)
In ice-9/boot-9=2Escm:
= 3507:20 16 (_)
2806:4 15 (save-module-excursion _)
3527:26 14 (= _)
In unknown file:
13 (primitive-load-path "apps/base/data= " #<procedure 7fd2e=E2=80=A6>)
In ice-9/eval=2Escm:
626:19 1= 2 (_ #<directory (apps base data) 7fd2ec67e640>)
173:55 11 (_ #= <directory (apps base data) 7fd2ec67e640>)
174:20 10 (_ #<di= rectory (apps base data) 7fd2ec67e640>)
177:32 9 (lp (#<proced= ure 7fd2eaff9b40 at ice-9/eval=2Escm:297:=E2=80=A6> =E2=80=A6))
1= 59:9 8 (_ #(#<directory (apps base data) 7fd2ec67e640> (G_ =E2=80=A6= ) =E2=80=A6))
159:9 7 (_ #(#<directory (apps base data) 7fd2ec67= e640> (G_ =E2=80=A6) =E2=80=A6))
159:9 6 (_ #(#<directory (ap= ps base data) 7fd2ec67e640> (G_ =E2=80=A6) =E2=80=A6))
163:9 5 (= _ #(#<directory (apps base data) 7fd2ec67e640> (G_ =E2=80=A6) =E2=80= =A6))
In srfi/srfi-1=2Escm:
586:29 4 (map1 ("de_DE" "en_US" "eo" = "es_ES" "fr_FR" "ko_KR" # #))
586:29 3 (map1 ("en_US" "eo" "es_ES" "= fr_FR" "ko_KR" "ru_RU" "=E2=80=A6"))
586:17 2 (map1 ("eo" "es_ES" "f= r_FR" "ko_KR" "ru_RU" "zh_CN"))
In ice-9/eval=2Escm:
619:8 1 (_ = #(#(#<directory (apps base data) 7fd2ec67e640> # =E2=80=A6) =E2=80=A6= ))
In unknown file:
0 (setlocale 6 "eo=2Eutf8")

ERR= OR: In procedure setlocale:
In procedure setlocale: Argumento inv=C3=A1l= ido
=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2= =98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98= =85=E2=98=85=E2=98=85=E2=98=85=E2=98=85

I see in the commit log that= there's a new commit adding Esperanto to the website translations, but I w= as surprised to see this error because the website manifest=2Escm includes = "glibc-locales" and I thought it would provide "eo=2Eutf8" locale, but, app= arently, it doesn't (see "locale -a" output below)=2E

Also, if I und= erstand correctly, the package description for "glibc-locales" says it prov= ides more than 400 locales, but once installed, I see less than 40:

= =E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2= =98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98= =85=E2=98=85=E2=98=85=E2=98=85
$ locale -a
C
ca_ES=2Eutf8
cs_CZ= =2Eutf8
da_DK=2Eutf8
de_DE=2Eutf8
el_GR=2Eutf8
en_AU=2Eutf8
= en_CA=2Eutf8
en_GB=2Eutf8
en_US=2Eutf8
en_US=2EUTF-8
es_AR=2Eut= f8
es_CL=2Eutf8
es_CO=2Eutf8
es_ES=2Eutf8
es_MX=2Eutf8
fi_FI= =2Eutf8
fr_BE=2Eutf8
fr_CA=2Eutf8
fr_CH=2Eutf8
fr_FR=2Eutf8
= ga_IE=2Eutf8
it_IT=2Eutf8
ja_JP=2Eutf8
ko_KR=2Eutf8
nb_NO=2Eutf= 8
nl_NL=2Eutf8
pl_PL=2Eutf8
POSIX
pt_PT=2Eutf8
ro_RO=2Eutf8<= br>ru_RU=2Eutf8
sv_SE=2Eutf8
tr_TR=2Eutf8
uk_UA=2Eutf8
vi_VN=2E= utf8
zh_CN=2Eutf8
=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98= =85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85= =E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85=E2=98=85

I'm not sure = what to do here=2E Maybe the use of "setlocale" should be guarded against m= issing locales, but I'm also confused about the 400 locales part, where's t= he rest?

(I'm using Guix System 1148890)
Luis Felipe L=C3=B3pez A= cevedo
https://luis-felip= e=2Egitlab=2Eio/

------UV6LPI68JWDDBIRXOFUF8CVCG0N9WC--