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 QOsvMassdGEC+gAAgWs5BA (envelope-from ) for ; Sat, 23 Oct 2021 17:39:23 +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 GFfILKssdGFcUwAAB5/wlQ (envelope-from ) for ; Sat, 23 Oct 2021 15:39:23 +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 6272A9C74 for ; Sat, 23 Oct 2021 17:39:22 +0200 (CEST) Received: from localhost ([::1]:52756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meJ7B-0003ZL-24 for larch@yhetil.org; Sat, 23 Oct 2021 11:39:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meJ6t-0003YM-Dt for guix-patches@gnu.org; Sat, 23 Oct 2021 11:39:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meJ6s-0007jS-ID for guix-patches@gnu.org; Sat, 23 Oct 2021 11:39:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1meJ6s-0007bt-G0 for guix-patches@gnu.org; Sat, 23 Oct 2021 11:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51353] [PATCH website] website: Fix build. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Oct 2021 15:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51353 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51353@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163500353029232 (code B ref -1); Sat, 23 Oct 2021 15:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Oct 2021 15:38:50 +0000 Received: from localhost ([127.0.0.1]:36934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meJ6g-0007bP-HB for submit@debbugs.gnu.org; Sat, 23 Oct 2021 11:38:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:56050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meJ6d-0007bG-3E for submit@debbugs.gnu.org; Sat, 23 Oct 2021 11:38:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meJ6c-0003QK-HE for guix-patches@gnu.org; Sat, 23 Oct 2021 11:38:46 -0400 Received: from lepiller.eu ([89.234.186.109]:34362) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meJ6Z-0007Oh-Fd for guix-patches@gnu.org; Sat, 23 Oct 2021 11:38:46 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 8baa090a for ; Sat, 23 Oct 2021 15:38:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:mime-version:content-type; s=dkim; bh=4b1 lK/YbsNqJIobw+k2zV46gJO1t21O2G5JOuOQnZeI=; b=Yr2uZAcp5hRJqJusz8a L/QJFdCP+LKPf9CMx/BZOG3gCRCn0vAW339AQ3596crB7wBOy1hQ0gJGotWOL6h9 P5DoZ2cehMI4e15ksHVENCi2oTrm3yAgjySnsPZyCixlcjtnWJfW5zdADPLRdG5x QGrR4WIqOnBxq/ESgUpIqrDU2kJ7Qi3qPS6fM8Cxzsks8ZRIQHyKbkxqif2AIHyj xNSXccdhRKpun4awFz2XH31tooWXvD8rFgP/kryDGE9Ee7WqmUtCw2X3hl0p/xkp +uNLlhKnSTbj7uDR3ubLHbDpEIlssEvjHS7IsMc67xOqYVoi8K6rbz71xEsa3ACv Keg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 94acfb57 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Sat, 23 Oct 2021 15:38:36 +0000 (UTC) Date: Sat, 23 Oct 2021 17:38:30 +0200 From: Julien Lepiller Message-ID: <20211023173830.6151a138@tachikoma.lepiller.eu> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/qubhJAwVIkLhLICdxDgBnRL" Received-SPF: pass client-ip=89.234.186.109; 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635003563; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=RzTERlDJBkIWsQW6OVFRagr+UORyZcziISvkeO80GOk=; b=rPa6FtLg+uA97PrGuVgphUywLc0pm0ZN3HBK72SQZTx7Zee7FlTOSpB1IiVVYe12soBLfS 541wcx46T5m3EsuZSJ80MYO1yb//hSS7aB4L8zz+2RFcDGA/HEzY+7nvPjh1XYvvsqEo8T ajIHx87cKL9KHxEzZyUQUEA7YXFH/LlT3bQ8yZ+RurCzxOtzxlTHwpbSWxVwsv748PIP0z 2WJl7IZbdFNNrGyIAim4ZofUmCvKIBl6oJuohmEtYiM1EaEsCCdtSn74OcQhYCOpTDettB XEyB0mL33uQ+zC2Mt7d45bQ/t9hxyclB9aew4fEsdSiO6uJ/effsFXoF0+584Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635003563; a=rsa-sha256; cv=none; b=ub/RtwHPOpnCf3FgTeRBztiNagUxqDYiNXM0rO1O+Wu6SNbootmpfC21z42Le71cSNuflU HnkETXjkxlLjaeuQjBDCtEkF5BvBqBS8rFYqRX2ynYrjoxt1ChlMuEtwgv5zukijrhEY30 5djbhQyWqR96MfEXpIH3De17GzdTkmfnUIGagFQh0+apepc8faBGkVTphujoxorXv94Spg Z/LQmP5GP10sdSUpCimrMbMW0bUOb0xtKqAfCq2KBmVshey76u5uOkXB9F0y9Qz+WR+a1u zAhpFhK5LkDKHohEB0mOXXX8Xm897/3Zp7D4E7TxQrjN3KrSt2C6d3YziRDC3w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=Yr2uZAcp; 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: -0.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=Yr2uZAcp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); 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: 6272A9C74 X-Spam-Score: -0.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: bZXkrjEIY893 --MP_/qubhJAwVIkLhLICdxDgBnRL Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Guix! I just noticed an issue building the website: with a recent change, the code would check explicitely for GUIX_WEB_SITE_LOCAL in the environment, but .guix.scm doesn't set it, so it fails with: ;;; (repl-version (repl-version 0 1 1)) Running 'haunt build' for lingua de_DE... Backtrace: In haunt/ui.scm: 125:6 19 (run-haunt-command _ . _) In haunt/ui/build.scm: 60:4 18 (haunt-build . _) In haunt/site.scm: 130:14 17 (build-site _) In haunt/utils.scm: 64:11 16 (flat-map _ . _) In srfi/srfi-1.scm: 586:29 15 (map1 _) 586:29 14 (map1 _) 586:29 13 (map1 _) 586:29 12 (map1 _) 586:17 11 (map1 (#= =E2=80=A6)) In unknown file: 10 (_ # =E2=80=A6) In ice-9/eval.scm: 155:9 9 (_ _) 155:9 8 (_ _) 173:39 7 (_ #(#(#)= =E2=80=A6)) 293:34 6 (_ #(#(#(#))= =E2=80=A6)) 159:9 5 (_ #(#(#(#))= =E2=80=A6)) 159:9 4 (_ _) 196:43 3 (_ _) In unknown file: 2 (force #) In ice-9/eval.scm: 245:16 1 (_ #(#(#(#))= =E2=80=A6)) In unknown file: 0 (string=3D? "yes" #f) ERROR: In procedure string=3D?: In procedure string=3D: Wrong type argument in position 2 (expecting string): #f building pages in '/tmp/gnu.org/software/guix'... Backtrace: 3 (primitive-load "/gnu/store/8amiibdjbp3chrj8cnbg6v1162g?") In ice-9/boot-9.scm: 260:13 2 (for-each # ?) In ice-9/eval.scm: 619:8 1 (_ #(#(#) "de_DE")) In guix/build/utils.scm: 654:6 0 (invoke _ . _) guix/build/utils.scm:654:6: In procedure invoke: ERROR: 1. &invoke-error: program: "/gnu/store/2p1zk377cvxs1dz0iasj2l5wp2jlpcx2-haunt-0.2.5/bin/haunt" arguments: ("build") exit-status: 1 term-signal: #f stop-signal: #f The attached patch fixes the issue. --MP_/qubhJAwVIkLhLICdxDgBnRL Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-website-Fix-build.patch >From 6be425e7e917f93ae5a0cb7bbb047d0c4c1f4c78 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 23 Oct 2021 17:30:59 +0200 Subject: [PATCH] website: Fix build. * website/.guix.scm: Set GUIX_WEB_SITE_LOCAL explicitely. --- website/.guix.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/website/.guix.scm b/website/.guix.scm index f656d47..a7a6d36 100644 --- a/website/.guix.scm +++ b/website/.guix.scm @@ -111,6 +111,7 @@ (setvbuf (current-output-port) 'line) (setvbuf (current-error-port) 'line) + (setenv "GUIX_WEB_SITE_LOCAL" "no") (copy-recursively #$source ".") ;; Set 'GUILE_LOAD_PATH' so that Haunt find the Guix modules and -- 2.33.0 --MP_/qubhJAwVIkLhLICdxDgBnRL--