From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oOYwND/ip2AGoAAAgWs5BA (envelope-from ) for ; Fri, 21 May 2021 18:39:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IKzmLz/ip2AMFAAA1q6Kng (envelope-from ) for ; Fri, 21 May 2021 16:39:27 +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 576431EB60 for ; Fri, 21 May 2021 18:39:27 +0200 (CEST) Received: from localhost ([::1]:36882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lk8BK-0004bs-Cd for larch@yhetil.org; Fri, 21 May 2021 12:39:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk8Ab-0004a7-CJ for guix-devel@gnu.org; Fri, 21 May 2021 12:38:41 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:55368) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk8AY-0003DF-5a; Fri, 21 May 2021 12:38:41 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 5e7b7db2; Fri, 21 May 2021 16:38:32 +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:cc:from:message-id; s= dkim; bh=OKspbe9oVKBGL5Z624C1zSX0sO/oAs1KoJReLKpD2z4=; b=L/c1zL7 M/AEU4NxJCcbmzXEPYUeYXgVXxkfhoQg7deTyCcjisd/IeN9NBF9EqR3GUaIuEVW szzmtsDPeDf0CWneh7BD/by65KflZvPgEh9/neayXUF1ysTclqhLj122uzQke9dt rO+4SEy/UUUmYKN7sslWFUYzbMo+D+8ENLTJNeAP6FCTV9whRaigWQAHlWGtndHv wsVqGUYJKDuxYJlR2JyVYbgEtjGVkHPv7Mrx53ydlaNBBsQ1CZHcvKz5JdzhHaeO qA/ikmvRnPuu4+CX8EkkHFhJwee5x33bVirkJA5iV7Mq2kffY305/0lOKj29WbeX MvReeKdeEFvotqg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 21aa18bc (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 21 May 2021 16:38:32 +0000 (UTC) Date: Fri, 21 May 2021 12:38:26 -0400 User-Agent: K-9 Mail for Android In-Reply-To: References: <7J0Os8AqtTsZsgEUulhpYRPleaTDMYhVMegwvV0wAyWEiIC3qgMnFU-XqKWx7L7-lmruN9ZImzE4Kx7GMr9t-lT31jf_v9Mk2bYcrXBTCoY=@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----DFS97SPHVRN9I8NH5Y75WMLBJLZ3KK" Content-Transfer-Encoding: 7bit Subject: Re: website: A little help running the website locally To: guix-devel@gnu.org, Tissevert , Luis Felipe From: Julien Lepiller Message-ID: <1F2944B8-FB28-46EF-997A-3ADF9585AD1B@lepiller.eu> 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=ham 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: , Cc: guix-devel 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=1621615167; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=cG2tnpExfgjEjqZOZBGJ1N482Y2XLK8S9i5mAPXFd9Q=; b=apuasQAJ+CZkM2WzxfYj3USDcMe8dEcmuW+YcdXlgljWLnrlj7VU9XfFItKVOtX/Pknhdt De9C5v1GtXqI47b67vgWZXzMVbcvbhP3xS3LBvGxWfMfEhSCBn+AVPVlW/WT0vrOFp9ofd 7BQBy0frTvD3/ymARXceGWbC6Sdwksz/rPEmgGAyc5zW1YUKFUSM1Yi+U+CuSBNrhJuwgI 6SxyR6go9+yumUO2AoL/CVUMHDu640wmmW19alzCw74sS671sPHNdQuZuJqaMpMAuExQMP f64aFM0VMn8cQTPZ0xGfyQ8UxP+6Vnvw0toAmupftImi6Q1oXm+9WyVwR816ug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621615167; a=rsa-sha256; cv=none; b=ntoDcz42CHQi8Dx2puOstflWFMpi+IrMvnm7KWGKW84HOwMRQqFmV35jVSvZpIErbgQLrI d1Qj5/kQmdoK3+bz3Ftd3SFCeFDnkJ3bZbSgcdZSEe+DGu5lcb7mOPz6Dx2uVgQSdD7K7d eup7rV9zXtUNvY80KL4s2gI9xKWXaDNNjSOLv4X0+FIOWf2JjfiSS5J5YVNePebzPd/9cn uuCBDd20ZFRT6sF8evN9BieXJbhH1rpXY1cqmIq0rF0wQ5u4IsjQ01YI96sabc85jO0ncr rwv0XcdupvEBBJZSvD1Sz1Dt5/LTD0n3Ez34tQw3vmFOyip0Cpxmh4co5bVDUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b="L/c1zL7 "; 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-Spam-Score: 1.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b="L/c1zL7 "; 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: 576431EB60 X-Spam-Score: 1.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: btT+Vs1cJW3z ------DFS97SPHVRN9I8NH5Y75WMLBJLZ3KK Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Apart from breaking my system somewhat, I tried again, and I think you shou= ldn't pass -E GUIX_LOCPATH, because this will refer to something outside th= e environment=2E Instead, you should let the manifest set that for you=2E I= t will read po/LINGUAS to figure out which locales to bring in the environm= ent=2E Le 21 mai 2021 12:04:00 GMT-04:00, Tissevert = a =C3=A9crit : >Hi ! > >I'm afraid I saw your message too late because I have exactly the same >problems >you describe in https://issues=2Eguix=2Egnu=2Eorg/47623 which you've just >closed=2E > >I too have no ~/=2Eguix-profile/lib/locale but >~/=2Eguix-profile/lib/locales exists >and allows the build to complete=2E So I=C2=A0don't know but could this >~/=2Eguix-profile/lib/locale with no trailing 's' be a left-over from a >previous >version of some software that used to build it at that location or >something ? >My install of guix is pretty recent (~3 months)=2E > >>From what I understood from the original issue, I checked $GUIX_LOCPATH >and saw >it contained only my current system's, /run/current-system/locale, >which, when >shared in place of this hypothetical `locales?` in $HOME/=2Eguix-profile >also >allows haunt to build the site correctly (it produces something, >reports >success, and browsing what it serves looks like the official website)=2E > >Hope that helps : ) > >Tissevert > >Le Fri, May 21, 2021 at 01:53:43PM +0000, Luis Felipe a =C3=A9crit : >> Hi, >>=20 >> I've never been able to build and run the internationalized website >correctly following the instructions on the README=2E I even thought >there was a typo in the instructions >(https://issues=2Eguix=2Egnu=2Eorg/47623), but it seems there is actually= a >particular problem on my side that I don't know how to resolve=2E So I >could use a little help=2E >>=20 >> The problem seems to be that the instructions on the README expect a >"$HOME/=2Eguix-profile/lib/locale" directory to exist, but it doesn't >exist here=2E There is a "$HOME/=2Eguix-profile/lib/locales" directory >instead (note the plural name)=2E >>=20 >> I've tried building and running the website using the "locales" >directory to work around the issue=2E It used to build most of the time, >but with enconding issues=2E Running the website almost always failed >with some error about invalid arguments to "setlocale"), so I used >plane "haunt serve"=2E >>=20 >> Currently, though, using guix 1f68568 and guix website f7ca68f, >building fails for me everytime I run this: >>=20 >> =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 >> $ GUIX_WEB_SITE_LOCAL=3Dyes guix environment -C -m manifest=2Escm -E >GUIX_LOCPATH -E LANG --share=3D$HOME/=2Eguix-profile/lib/locales -E >GUIX_WEB_SITE_LOCAL --share=3D/tmp -- haunt build >> guile: warning: failed to install locale >> Backtrace: >> 2 (primitive-load >"/gnu/store/yzaxlqmiraznba4yf2cyqpyla9q?") >> In haunt/ui=2Escm: >> 131:2 1 (haunt-main _ "build") >> In unknown file: >> 0 (setlocale 6 "") >>=20 >> ERROR: In procedure setlocale: >> In procedure setlocale: Invalid argument >> =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 >>=20 >>=20 >> So I haven't been able to work much on the website for a long time=2E I >don't know what's going on=2E=2E=2E >>=20 >>=20 >> --- >> Luis Felipe L=C3=B3pez Acevedo >> https://luis-felipe=2Egitlab=2Eio/ >>=20 ------DFS97SPHVRN9I8NH5Y75WMLBJLZ3KK Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Apart from breaking my system somewhat, I tried ag= ain, and I think you shouldn't pass -E GUIX_LOCPATH, because this will refe= r to something outside the environment=2E Instead, you should let the manif= est set that for you=2E It will read po/LINGUAS to figure out which locales= to bring in the environment=2E

Le 21 mai= 2021 12:04:00 GMT-04:00, Tissevert <tissevert+guix@marvid=2Efr> a = =C3=A9crit :
Hi !

I'm afraid I saw your message too late b= ecause I have exactly the same problems
you describe in https://issues=2Eguix=2Egnu=2Eorg/47623= which you've just closed=2E

I too have no ~/=2Eguix-profile/lib= /locale but ~/=2Eguix-profile/lib/locales exists
and allows the build to= complete=2E So I don't know but could this
~/=2Eguix-profile/lib/= locale with no trailing 's' be a left-over from a previous
version of so= me software that used to build it at that location or something ?
My ins= tall of guix is pretty recent (~3 months)=2E

From what I understood = from the original issue, I checked $GUIX_LOCPATH and saw
it contained on= ly my current system's, /run/current-system/locale, which, when
shared i= n place of this hypothetical `locales?` in $HOME/=2Eguix-profile also
al= lows haunt to build the site correctly (it produces something, reports
s= uccess, and browsing what it serves looks like the official website)=2E
=
Hope that helps : )

