From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 23 11:38:50 2021 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 To: guix-patches@gnu.org Subject: [PATCH website] website: Fix build. 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --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-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 23 14:03:07 2021 Received: (at 51353) by debbugs.gnu.org; 23 Oct 2021 18:03:08 +0000 Received: from localhost ([127.0.0.1]:37165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meLMJ-0005M1-NW for submit@debbugs.gnu.org; Sat, 23 Oct 2021 14:03:07 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:39768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meLMH-0005LX-Ja for 51353@debbugs.gnu.org; Sat, 23 Oct 2021 14:03:06 -0400 Received: by mail-wm1-f42.google.com with SMTP id y22-20020a1c7d16000000b003231ea3d705so7744522wmc.4 for <51353@debbugs.gnu.org>; Sat, 23 Oct 2021 11:03:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=TBgorYtdN1SyLbjtfjWc+ysQA2PWMcfYw+fG3dIC1D4=; b=Q5/FOi0zmGYha+EM9LfsjaQMvPX2i5qmkJisbiZYY2eBG8GyNojp3Nsw2MjUk5vAmX vo+Y878pEi/EUJd9IwHVhBmZ8//XYQLmUsNcJJSp6NXy6chkYIUwi22PjD1qoV+F10vw VmL6oR8/Jw2prpgwyPaPNsfI61ljTSvl3UndXlk54d3EQvCruzLkoeVdTcj8n90of200 Kg9MaAa3S1TD7HBWNk/G11fG2T3sa2oEQIen2XA6IoXZuvu9aHisi8qVxaQteor8dRgc eheO3Cjf+vKbp7m6cz2A/AVn9+MRwTleUhhhJo6+rt4Zq3eEbAdNMewrHM8bmVuArVZv v5mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=TBgorYtdN1SyLbjtfjWc+ysQA2PWMcfYw+fG3dIC1D4=; b=uB24o2tI2BZdJC/e8Ffe2tbPEsUb6m4n9ABPh+Te7ccBnJUoXN/TNQzPAHUmSyRbmK z/CatL+FjTjMBACTbtqOTvW+eLWOEVycLM6YwC2iaF1EoI0wEDH+uGG1lp4rohRv0xi1 ORJcs4VTGsFAwEVWD4NpQ8qc9zFnaFt/I6qh/vt+reypyhER62fsZFI0jWTIDphfwDcD 6sd/ioa+008k8Eyg8bhhCEeJz4ymGZVICsy2yg+iRCdgroU1+8v9i33U7neZA+wUm+rL q1DHyHr2jCPAQOGojV491//wmPZ8If0Vm6hUHdjcMIK6wsArxXpfNTd3xCIpPDLdTHr3 6IzA== X-Gm-Message-State: AOAM5317XCvdR8kk/ZFCg6DCTq1R7lMHUn1CTQd2/GfJECvqvY8ugxOI j/fCLrXR5tZBEb5PUfeiTZhCXay9AOw= X-Google-Smtp-Source: ABdhPJwb7UoWgBCpNxwwSURv/fBLx7PHERTuMeBM6IlPw7UmsBspZj2xnxpIF1HW0MUPqmTWtvq1Zg== X-Received: by 2002:a1c:f21a:: with SMTP id s26mr8269365wmc.117.1635012179734; Sat, 23 Oct 2021 11:02:59 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id g7sm7800351wrd.81.2021.10.23.11.02.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Oct 2021 11:02:59 -0700 (PDT) From: zimoun To: Julien Lepiller , 51353@debbugs.gnu.org Subject: Re: [bug#51353] [PATCH website] website: Fix build. In-Reply-To: <20211023173830.6151a138@tachikoma.lepiller.eu> References: <20211023173830.6151a138@tachikoma.lepiller.eu> Date: Sat, 23 Oct 2021 19:56:03 +0200 Message-ID: <861r4bbp70.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51353 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Julien, On Sat, 23 Oct 2021 at 17:38, Julien Lepiller wrote: > 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: Oops! My bad. > 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 ".") LGTM! Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 23 17:22:47 2021 Received: (at 51353-done) by debbugs.gnu.org; 23 Oct 2021 21:22:47 +0000 Received: from localhost ([127.0.0.1]:37500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meOTW-0002OY-Ro for submit@debbugs.gnu.org; Sat, 23 Oct 2021 17:22:46 -0400 Received: from lepiller.eu ([89.234.186.109]:36476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meOTU-0002ON-9l for 51353-done@debbugs.gnu.org; Sat, 23 Oct 2021 17:22:45 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id d35aa67d; Sat, 23 Oct 2021 21:22:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=z/h/NAgLfivA PNSuKghkxKXRgREhJZABydjtyCzpbpQ=; b=kwfxoG1rF0CjoYFvxJoOzesmP51v YlNK3uzaxgLHSnqfk7gNvH0LCo8WKLMgtOBZCYMPRvVxE726TZhzN2sKIkhT76BM OOctvzi8LgNi7mMohkhp6dLS7Y00NTU/sYibYZEDWpQrc6TJM62k2aCLTUghAIXp mgSWfNPsKj0E0HwhO6faUTEUmyfbY4+b1+bLPaHZBy/x0K7bqd/Eb50OcvhZHfCI CPbZz/s155RRDpvHIvVTI7BAKDNuxl5OIZdOjaWCBBg3+s+8zmlr/iRFbXMZd2CC McJFkhVucmTEoyywvhk96A0Px1eYA+xuXVYFZdI85KGv+cqK9j3gKrYsuQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 75d17057 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 23 Oct 2021 21:22:41 +0000 (UTC) Date: Sat, 23 Oct 2021 23:22:31 +0200 From: Julien Lepiller To: zimoun Subject: Re: [bug#51353] [PATCH website] website: Fix build. Message-ID: <20211023232231.28f676ac@tachikoma.lepiller.eu> In-Reply-To: <861r4bbp70.fsf@gmail.com> References: <20211023173830.6151a138@tachikoma.lepiller.eu> <861r4bbp70.fsf@gmail.com> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 51353-done Cc: 51353-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pushed along with a translation update, hopefully we can see the updated website soon :) From unknown Fri Sep 05 11:02:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 21 Nov 2021 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator