From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mJWGN9iPnWCLSAAAgWs5BA (envelope-from ) for ; Thu, 13 May 2021 22:45:12 +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 yNUVM9iPnWBcQgAAB5/wlQ (envelope-from ) for ; Thu, 13 May 2021 20:45:12 +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 3FBA415156 for ; Thu, 13 May 2021 22:45:12 +0200 (CEST) Received: from localhost ([::1]:52646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhICl-0007NW-EK for larch@yhetil.org; Thu, 13 May 2021 16:45:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhIBd-00068n-VG for guix-patches@gnu.org; Thu, 13 May 2021 16:44:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhIBd-00076C-Me for guix-patches@gnu.org; Thu, 13 May 2021 16:44:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhIBd-0005jJ-Ki for guix-patches@gnu.org; Thu, 13 May 2021 16:44:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47623] [PATCH] website: README: Fix build and serve commands References: In-Reply-To: Resent-From: Luis Felipe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 May 2021 20:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47623 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "47623@debbugs.gnu.org" <47623@debbugs.gnu.org>, Mathieu Othacehe Received: via spool by 47623-submit@debbugs.gnu.org id=B47623.162093860621902 (code B ref 47623); Thu, 13 May 2021 20:44:01 +0000 Received: (at 47623) by debbugs.gnu.org; 13 May 2021 20:43:26 +0000 Received: from localhost ([127.0.0.1]:44396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhIB3-0005h9-G9 for submit@debbugs.gnu.org; Thu, 13 May 2021 16:43:25 -0400 Received: from mail-40130.protonmail.ch ([185.70.40.130]:50096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhIB1-0005gh-Fi for 47623@debbugs.gnu.org; Thu, 13 May 2021 16:43:24 -0400 Date: Thu, 13 May 2021 20:43:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1620938595; bh=CttjlqtFYxuml8VYh/v/l4Vtp7tHsMg6Ir38f+EWuV4=; h=Date:To:From:Reply-To:Subject:From; b=xnk5J4MugIHwKc4IWTPcJlHfYut/RLfBO0IaRkmPLm7Ip5XJ/3rUL1c9PZz1Ao668 uKxQzc1wdRqB7CE4GGzGbh+82ooE51ZTHonjdiANlTv5zl3n39x2CHpWw65JajVF5I q+pyF8Rww/+IwHPxemyfop/VEypauFZFoMRLrbW4= Message-ID: <7ht7uZZje5DlG6cHCnWYAnUD7U4E1aZr4kqLP2RCV3PjQBH80Kz2CjXU0OL_KcRc24B4l33RmbhHhK-Cp6svG_JyaMqjl6pn8QRVEKHG5x8=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Luis Felipe X-ACL-Warn: , Luis Felipe via Guix-patches From: Luis Felipe via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620938712; 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=CttjlqtFYxuml8VYh/v/l4Vtp7tHsMg6Ir38f+EWuV4=; b=YVmik0Wa3WDv5eYN1BvTDlgi1FDf9UjEYVHAFPzIBzLjxto9lmNfQ9H0teoG+4lNHwdn2W 3FO8nI3mxADoO16aU0QXomuSQJ971ih/IawDrSOqoZmvyhStDrQ1w362h+iX20FgaQsd/w L7MucodNXa/1VdUUoyelW+rvIAbSwdn1vrW5sJBQjEYtt+DjRSidoNw1xAv6BzjURmj5nA QJnLbHwLDAvOTBNZTqDMbVGWyMplqsBmVovUkaczvkhHh9rkHtwGOWaKqojC43Q+B8f5CG ZDpcsIq1Ii5Xol1JNCraCbzg/MX828NMGGI0oK+elkTdNqMu0VAFpkgb/jC7Ug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620938712; a=rsa-sha256; cv=none; b=KFycHk276xC2gvGAA947gFo0eCKXvodmZiyxEysfji/ViZ1/VhhTiZNFrQCdOF1/3KtCc2 RRcEyNnRguc3I6OWQI8rpJLGE6+b0qKwprQuYzFIsk4xBpaIFVCMqr52B0AUU2K0cyW8Ox bsxzCLdbQceaqJo7RrDoPBgZiMhaMvysPkjU3TXe4A+pWlYGYc+rvpij/pbTkpu+xhVWPG Ts79lvrb3eRqU25QbT6/plxuz8DO+U4qGNspNa3DBckQe2ajsAkrgMnoDxiIlay7xMO42j /lJBAlXm99P1u4bvJHv6NkLaE4U208PhLdLMzrR0li/41M/cOvot1OCoUaog5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=xnk5J4Mu; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.95 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=xnk5J4Mu; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 3FBA415156 X-Spam-Score: -2.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9YvpwgFb3ZDN > No sign of a 'locales' directory here. The GUIX_LOCPATH variable is/run/= current-system/locale on my system. It only contains the localesdefined in= %default-locale-definitions. In my case (using Guix System), $ echo $GUIX_LOCPATH /run/current-system/profile/lib/locale:/run/current-system/locale Both of which exist. And there is also $ ls ~/.guix-profile/lib/locales am.pak es-419.pak hu.pak nb.pak sw.pak am.pak.info es-419.pak.info hu.pak.info nb.pak.info sw.pak.info ar.pak es.pak id.pak nl.pak ta.pak ar.pak.info es.pak.info id.pak.info nl.pak.info ta.pak.info bg.pak et.pak it.pak pl.pak te.pak bg.pak.info et.pak.info it.pak.info pl.pak.info te.pak.info bn.pak fa.pak ja.pak pt-BR.pak th.pak bn.pak.info fa.pak.info ja.pak.info pt-BR.pak.info th.pak.info ca.pak fil.pak kn.pak pt-PT.pak tr.pak ca.pak.info fil.pak.info kn.pak.info pt-PT.pak.info tr.pak.info cs.pak fi.pak ko.pak ro.pak uk.pak cs.pak.info fi.pak.info ko.pak.info ro.pak.info uk.pak.info da.pak fr.pak lt.pak ru.pak vi.pak da.pak.info fr.pak.info lt.pak.info ru.pak.info vi.pak.info de.pak gu.pak lv.pak sk.pak zh-CN.pak de.pak.info gu.pak.info lv.pak.info sk.pak.info zh-CN.pak.inf= o el.pak he.pak ml.pak sl.pak zh-TW.pak el.pak.info he.pak.info ml.pak.info sl.pak.info zh-TW.pak.inf= o en-GB.pak hi.pak mr.pak sr.pak en-GB.pak.info hi.pak.info mr.pak.info sr.pak.info en-US.pak hr.pak ms.pak sv.pak en-US.pak.info hr.pak.info ms.pak.info sv.pak.inf The "~/.guix-profile/lib/locale" directory does not exist (why can that be?= ! I don't know...). So for me, the build command always fails like this: $ LANG=3DC GUIX_WEB_SITE_LOCAL=3Dyes guix environment -C -m manifest.scm -E= GUIX_LOCPATH -E LANG --share=3D$HOME/.guix-profile/lib/locale -E GUIX_WEB_= SITE_LOCAL --share=3D/tmp -- haunt build guix environment: error: statfs: /home/yo/.guix-profile/lib/locale: No such= file or directory Building it with the command you provided, it fails for the same reason. Building it changing "$HOME/.guix-profile/lib/locale" to "$HOME/.guix-profi= le/lib/locales", it builds, but I see what seems to be character enconding = issues in the output (some characters are replaced by a question mark). For= instance: copy 'static/base/img/Guix-package.png' ? 'static/base/img/Guix-package.png= ' Then, running the serve command fails: $ guix environment -CN -m manifest.scm -E GUIX_LOCPATH -E LANG --share=3D$H= OME/.guix-profile/lib/locales --share=3D/tmp -- haunt serve -w guile: warning: failed to install locale Backtrace: 2 (primitive-load "/gnu/store/yzaxlqmiraznba4yf2cyqpyla9q?") In haunt/ui.scm: 131:2 1 (haunt-main _ "serve" "-w") In unknown file: 0 (setlocale 6 "") ERROR: In procedure setlocale: In procedure setlocale: Invalid argument (I use "$HOME/.guix-profile/lib/locales" there too, otherwise it fails sayi= ng "$HOME/.guix-profile/lib/locale" does not exist) I don't get it... The only thing I recall doing related to locales is insta= lling both "glibc-locales" and "gcc-toolchain" system-wide; the former to g= et all locales supported by glibc, and the latter to get the "locale" comma= nd.