Tissevert

Le Fri, May 21, 2021 at 01:= 53:43PM +0000, Luis Felipe a =C3=A9crit :
Hi,

I've never been able to build and run the int= ernationalized website correctly following the instructions on the README= =2E I even thought there was a typo in the instructions (https://issues=2Eguix=2Egnu=2Eorg/47623= ), but it seems there is actually a particular problem on my side that = I don't know how to resolve=2E So I could use a little help=2E

The p= roblem seems to be that the instructions on the README expect a "$HOME/=2Eg= uix-profile/lib/locale" directory to exist, but it doesn't exist here=2E Th= ere is a "$HOME/=2Eguix-profile/lib/locales" directory instead (note the pl= ural name)=2E

I've tried building and running the website using the = "locales" directory to work around the issue=2E It used to build most of th= e time, but with enconding issues=2E Running the website almost always fail= ed with some error about invalid arguments to "setlocale"), so I used plane= "haunt serve"=2E

Currently, though, using guix 1f68568 and guix web= site f7ca68f, building fails for me everytime I run this:

=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
$ GUIX_WEB_SITE_LOCAL=3Dyes guix environment -C -m= manifest=2Escm -E GUIX_LOCPATH -E LANG --share=3D$HOME/=2Eguix-profile/lib= /locales -E GUIX_WEB_SITE_LOCAL --share=3D/tmp -- haunt build
guile: war= ning: failed to install locale
Backtrace:
2 (primitive-loa= d "/gnu/store/yzaxlqmiraznba4yf2cyqpyla9q?")
In haunt/ui=2Escm:
1= 31:2 1 (haunt-main _ "build")
In unknown file:
0 (setloca= le 6 "")

ERROR: In procedure setlocale:
In procedure setlocale: I= nvalid argument
=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


So I haven't= been able to work much on the website for a long time=2E I don't know what= 's going on=2E=2E=2E
Luis Felipe L=C3=B3pez Acevedo
https://luis-felipe=2Egitlab=2Eio/

------DFS97SPHVRN9I8NH5Y75WMLBJLZ3KK--