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 MfaUHEXap2DEkgAAgWs5BA (envelope-from ) for ; Fri, 21 May 2021 18:05:25 +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 sM+VF0Xap2BKdgAAbx9fmQ (envelope-from ) for ; Fri, 21 May 2021 16:05:25 +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 AFC22165EE for ; Fri, 21 May 2021 18:05:24 +0200 (CEST) Received: from localhost ([::1]:59124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lk7eN-0003wU-42 for larch@yhetil.org; Fri, 21 May 2021 12:05:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk7dU-0003pa-3M for guix-devel@gnu.org; Fri, 21 May 2021 12:04:31 -0400 Received: from marvid.fr ([163.172.81.107]:46140 helo=courriel.marvid.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk7dQ-0004tH-4h for guix-devel@gnu.org; Fri, 21 May 2021 12:04:27 -0400 Received: from hellebore (unknown [78.194.167.103]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by sahkopoika (Postfix) with ESMTPSA id 88FF253F56A0; Fri, 21 May 2021 18:04:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=marvid.fr; s=201901; t=1621613049; bh=d+XJZn4/GStwzd3WMcUcmLCVABZGAhGXeNHkddIBV0M=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=j/PvUejLietnyxj3CfZkKL2k8oEfPy7V+9bssY6f3heh6KuaOIa/lLKi1wYVKLp0Y wj6mhVIJSNtntHx/0lNjVWJPey+n8VkROU+WwhwT0B/GPpVkWa1kvz5HO0roFkaZNB h+w08V2VLYkQcxULPhduFBtBSa7hoZtlTLfjOgvc= Date: Fri, 21 May 2021 18:04:00 +0200 From: Tissevert To: Luis Felipe Subject: Re: website: A little help running the website locally Message-ID: References: <7J0Os8AqtTsZsgEUulhpYRPleaTDMYhVMegwvV0wAyWEiIC3qgMnFU-XqKWx7L7-lmruN9ZImzE4Kx7GMr9t-lT31jf_v9Mk2bYcrXBTCoY=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7J0Os8AqtTsZsgEUulhpYRPleaTDMYhVMegwvV0wAyWEiIC3qgMnFU-XqKWx7L7-lmruN9ZImzE4Kx7GMr9t-lT31jf_v9Mk2bYcrXBTCoY=@protonmail.com> Received-SPF: pass client-ip=163.172.81.107; envelope-from=tissevert+guix@marvid.fr; helo=courriel.marvid.fr 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, 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=1621613125; 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=cD3mZdn8rg8Lz8nJlTBLC9e8BqR1mS0phDGWJsU0rT8=; b=bHl45fq2dkLZAkal1OcbJzgHG98p0oX3sKmgzi9L5DmI1LenWUTVUtSjBgDedFHwEUDfH7 HYjY7+OyW90JkD9EX1JI32ganlwTWBLM+Z7uURN1fFm8UydZpD2edBXhBl4s5T+PKJMKY6 f55Q11diszEOpDtVjJGDix0rxqGbMiXKeVwlm+CyuETAupW4Vp73K00k4M7+oZzSPBwRm/ kSz+0dzXaowAq24HmDduC0A5tUJbjdhOJuBaBpBIS2+4MX2AqLDxQCBdnv/m8tKfVAcuv2 +dslNpaHHTDWZgFxag+Ela28zDNGP5c17z5B26qjek5RlAsMfKXE0snHoavZpQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621613125; a=rsa-sha256; cv=none; b=MjWsZnyZ7MTuGgoNww0EnvnDqIYQWDOAOjjQpGU3wZ5rLZxLY9LfXgYfj7rVY/IqFlGz/L yWIgxxqEDsc88E3n0r+VLKO3duP8LwZQP+TWkJLDeT9p4ZxuQVgAmsPqg9HSslFptQXbKn BMOEHPnerikTr8RZzul8N/U2gwDAIu1nFGgkDbbbqf1kOAeJ8gZZOKZ9IaO3Evg3SiNM4Q I0ee/6uiXNpZcFmOiKQi3FYEhGlTdMxUfrAAARuj+Rc2i+ooQ//uEfHP7lKfcMrymQ9gqo BVkJAvgXfh94/BqBglcVbn7E1TovC9U6Vx5Vsj1ETPCBhUicH+ETBbGemWMCmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=marvid.fr header.s=201901 header.b="j/PvUejL"; dmarc=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: -0.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=marvid.fr header.s=201901 header.b="j/PvUejL"; dmarc=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: AFC22165EE X-Spam-Score: -0.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: oWM7wqMJrXYt Hi ! I'm afraid I saw your message too late because I have exactly the same problems you describe in https://issues.guix.gnu.org/47623 which you've just closed. I too have no ~/.guix-profile/lib/locale but ~/.guix-profile/lib/locales exists and allows the build to complete. So I don't know but could this ~/.guix-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). >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/.guix-profile also allows haunt to build the site correctly (it produces something, reports success, and browsing what it serves looks like the official website). Hope that helps : ) Tissevert Le Fri, May 21, 2021 at 01:53:43PM +0000, Luis Felipe a écrit : > Hi, > > I've never been able to build and run the internationalized website correctly following the instructions on the README. I even thought there was a typo in the instructions (https://issues.guix.gnu.org/47623), but it seems there is actually a particular problem on my side that I don't know how to resolve. So I could use a little help. > > The problem seems to be that the instructions on the README expect a "$HOME/.guix-profile/lib/locale" directory to exist, but it doesn't exist here. There is a "$HOME/.guix-profile/lib/locales" directory instead (note the plural name). > > I've tried building and running the website using the "locales" directory to work around the issue. It used to build most of the time, but with enconding issues. Running the website almost always failed with some error about invalid arguments to "setlocale"), so I used plane "haunt serve". > > Currently, though, using guix 1f68568 and guix website f7ca68f, building fails for me everytime I run this: > > ★★★★★★★★★★★★★★★★★★★★ > $ GUIX_WEB_SITE_LOCAL=yes guix environment -C -m manifest.scm -E GUIX_LOCPATH -E LANG --share=$HOME/.guix-profile/lib/locales -E GUIX_WEB_SITE_LOCAL --share=/tmp -- haunt build > guile: warning: failed to install locale > Backtrace: > 2 (primitive-load "/gnu/store/yzaxlqmiraznba4yf2cyqpyla9q?") > In haunt/ui.scm: > 131:2 1 (haunt-main _ "build") > In unknown file: > 0 (setlocale 6 "") > > ERROR: In procedure setlocale: > In procedure setlocale: Invalid argument > ★★★★★★★★★★★★★★★★★★★★ > > > So I haven't been able to work much on the website for a long time. I don't know what's going on... > > > --- > Luis Felipe López Acevedo > https://luis-felipe.gitlab.io/ >