From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sOn1Ke71bWCAAwAAgWs5BA (envelope-from ) for ; Wed, 07 Apr 2021 20:11:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sLfOI+71bWAVAgAAB5/wlQ (envelope-from ) for ; Wed, 07 Apr 2021 18:11:58 +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 062301985E for ; Wed, 7 Apr 2021 20:11:58 +0200 (CEST) Received: from localhost ([::1]:53092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUCej-0001RA-5K for larch@yhetil.org; Wed, 07 Apr 2021 14:11:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUCeN-0001Oq-AE for guix-devel@gnu.org; Wed, 07 Apr 2021 14:11:35 -0400 Received: from mail-40132.protonmail.ch ([185.70.40.132]:30708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUCeG-0004lh-8n for guix-devel@gnu.org; Wed, 07 Apr 2021 14:11:34 -0400 Date: Wed, 07 Apr 2021 18:11:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1617819085; bh=xUiSrocSpct10Em3x8s+tWdec/WUPuSs/M9R3Ip/LnM=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=h0rdtAJpdDZSCzFHcY9+eUtKD9fOkOG4EABdesIDAxkQ8hT7F0jC2SXiXO+rdNrH2 09o8sGZ+SO/BckEjqW9W1XABDNTCWTSeXE6hQu2ZR1BvX/YG0WqTUXz9yl9SAJpciv Z0aKzO3T6lvunETaamC8sh6HB/P3S596zIGM5hLM= To: Julien Lepiller From: Luis Felipe Cc: guix-devel Subject: Re: website: Building fails because of missing locales Message-ID: <9cYRe_JJ8V3dUk5VIb4f73Tk263OxyUJ2kWrui92cRGJ2CdK0Ucx8qQc6cuPsxwF7nkVqarrhDSpfzl3HGHttJmOrG-kiMUOJlSX3BzZQKc=@protonmail.com> In-Reply-To: <20210407192232.6cecaa03@tachikoma.lepiller.eu> References: <20210406222048.6fc75759@tachikoma.lepiller.eu> <2MN5GbmpG28KPMsauB1i-EuLY9-ULobBZwrqtn7sWUTAgxXFdkWIN5n-NIZLx0d3QpuaYJkPRUCE1eE40a6DGq-AhGrAbN21ZHASR0bBhmQ=@protonmail.com> <741C09DA-7BA1-46AC-BCAA-B9839D146C68@lepiller.eu> <20210407192232.6cecaa03@tachikoma.lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.132; envelope-from=luis.felipe.la@protonmail.com; helo=mail-40132.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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: , Reply-To: Luis Felipe 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=1617819118; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=xUiSrocSpct10Em3x8s+tWdec/WUPuSs/M9R3Ip/LnM=; b=J9Dovx8rEcXQs5tq70/svJNc6Xq+Nk5EUwyopRP0GoYcBTJ7GIUj1DofTMJAmk1D2cqdJ5 fOkY7D9HRyhcPvNOZtA3sBaf9fLCtJZqwN0V9/Jz5TZ74C4v9obRfXF4Kuv7fkctVg0CM8 AKAOY63R2woV00ePgsMCzJ3fvhFXe53ihF1+AH3L+2Ah1botxJbSW6E9HYjOvXxh8Y5hgv Zl/A/nCw3EzTUrqtogHi3q1EgTLWUQ6HIV8Wc2/ng4C9mRCFzYiyP/8s72hMqodYAQjPxJ oHoKlKQROzKHOKGVk0t57cqluqUiVyvUvGiyXHnmK04oiRYe25eDGjdCT0guGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617819118; a=rsa-sha256; cv=none; b=rdt6CkbVdGk7DvdvR26bV9uhRNTXyr0OJWnYcU2sDlvJndEMwEYhfWjq1E8B2q3Zdrb5gQ zLVRHTsW42PqfyiJ+tD+HWYIrgpNMUYaogWqS7gv3sX6mMVI36Tady5+flMo9+LrVEw/jD 3NhWOamtzAUQBr2Ru3RZUf0DpUsHgWJKQ7LJnAcD9Pz+IxbcXaVh4E/+aHu0QeMV+ZezwR TuAruGMjqAIdZ81r9KD3btiBIA/oaYkBwHf1MCGl7a6dS88VhwIBvRBvXWrGWOk/6nfbL4 kXQDNbE4F8SN+guw9iNP1d+SC3Szd1GPDirhxsLIS55zB8In9EBqwCWD22Ezig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=h0rdtAJp; dmarc=pass (policy=quarantine) header.from=protonmail.com; 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: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail header.b=h0rdtAJp; dmarc=pass (policy=quarantine) header.from=protonmail.com; 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: 062301985E X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: c4i8XLF9Q7/M On Wednesday, April 7, 2021 5:22 PM, Julien Lepiller w= rote: > Here's v2. > > I checked that it sets GUIX_LOCPATH properly on my system (I had to add > the path specification for it to work). Thanks, Julien, with this new patch, the website builds. But I noticed othe= r problems now: 1. It does not run (haunt serve fails). 2. Running it with "python3 -m http.server" instead, I see many characters = replaced by "?" marks. I'm using the commands from the website's README, but omitting "-E GUIX_LOC= PATH" and changing "lib/locale" to "lib/locales" because the former does no= t exist. So this is the command I ran to build: =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 $ LANG=3DC GUIX_WEB_SITE_LOCAL=3Dyes guix environment -C -m manifest.scm -E= LANG --share=3D$HOME/.guix-profile/lib/locales -E GUIX_WEB_SITE_LOCAL --sh= are=3D/tmp -- haunt build =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 And this one for serving: =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 environment -CN -m manifest.scm -E LANG --share=3D$HOME/.guix-profil= e/lib/locales --share=3D/tmp -- haunt serve guile: warning: failed to install locale Backtrace: 2 (primitive-load "/gnu/store/k3650bnqc741650cg36nv2wan82?") In haunt/ui.scm: 130:2 1 (haunt-main _ "serve") In unknown file: 0 (setlocale 6 "") 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 Am I doing something wrong?