From unknown Sun Jun 22 00:43:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66659: (home-)on-first-login script broken when no gexps are added Resent-From: Nils Landt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 21 Oct 2023 06:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66659 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66659@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.169786889815803 (code B ref -1); Sat, 21 Oct 2023 06:15:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Oct 2023 06:14:58 +0000 Received: from localhost ([127.0.0.1]:42081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu5GA-00046m-Uk for submit@debbugs.gnu.org; Sat, 21 Oct 2023 02:14:58 -0400 Received: from lists.gnu.org ([2001:470:142::17]:35172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu5G6-00046R-3j for submit@debbugs.gnu.org; Sat, 21 Oct 2023 02:14:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qu5FY-0001V2-ML for bug-guix@gnu.org; Sat, 21 Oct 2023 02:14:16 -0400 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qu5FW-0007tN-Qh for bug-guix@gnu.org; Sat, 21 Oct 2023 02:14:16 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4SCB3x6sHQz9sdM for ; Sat, 21 Oct 2023 08:14:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landt.email; s=MBO0001; t=1697868845; h=from:from: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; bh=VHTrm6pdc+1UvRrmuwFz5MnhKb41AKfFejP8ZOHfgeE=; b=LKI2YANi/f2QKhV8EqsNrreX8tV9BfcObxfbKxvhMUN8sVDWYNWwZGOFy7ylwCpuwGuKp4 OTQqXqlR0PU6MhZT2rtbUXNdIzlWxARwEkjT1XegImJWJFC46C0d6Ns0isPNKKe9v+Cqp/ 32tCOKRxRTrcyGiL7MY/e9IRDDOYmUl3Hwv/b7DAg5yIRwKZ7ItouXu7pjzR4wVm20FK7H HFGFtouZy2G40H01O68gdkomuqTQeHMIFm/LFBWQe5Iajmgo33qbvlOLI7bmg3enhKgYRN yuZpylZ2os1yVWViJnqZFTbCRCJNkzpuVs0z8mBWvfpzQxNz1bVUw2iUVROQQg== Date: Sat, 21 Oct 2023 08:14:05 +0200 (CEST) From: Nils Landt Message-ID: <1084731920.55297.1697868845432@office.mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal Received-SPF: pass client-ip=2001:67c:2050:0:465::103; envelope-from=nils@landt.email; helo=mout-p-103.mailbox.org 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) Error message: ice-9/psyntax.scm:2824:12: In procedure syntax-violation: Syntax error: /home/nl/.guix-home/on-first-login:3:1233: source expression failed to match any pattern in form (when (claim-first-run flag-file-path)) As you can see, there is no body in the "when" expression. Code in gnu/home/services.scm:438 : (if (file-exists? xdg-runtime-dir) (when (claim-first-run flag-file-path) #$@gexps) In my case, it appears that gexps is empty, resulting in the invalid syntax. Broken by b92235ea8b06e304072bad55ae006593ea673568 From unknown Sun Jun 22 00:43:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66659: (home-)on-first-login script broken when no gexps are added Resent-From: Carlo Zancanaro Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 21 Oct 2023 09:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66659 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nils Landt Cc: 66659@debbugs.gnu.org Received: via spool by 66659-submit@debbugs.gnu.org id=B66659.169788076927567 (code B ref 66659); Sat, 21 Oct 2023 09:33:02 +0000 Received: (at 66659) by debbugs.gnu.org; 21 Oct 2023 09:32:49 +0000 Received: from localhost ([127.0.0.1]:42210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu8Ld-0007AW-Cv for submit@debbugs.gnu.org; Sat, 21 Oct 2023 05:32:49 -0400 Received: from voltorb.zancanaro.id.au ([45.77.50.64]:44154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu8LX-0007AC-9L for 66659@debbugs.gnu.org; Sat, 21 Oct 2023 05:32:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=wRX+JI7jzNXW3Tk mcvOq8/46CN23KedZ9vVjR/y3MK8=; h=in-reply-to:date:subject:cc:to:from: references; d=zancanaro.id.au; b=Vz52M1oMSCCG96TJRNgw1QTeYXV5J+H6YUUmG PQrsEp51RloL16EjP03Ujr9fihznm9h8phfNY7vbm6HOjVUnYLlXkDZBB3DoyxEDoarMqD qPvL+v4NlBsvUbISr8tJ+F2HMJY+4XNueX5ogdr/s87cwruJrlA0mcXIlrTclfIU= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id e8bedfb4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 21 Oct 2023 09:31:38 +0000 (UTC) References: <1084731920.55297.1697868845432@office.mailbox.org> User-agent: mu4e 1.10.7; emacs 29.1 From: Carlo Zancanaro Date: Sat, 21 Oct 2023 20:27:12 +1100 In-reply-to: <1084731920.55297.1697868845432@office.mailbox.org> Message-ID: <87pm18codq.fsf@zancanaro.id.au> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) 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 (-) On Sat, Oct 21 2023, Nils Landt wrote: > ... > As you can see, there is no body in the "when" expression. > > Code in gnu/home/services.scm:438 : > > (if (file-exists? xdg-runtime-dir) > (when (claim-first-run flag-file-path) > #$@gexps) > > In my case, it appears that gexps is empty, resulting in the invalid syntax. Ah, yep, that's an issue. That issue was introduced in 6b0a32196982a0a2f4dbb59d35e55833a5545ac6. I guess this raises a question about how to resolve this: if we have no gexps, do we still want to claim the first run? If yes: we can add #t (or whatever) to the end of the "when" form to make sure it's never empty. If no: we can generate an empty on-first-login script that does nothing. The previous behaviour was to still claim the first run, so I'll send through a patch that does that. Carlo From unknown Sun Jun 22 00:43:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66659: [PATCH] home: services: Don't crash on-first-login when nothing to do Resent-From: Carlo Zancanaro Original-Sender: "Debbugs-submit" Resent-CC: , bug-guix@gnu.org Resent-Date: Sat, 21 Oct 2023 09:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66659 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66659@debbugs.gnu.org Cc: ( , Andrew Tropin , Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-Xcc: ( , Andrew Tropin , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 66659-submit@debbugs.gnu.org id=B66659.169788121528217 (code B ref 66659); Sat, 21 Oct 2023 09:41:01 +0000 Received: (at 66659) by debbugs.gnu.org; 21 Oct 2023 09:40:15 +0000 Received: from localhost ([127.0.0.1]:42216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu8St-0007L2-3e for submit@debbugs.gnu.org; Sat, 21 Oct 2023 05:40:15 -0400 Received: from voltorb.zancanaro.id.au ([45.77.50.64]:47410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu8Sn-0007Kj-VP for 66659@debbugs.gnu.org; Sat, 21 Oct 2023 05:40:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=D13rE6HqSrLglhr HuJ19dRV4u/pNiGThICrYKrXobvg=; h=references:in-reply-to:date:subject: to:from; d=zancanaro.id.au; b=PDgcJRqEkF6YKbRHPrVPez+CpJMAQuLs9VU1yqji NAIqxFJgsVbOKPUhg5SPTQLdAi1xo7hpvtYiU6mj9TKOveuTbE2rJg63omwwIJIq0fj947 SABXoyG3GPUFZ8h5jwzPIjmgmxblvp5cRYwu/ijsetXMNT69GpgqN7OHWtJ2E= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id 957c49ed (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <66659@debbugs.gnu.org>; Sat, 21 Oct 2023 09:39:09 +0000 (UTC) From: Carlo Zancanaro Date: Sat, 21 Oct 2023 20:39:21 +1100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <87pm18codq.fsf@zancanaro.id.au> References: <87pm18codq.fsf@zancanaro.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) 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 (-) * gnu/home/services.scm (compute-on-first-login-script): Ensure that WHEN is syntactically valid in expansion. --- gnu/home/services.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/home/services.scm b/gnu/home/services.scm index 651c068f79..3f018e3893 100644 --- a/gnu/home/services.scm +++ b/gnu/home/services.scm @@ -435,7 +435,10 @@ (define (compute-on-first-login-script _ gexps) ;; after complete logout/reboot. (if (file-exists? xdg-runtime-dir) (when (claim-first-run flag-file-path) - #$@gexps) + #$@gexps + ;; An empty WHEN body is not syntactically valid, so we put an + ;; arbitrary form here to ensure it's not empty. + #t) ;; TRANSLATORS: 'on-first-login' is the name of a service and ;; shouldn't be translated (warning (G_ "XDG_RUNTIME_DIR doesn't exists, on-first-login script base-commit: 80c8f5b57aa3699445fab29e0f75f5955e697509 -- 2.41.0 From unknown Sun Jun 22 00:43:52 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nils Landt Subject: bug#66659: closed (Re: bug#66659: (home-)on-first-login script broken when no gexps are added) Message-ID: References: <87o7gsqcyc.fsf@gnu.org> <1084731920.55297.1697868845432@office.mailbox.org> X-Gnu-PR-Message: they-closed 66659 X-Gnu-PR-Package: guix Reply-To: 66659@debbugs.gnu.org Date: Sat, 21 Oct 2023 14:16:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1697897762-19514-1" This is a multi-part message in MIME format... ------------=_1697897762-19514-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #66659: (home-)on-first-login script broken when no gexps are added which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 66659@debbugs.gnu.org. --=20 66659: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D66659 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1697897762-19514-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 66659-done) by debbugs.gnu.org; 21 Oct 2023 14:15:49 +0000 Received: from localhost ([127.0.0.1]:44784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quClY-0004jV-Ps for submit@debbugs.gnu.org; Sat, 21 Oct 2023 10:15:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quClX-0004VT-Iu for 66659-done@debbugs.gnu.org; Sat, 21 Oct 2023 10:15:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1quCkx-000834-MA; Sat, 21 Oct 2023 10:15:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=GkTniW5zMismmbxuqZiTtkkYGF5IxY9l/hA1x59ZKRo=; b=HizdbjYzupopBD7UF/Fl c2PBEq79KZzAWPtQCNRSwgLET2u/927f6C9cspMIj/zI9rmJ5Wnu/SaopuVRGci/eGBBOyZ6veZMx jm4+uZHDpRcR28Ign1Z1+/O/oH8gKH4r7cbP4H4LQQHn2Vl7VWOs74n7acHIGkJ7PG8GbSQ2s/AmC mWJWUVCtXKfm7FDKuGVN9uhDLe58UiBE/0HuUbRvuc4FcXCVa4gBKf2UoedHB2ZSOFTTJB3oYWBuU h1NP+1CdrY5gGUe96jnGXEO5YepurwvPolNfI7J0uBtZxGxLogzyJ3IjhwhK89rWwWQNsJzbaE3Kq rwFUa6iiwOr3ag==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Carlo Zancanaro Subject: Re: bug#66659: (home-)on-first-login script broken when no gexps are added In-Reply-To: <87pm18codq.fsf@zancanaro.id.au> (Carlo Zancanaro's message of "Sat, 21 Oct 2023 20:27:12 +1100") References: <1084731920.55297.1697868845432@office.mailbox.org> <87pm18codq.fsf@zancanaro.id.au> Date: Sat, 21 Oct 2023 16:15:07 +0200 Message-ID: <87o7gsqcyc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66659-done Cc: 66659-done@debbugs.gnu.org, Nils Landt 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: -3.3 (---) Hi Carlo & Nils, Carlo Zancanaro skribis: > On Sat, Oct 21 2023, Nils Landt wrote: >> ... >> As you can see, there is no body in the "when" expression. >> >> Code in gnu/home/services.scm:438 : >> >> (if (file-exists? xdg-runtime-dir) >> (when (claim-first-run flag-file-path) >> #$@gexps) >> >> In my case, it appears that gexps is empty, resulting in the invalid syn= tax. > > Ah, yep, that's an issue. That issue was introduced in 6b0a32196982a0a2f4= dbb59d35e55833a5545ac6. > > I guess this raises a question about how to resolve this: if we have no g= exps, do we still want to claim the first run? > > If yes: we can add #t (or whatever) to the end of the "when" form to make= sure it's never empty. > > If no: we can generate an empty on-first-login script that does nothing. > > The previous behaviour was to still claim the first run, so I'll send thr= ough a patch that does that. I=E2=80=99ve just pushed something similar to what you provided, Carlo, in commit e098ba2f499bbddfea50c85058e4077e39b85513. We should be good now. Thank you! Ludo=E2=80=99. ------------=_1697897762-19514-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Oct 2023 06:14:58 +0000 Received: from localhost ([127.0.0.1]:42081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu5GA-00046m-Uk for submit@debbugs.gnu.org; Sat, 21 Oct 2023 02:14:58 -0400 Received: from lists.gnu.org ([2001:470:142::17]:35172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu5G6-00046R-3j for submit@debbugs.gnu.org; Sat, 21 Oct 2023 02:14:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qu5FY-0001V2-ML for bug-guix@gnu.org; Sat, 21 Oct 2023 02:14:16 -0400 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qu5FW-0007tN-Qh for bug-guix@gnu.org; Sat, 21 Oct 2023 02:14:16 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4SCB3x6sHQz9sdM for ; Sat, 21 Oct 2023 08:14:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landt.email; s=MBO0001; t=1697868845; h=from:from: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; bh=VHTrm6pdc+1UvRrmuwFz5MnhKb41AKfFejP8ZOHfgeE=; b=LKI2YANi/f2QKhV8EqsNrreX8tV9BfcObxfbKxvhMUN8sVDWYNWwZGOFy7ylwCpuwGuKp4 OTQqXqlR0PU6MhZT2rtbUXNdIzlWxARwEkjT1XegImJWJFC46C0d6Ns0isPNKKe9v+Cqp/ 32tCOKRxRTrcyGiL7MY/e9IRDDOYmUl3Hwv/b7DAg5yIRwKZ7ItouXu7pjzR4wVm20FK7H HFGFtouZy2G40H01O68gdkomuqTQeHMIFm/LFBWQe5Iajmgo33qbvlOLI7bmg3enhKgYRN yuZpylZ2os1yVWViJnqZFTbCRCJNkzpuVs0z8mBWvfpzQxNz1bVUw2iUVROQQg== Date: Sat, 21 Oct 2023 08:14:05 +0200 (CEST) From: Nils Landt To: "bug-guix@gnu.org" Message-ID: <1084731920.55297.1697868845432@office.mailbox.org> Subject: (home-)on-first-login script broken when no gexps are added MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal Received-SPF: pass client-ip=2001:67c:2050:0:465::103; envelope-from=nils@landt.email; helo=mout-p-103.mailbox.org 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) Error message: ice-9/psyntax.scm:2824:12: In procedure syntax-violation: Syntax error: /home/nl/.guix-home/on-first-login:3:1233: source expression failed to match any pattern in form (when (claim-first-run flag-file-path)) As you can see, there is no body in the "when" expression. Code in gnu/home/services.scm:438 : (if (file-exists? xdg-runtime-dir) (when (claim-first-run flag-file-path) #$@gexps) In my case, it appears that gexps is empty, resulting in the invalid syntax. Broken by b92235ea8b06e304072bad55ae006593ea673568 ------------=_1697897762-19514-1-- From unknown Sun Jun 22 00:43:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66659: closed (Re: bug#66659: (home-)on-first-login script broken when no gexps are added) Resent-From: Nils Landt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 24 Oct 2023 10:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66659 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66659@debbugs.gnu.org Received: via spool by 66659-submit@debbugs.gnu.org id=B66659.169814198411698 (code B ref 66659); Tue, 24 Oct 2023 10:07:02 +0000 Received: (at 66659) by debbugs.gnu.org; 24 Oct 2023 10:06:24 +0000 Received: from localhost ([127.0.0.1]:53246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvEIp-00032Z-8c for submit@debbugs.gnu.org; Tue, 24 Oct 2023 06:06:23 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:47228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvEIl-00032J-CV for 66659@debbugs.gnu.org; Tue, 24 Oct 2023 06:06:21 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4SF73n38rkz9slt for <66659@debbugs.gnu.org>; Tue, 24 Oct 2023 12:05:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landt.email; s=MBO0001; t=1698141941; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=igV6ftIh21e5LDKXmNO4EgDKDBtkv9FaxXHFQ2TtE+k=; b=LxOlsGHYjIKCeO2Tq8fYmHJ3ZQCkf0n1trWpNr6nF4dbIUWvX0wg/3LNaO1Nn3+iqc6mpa ++VvUsFS7grNoJEDimFpM79oGDIHHd5XTxgzqi2CyDAUEFKdSFgIi2iXVfCw9crlbh+CAn g0trKXWWXTg8HGwhYhYRuTDn+S4qRV464ryZELC+YEArz7CqgHnSWsGLdDEEnRusBQkU+V RLlb7CyeqjMsXYzFP4DVif1NUwzu5DUo9BvmjgjLPYLiWAUIIeWMRqNeCEPV428XDPLne2 tWhrgYAliBOjVImKlafGQ6Jzoru7Pd28YTkRZqlpEI6gnOfKIRUI7dTc/OEskQ== Date: Tue, 24 Oct 2023 12:05:41 +0200 (CEST) From: Nils Landt Message-ID: <1963527562.259546.1698141941111@office.mailbox.org> In-Reply-To: References: <87o7gsqcyc.fsf@gnu.org> <1084731920.55297.1697868845432@office.mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Normal X-Rspamd-Queue-Id: 4SF73n38rkz9slt X-Spam-Score: -0.7 (/) 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.7 (-) > help-debbugs@gnu.org hat am 21.10.2023 16:16 CEST geschrieben: >=20 > =20 > Your bug report >=20 > #66659: (home-)on-first-login script broken when no gexps are added >=20 > which was filed against the guix package, has been closed. >=20 > The explanation is attached below, along with your original report. > If you require more details, please reply to 66659@debbugs.gnu.org. >=20 > --=20 > 66659: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D66659 > GNU Bug Tracking System > Contact help-debbugs@gnu.org with problems > Hi Carlo & Nils, >=20 > I=E2=80=99ve just pushed something similar to what you provided, Carlo, i= n > commit e098ba2f499bbddfea50c85058e4077e39b85513. >=20 > We should be good now. I'm afraid this did not fix the issue. It results in (when (claim-first-run flag-file-path) (begin)) which leads to the new error message "Syntax error: /home/nl/.guix-home/on-first-login:3:1272: sequence of zero expressions in = form (begin)" From unknown Sun Jun 22 00:43:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66659: (home-)on-first-login script broken when no gexps are added References: <1084731920.55297.1697868845432@office.mailbox.org> In-Reply-To: <1084731920.55297.1697868845432@office.mailbox.org> Resent-From: Rostislav Svoboda Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 24 Oct 2023 14:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66659 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66659@debbugs.gnu.org Received: via spool by 66659-submit@debbugs.gnu.org id=B66659.169815713528594 (code B ref 66659); Tue, 24 Oct 2023 14:19:02 +0000 Received: (at 66659) by debbugs.gnu.org; 24 Oct 2023 14:18:55 +0000 Received: from localhost ([127.0.0.1]:56085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvIFD-0007R7-4t for submit@debbugs.gnu.org; Tue, 24 Oct 2023 10:18:55 -0400 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:48217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvIFA-0007Qh-HH for 66659@debbugs.gnu.org; Tue, 24 Oct 2023 10:18:53 -0400 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-507a62d4788so7199035e87.0 for <66659@debbugs.gnu.org>; Tue, 24 Oct 2023 07:18:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698157096; x=1698761896; darn=debbugs.gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=BfrIK/H3MoXrZIUCKWqpa+YTMvB4j8+hJwaG7bVDyFQ=; b=Ban8XfaMOJa16jmbTfn/WweMz2qLcFGuLciaW7EUyeIV54jAyatHj4/hvm4AB+QHGK Q+5ZrxEsvFh9lAhPAAXslaz5R9p4TeW+gZg2smh+cyESPhEHy/qwiPEV+g6MysO3ONW7 af6MOIa709LO84SvLtw637Lj1VSSPR2CuF0+LPbd69R+i793BurUy9I75p4Dg0xfp+r4 Q/OylD4ilxULlj6QOj7jwLf8+W20YSQbd3/6vEA4K7DE8vJgXqozpfZwCgtF6/oCUXA8 0ayByg+L4mKoWTyCsQcDJOF16nOAZNyNH+/qzf437zczpz49F+0ONL71XP9VA7TM18V0 U2uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698157096; x=1698761896; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=BfrIK/H3MoXrZIUCKWqpa+YTMvB4j8+hJwaG7bVDyFQ=; b=JderfRRgBvj8U/xFEVEbvpq9AaYYakSHwF0bC0gvCLxy5WtUIGe+suX9D7EmKSVBOI h2msMpDL3RYjaaQCv6ACrOSqUZaYtDu5QSmwXY64rwdkvFd5OvnRWkmYWp1xt5t+wL9K /K+l8MF3bYsk02FGzaRUAI93vBnk/ZTr5mLXMCVyB1COYA2wJ/Ls725oyghdNq3Wb7Hn aDFe/7Has/J0CZ18PiRf63ezqRJA4f5TQu3TCLeLo1TN2UqpIWHo53JmHnidJ+zxg15x xoitTrHellqCi9vJS4ql9h8HVe99+tarnv59dZJobIuqojlB0J5rKWqEcrNH0gMZlCyK 1B2Q== X-Gm-Message-State: AOJu0YxdicreodSUTDDz0ldipupHomvDOhjuuahGJt2RpAKbv9JOdag+ NxrzMJcKeCdgC//ADVDQ6pdonmyxlTYpga6vhkFzH3DL2iNDeqCK X-Google-Smtp-Source: AGHT+IE3DpD7pIRiKEDS2uEAwQXWVqcks4Ehx9qOk/llEKgwk1n2Hx9Le74KAaYz+ujp32ctVzfZ/GYritpwvdbVLHc= X-Received: by 2002:ac2:51bb:0:b0:507:9740:b6db with SMTP id f27-20020ac251bb000000b005079740b6dbmr8488676lfk.67.1698157095962; Tue, 24 Oct 2023 07:18:15 -0700 (PDT) MIME-Version: 1.0 From: Rostislav Svoboda Date: Tue, 24 Oct 2023 16:17:39 +0200 Message-ID: Content-Type: multipart/mixed; boundary="0000000000007a944806087702bc" X-Spam-Score: 0.0 (/) 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 (-) --0000000000007a944806087702bc Content-Type: text/plain; charset="UTF-8" > > I've just pushed something similar to what you provided, Carlo, in > > commit e098ba2f499bbddfea50c85058e4077e39b85513. > > > > We should be good now. > > I'm afraid this did not fix the issue. It results in > (when (claim-first-run flag-file-path) (begin)) > > which leads to the new error message "Syntax error: > /home/nl/.guix-home/on-first-login:3:1272: sequence of zero expressions in form (begin)" Adding *unspecified* works for me. I.e.: (when (claim-first-run flag-file-path) ;; GEXPS can be empty, hence 'begin *unspecified*'. Having just ;; 'begin' without '*unspecified*' leads to ;; "Syntax error: ... sequence of zero expressions in form (begin)" (begin *unspecified* #$@gexps)) The patch is in the attachment. Cheers Bost --0000000000007a944806087702bc Content-Type: text/x-patch; charset="UTF-8"; name="0001-home-services-Fix-regression-in-generated-on-first-l.patch" Content-Disposition: attachment; filename="0001-home-services-Fix-regression-in-generated-on-first-l.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lo4esuio0 RnJvbSA5NmRhODQ4ZGRlZWMxMWYyMDdkYWJlYzY0YTVkMzE0YzI4ZTZjNDZmIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpNZXNzYWdlLUlEOiA8OTZkYTg0OGRkZWVjMTFmMjA3ZGFiZWM2NGE1ZDMx NGMyOGU2YzQ2Zi4xNjk4MTU2ODg3LmdpdC5Sb3N0aXNsYXYuU3ZvYm9kYUBnbWFpbC5jb20+CkZy b206IFJvc3Rpc2xhdiBTdm9ib2RhIDxSb3N0aXNsYXYuU3ZvYm9kYUBnbWFpbC5jb20+CkRhdGU6 IFR1ZSwgMjQgT2N0IDIwMjMgMTY6MDg6MTAgKzAyMDAKU3ViamVjdDogW1BBVENIXSA9P1VURi04 P3E/aG9tZTo9MjBzZXJ2aWNlczo9MjBGaXg9MjByZWdyZXNzaW9uPTIwaW49MjBnZW4/PQogPT9V VEYtOD9xP2VyYXRlZD0yMD1FMj04MD05OG9uLWZpcnN0LWxvZ2luPUUyPTgwPTk5PTIwc2NyaXB0 Lj89Ck1JTUUtVmVyc2lvbjogMS4wCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbjsgY2hhcnNldD1V VEYtOApDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiA4Yml0CgpGaXhlcyA8aHR0cHM6Ly9pc3N1 ZXMuZ3VpeC5nbnUub3JnLzY2NjU5Pi4KCkZpeGVzIGEgcmVncmVzc2lvbiBpbnRyb2R1Y2VkIGlu IDZiMGEzMjE5Njk4MmEwYTJmNGRiYjU5ZDM1ZTU1ODMzYTU1NDVhYzYuIFRoZQpmaXJzdCBhdHRl bXB0IGluIGUwOThiYTJmNDk5YmJkZGZlYTUwYzg1MDU4ZTQwNzdlMzliODU1MTMgdG8gZml4IHRo aXMgaXNzdWUgZGlkbid0IHdvcmsuCgoqIGdudS9ob21lL3NlcnZpY2VzLnNjbSAoY29tcHV0ZS1v bi1maXJzdC1sb2dpbi1zY3JpcHQpOiBBZGQK4oCYYmVnaW4gKnVuc3BlY2lmaWVkKuKAmSBhcm91 bmQgIyRAZ2V4cHMuCgpDaGFuZ2UtSWQ6IEkxNDMzOWFkNjg0ZmZlOTNlNjkyZTUwN2I1N2RjZDIy MWQ5NjIxMGVmCi0tLQogZ251L2hvbWUvc2VydmljZXMuc2NtIHwgNSArKysrLQogMSBmaWxlIGNo YW5nZWQsIDQgaW5zZXJ0aW9ucygrKSwgMSBkZWxldGlvbigtKQoKZGlmZiAtLWdpdCBhL2dudS9o b21lL3NlcnZpY2VzLnNjbSBiL2dudS9ob21lL3NlcnZpY2VzLnNjbQppbmRleCAyODJmZWQ3NGMx Li40NGY1ODVhZmY1IDEwMDY0NAotLS0gYS9nbnUvaG9tZS9zZXJ2aWNlcy5zY20KKysrIGIvZ251 L2hvbWUvc2VydmljZXMuc2NtCkBAIC00MzUsNyArNDM1LDEwIEBAIChkZWZpbmUgKGNvbXB1dGUt b24tZmlyc3QtbG9naW4tc2NyaXB0IF8gZ2V4cHMpCiAgICAgICAgICA7OyBhZnRlciBjb21wbGV0 ZSBsb2dvdXQvcmVib290LgogICAgICAgICAgKGlmIChmaWxlLWV4aXN0cz8geGRnLXJ1bnRpbWUt ZGlyKQogICAgICAgICAgICAgICh3aGVuIChjbGFpbS1maXJzdC1ydW4gZmxhZy1maWxlLXBhdGgp Ci0gICAgICAgICAgICAgICAoYmVnaW4gIyRAZ2V4cHMpKSAgICAgICAgICAgIDtHRVhQUyBjYW4g YmUgZW1wdHksIGhlbmNlICdiZWdpbicKKyAgICAgICAgICAgICAgIDs7IEdFWFBTIGNhbiBiZSBl bXB0eSwgaGVuY2UgJ2JlZ2luICp1bnNwZWNpZmllZConLiBIYXZpbmcganVzdAorICAgICAgICAg ICAgICAgOzsgJ2JlZ2luJyB3aXRob3V0ICcqdW5zcGVjaWZpZWQqJyBsZWFkcyB0bworICAgICAg ICAgICAgICAgOzsgIlN5bnRheCBlcnJvcjogLi4uIHNlcXVlbmNlIG9mIHplcm8gZXhwcmVzc2lv bnMgaW4gZm9ybSAoYmVnaW4pIgorICAgICAgICAgICAgICAgKGJlZ2luICp1bnNwZWNpZmllZCog IyRAZ2V4cHMpKQogICAgICAgICAgICAgIDs7IFRSQU5TTEFUT1JTOiAnb24tZmlyc3QtbG9naW4n IGlzIHRoZSBuYW1lIG9mIGEgc2VydmljZSBhbmQKICAgICAgICAgICAgICA7OyBzaG91bGRuJ3Qg YmUgdHJhbnNsYXRlZAogICAgICAgICAgICAgICh3YXJuaW5nIChHXyAiWERHX1JVTlRJTUVfRElS IGRvZXNuJ3QgZXhpc3RzLCBvbi1maXJzdC1sb2dpbiBzY3JpcHQKCmJhc2UtY29tbWl0OiBkMjJk MmEwNWMzODkyMDdmOGNkY2Y4MjRiZTc3MzhiMTQ5OWE5ODdjCi0tIAoyLjQxLjAKCg== --0000000000007a944806087702bc-- From unknown Sun Jun 22 00:43:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66659: (home-)on-first-login script broken when no gexps are added Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 24 Oct 2023 23:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66659 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nils Landt Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 66659@debbugs.gnu.org Received: via spool by 66659-submit@debbugs.gnu.org id=B66659.16981896319984 (code B ref 66659); Tue, 24 Oct 2023 23:21:02 +0000 Received: (at 66659) by debbugs.gnu.org; 24 Oct 2023 23:20:31 +0000 Received: from localhost ([127.0.0.1]:56873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvQhK-0002aw-IY for submit@debbugs.gnu.org; Tue, 24 Oct 2023 19:20:31 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:48635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvQhH-0002ah-TK for 66659@debbugs.gnu.org; Tue, 24 Oct 2023 19:20:29 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id E3BA05C032D; Tue, 24 Oct 2023 19:19:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 24 Oct 2023 19:19:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lassieur.org; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1698189592; x=1698275992; bh=NTI5P1cQF8Uf5HgDtS6Yhkcw+CWOrVlFgI/ NQ0wrTnA=; b=fqiq71BUPpH4fiDxGpiXMaGcmoMXPti3wJT1hi0qZF+xxoUAxvH PPslKQSsIEHoBK1w+lOR9mC1Mw1H+LHsBzlECO3eCIqGGvvu4+vI/Nzu9iOvVWbP 1MQ9nMYSCDy0aHW+WKE7iV09qFCMQN1ufqce/3IXJHBq4IJmGH5UoOhKtC9s9mds efWEoz+T7X3sAYzm8O8ae+X5yDBtFb3pD6+WbHM3FHoGUuSeQOYJdN1zKZteeNXS A7xPYp4/t4PcVs6WkUsbPVD652clL2+ctjzzk5y/Ke8wqUXVR+IninIK79EgLv4C nudkSqli4wlbkOn4KUU2K1fu3E609+RrQTQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1698189592; x=1698275992; bh=NTI5P1cQF8Uf5HgDtS6Yhkcw+CWOrVlFgI/ NQ0wrTnA=; b=R4ETQFgAXU2EOsB01bollR4XYnBF79esEkgKC4DnA3nNjWDt1p4 Mt+P3Q9QBXjcY5sHwZuzx+ECF4sFdzpooqalmaBoWRobAkqlhi9gISPVqJV8eedU /A3Vhc4UAVruUsMbSgtueXiBqoKKHE2DKnctTuDWE6M52o8VPd0zqvOZRxYMAkHB b0w6+zk6OjB9PxftZvFebFlnten/ie2M/+uB8bCRMRyt1/xsdx5enYJ4wuiOgw0A tzYdsKjr1SIdY7eXzGuFb9TwKYPULASuPDYK5YaLhwGob3fJsGXTMNe22+3IGzbz mHWnQCbl8kGNoUta6+rbfeL8v0xKzrnl2Vg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrkeelgddvtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufgjfhffkfgfgggtgfesthhqredttderjeenucfhrhhomhepvehlrohm vghnthcunfgrshhsihgvuhhruceotghlvghmvghntheslhgrshhsihgvuhhrrdhorhhgqe enucggtffrrghtthgvrhhnpeegkeehfefftdefffeuveekgfffhfdtudfgudegueegvefg udetffdugfefhfejudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegtlhgvmhgvnhhtsehlrghsshhivghurhdrohhrgh X-ME-Proxy: Feedback-ID: i4c21472a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 24 Oct 2023 19:19:51 -0400 (EDT) From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur In-Reply-To: <1963527562.259546.1698141941111@office.mailbox.org> (Nils Landt's message of "Tue, 24 Oct 2023 12:05:41 +0200 (CEST)") References: <87o7gsqcyc.fsf@gnu.org> <1084731920.55297.1697868845432@office.mailbox.org> <1963527562.259546.1698141941111@office.mailbox.org> Date: Wed, 25 Oct 2023 01:19:47 +0200 Message-ID: <875y2v38x8.fsf_-_@lassieur.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) 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.7 (-) Nils Landt writes: >> I=E2=80=99ve just pushed something similar to what you provided, Carlo, = in >> commit e098ba2f499bbddfea50c85058e4077e39b85513. >>=20 >> We should be good now. > > I'm afraid this did not fix the issue. It results in > (when (claim-first-run flag-file-path) (begin)) > > which leads to the new error message "Syntax error: > /home/nl/.guix-home/on-first-login:3:1272: sequence of zero expressions i= n form (begin)" Hi, I just ran into the same issue. Thanks, Cl=C3=A9ment From unknown Sun Jun 22 00:43:52 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nils Landt Subject: bug#66659: closed (Re: bug#66659: (home-)on-first-login script broken when no gexps are added) Message-ID: References: <87wmv8yv4o.fsf@lassieur.org> <1084731920.55297.1697868845432@office.mailbox.org> X-Gnu-PR-Message: they-closed 66659 X-Gnu-PR-Package: guix Reply-To: 66659@debbugs.gnu.org Date: Fri, 27 Oct 2023 14:55:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1698418502-26261-1" This is a multi-part message in MIME format... ------------=_1698418502-26261-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #66659: (home-)on-first-login script broken when no gexps are added which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 66659@debbugs.gnu.org. --=20 66659: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D66659 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1698418502-26261-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 66659-done) by debbugs.gnu.org; 27 Oct 2023 14:54:19 +0000 Received: from localhost ([127.0.0.1]:36856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwOE3-0006oL-EL for submit@debbugs.gnu.org; Fri, 27 Oct 2023 10:54:19 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:40025) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwODx-0006o3-BR for 66659-done@debbugs.gnu.org; Fri, 27 Oct 2023 10:54:13 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id E761F5C02A8; Fri, 27 Oct 2023 10:53:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 27 Oct 2023 10:53:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lassieur.org; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1698418411; x=1698504811; bh=qwEb7arV5dbL9BB0K8P1dEYfINEoimNEgZO Uc5NYzt8=; b=a15U5KF6q8pBPlGT32SO8jJWah5Rcvc+FQV6f/sziO0h/QTtZq8 z37qmJCvSYFwj70DDrvpwUiNjKfFyIQFbC+NjLYoTXq11/v+00wDD872KA+ccAhy Dbhnv4x7KoHhukfN4v4JKJcWpXL0itLj5Jl9yQM9zbBxoYI2FIslhtn0SQHUpC2E c//NW2RwMG9kUpnU/IEDoi6ARQoanflShWBq546iwyKdzuLZAwufx719Sf7rDzOF 3hFKuCBiXUFmnDNqov0JumT0dBu/4b3RuFGN/5f4XGrl2KcAXg34g6CTQEFapWMZ nI5ms+m8Q1PVrRasRQKbE+jfpucD+hp7LzQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1698418411; x=1698504811; bh=qwEb7arV5dbL9BB0K8P1dEYfINEoimNEgZO Uc5NYzt8=; b=kq3SEEe8lYVZfoWf7+PnNVg5KE2ko/83md4xXym2Ejw6B/oZBLL B22wljuRZlyb/j7/Yrj64dZDGrdKd33ZzNiy2SoJZDw50M1JR7SpClb5Hg4qzdFQ A6rH5O0IKcG/tUZCnh8jlNc4KcemmHlBHoEq1Ts4Z6FDAwMCg6tZakJzSQIjZmEm hErImAsPjWiyaQFAo7RUh1IbcLJiPmcQmPWC4wOvN75TxJm3gV6gn+sZwwV9C86C xthstsf1cDCp7b62QRVgPVAZdhwF6wtWSjhg3ZFcbIcoE4IOvp4HnxUT5DXPD01h 7B4Wl1eobGDAHQgEDgYIacv73ov8rHAe3Xw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrleeggdekvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufgjfhffkfgfgggtgfesthhqredttderjeenucfhrhhomhepvehlrohm vghnthcunfgrshhsihgvuhhruceotghlvghmvghntheslhgrshhsihgvuhhrrdhorhhgqe enucggtffrrghtthgvrhhnpeegkeehfefftdefffeuveekgfffhfdtudfgudegueegvefg udetffdugfefhfejudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegtlhgvmhgvnhhtsehlrghsshhivghurhdrohhrgh X-ME-Proxy: Feedback-ID: i4c21472a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 27 Oct 2023 10:53:30 -0400 (EDT) From: =?utf-8?Q?Cl=C3=A9ment_Lassieur?= To: Rostislav Svoboda Subject: Re: bug#66659: (home-)on-first-login script broken when no gexps are added In-Reply-To: (Rostislav Svoboda's message of "Tue, 24 Oct 2023 16:17:39 +0200") References: <1084731920.55297.1697868845432@office.mailbox.org> Date: Fri, 27 Oct 2023 16:53:27 +0200 Message-ID: <87wmv8yv4o.fsf@lassieur.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 66659-done Cc: 66659-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.7 (-) On Tue, Oct 24 2023, Rostislav Svoboda wrote: >> > I've just pushed something similar to what you provided, Carlo, in >> > commit e098ba2f499bbddfea50c85058e4077e39b85513. >> > >> > We should be good now. >> >> I'm afraid this did not fix the issue. It results in >> (when (claim-first-run flag-file-path) (begin)) >> >> which leads to the new error message "Syntax error: >> /home/nl/.guix-home/on-first-login:3:1272: sequence of zero expressions = in form (begin)" > > Adding *unspecified* works for me. I.e.: > > (when (claim-first-run flag-file-path) > ;; GEXPS can be empty, hence 'begin *unspecified*'. Having just > ;; 'begin' without '*unspecified*' leads to > ;; "Syntax error: ... sequence of zero expressions in form (begin)" > (begin *unspecified* #$@gexps)) > > The patch is in the attachment. > > Cheers Bost Applied as 2de30042674197fe451c220745186e36465d06e2, thanks! Cl=C3=A9ment ------------=_1698418502-26261-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Oct 2023 06:14:58 +0000 Received: from localhost ([127.0.0.1]:42081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu5GA-00046m-Uk for submit@debbugs.gnu.org; Sat, 21 Oct 2023 02:14:58 -0400 Received: from lists.gnu.org ([2001:470:142::17]:35172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu5G6-00046R-3j for submit@debbugs.gnu.org; Sat, 21 Oct 2023 02:14:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qu5FY-0001V2-ML for bug-guix@gnu.org; Sat, 21 Oct 2023 02:14:16 -0400 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qu5FW-0007tN-Qh for bug-guix@gnu.org; Sat, 21 Oct 2023 02:14:16 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4SCB3x6sHQz9sdM for ; Sat, 21 Oct 2023 08:14:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landt.email; s=MBO0001; t=1697868845; h=from:from: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; bh=VHTrm6pdc+1UvRrmuwFz5MnhKb41AKfFejP8ZOHfgeE=; b=LKI2YANi/f2QKhV8EqsNrreX8tV9BfcObxfbKxvhMUN8sVDWYNWwZGOFy7ylwCpuwGuKp4 OTQqXqlR0PU6MhZT2rtbUXNdIzlWxARwEkjT1XegImJWJFC46C0d6Ns0isPNKKe9v+Cqp/ 32tCOKRxRTrcyGiL7MY/e9IRDDOYmUl3Hwv/b7DAg5yIRwKZ7ItouXu7pjzR4wVm20FK7H HFGFtouZy2G40H01O68gdkomuqTQeHMIFm/LFBWQe5Iajmgo33qbvlOLI7bmg3enhKgYRN yuZpylZ2os1yVWViJnqZFTbCRCJNkzpuVs0z8mBWvfpzQxNz1bVUw2iUVROQQg== Date: Sat, 21 Oct 2023 08:14:05 +0200 (CEST) From: Nils Landt To: "bug-guix@gnu.org" Message-ID: <1084731920.55297.1697868845432@office.mailbox.org> Subject: (home-)on-first-login script broken when no gexps are added MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal Received-SPF: pass client-ip=2001:67c:2050:0:465::103; envelope-from=nils@landt.email; helo=mout-p-103.mailbox.org 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) Error message: ice-9/psyntax.scm:2824:12: In procedure syntax-violation: Syntax error: /home/nl/.guix-home/on-first-login:3:1233: source expression failed to match any pattern in form (when (claim-first-run flag-file-path)) As you can see, there is no body in the "when" expression. Code in gnu/home/services.scm:438 : (if (file-exists? xdg-runtime-dir) (when (claim-first-run flag-file-path) #$@gexps) In my case, it appears that gexps is empty, resulting in the invalid syntax. Broken by b92235ea8b06e304072bad55ae006593ea673568 ------------=_1698418502-26261-1-- From unknown Sun Jun 22 00:43:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66659: (home-)on-first-login script broken when no gexps are added Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 27 Oct 2023 22:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66659 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nils Landt , Rostislav Svoboda , =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Cc: 66659@debbugs.gnu.org Received: via spool by 66659-submit@debbugs.gnu.org id=B66659.169844539525573 (code B ref 66659); Fri, 27 Oct 2023 22:24:02 +0000 Received: (at 66659) by debbugs.gnu.org; 27 Oct 2023 22:23:15 +0000 Received: from localhost ([127.0.0.1]:37441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwVEZ-0006eP-7p for submit@debbugs.gnu.org; Fri, 27 Oct 2023 18:23:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwVEU-0006e9-DB for 66659@debbugs.gnu.org; Fri, 27 Oct 2023 18:23:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwVDs-0005qM-KB; Fri, 27 Oct 2023 18:22:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=YIfDiv6mBTV9SEfk+LBaPDL0KNqcADTOByozkv34Opg=; b=PX/osIj1h+syXLYMTNh5 yWoIRG+5p5elsIr3kx+jbEdeIaYOWSe4XWV/nBp1FOxOIUOoze0VJ624LFeCSPuJ4YQQahRd6ANg0 uIP2ziUkdndAmktunO7qcyxXN+uYAPbgngyWR/c63Vi14MWj2JSvBq9WUFDDV3uxLKUXUBazqHlkZ O4rfxiYxR6aBuzoLo/vGEFYxb6FRsEBhpyf8tfAJjNMQTTpngN9RT6GFoKBPJUF7xCClu4seAGYdP iS3WAUrGqKkDSewpHsFU2entu0EORHpL02LsiPAo8f3D7PZwZZ3QWuzKu9ppaHfcivXza5CHXqoiM bch9jNDyEhMqjg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <1963527562.259546.1698141941111@office.mailbox.org> (Nils Landt's message of "Tue, 24 Oct 2023 12:05:41 +0200 (CEST)") References: <87o7gsqcyc.fsf@gnu.org> <1084731920.55297.1697868845432@office.mailbox.org> <1963527562.259546.1698141941111@office.mailbox.org> Date: Sat, 28 Oct 2023 00:22:29 +0200 Message-ID: <87lebnaeoq.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hi, Nils Landt skribis: > I'm afraid this did not fix the issue. It results in > (when (claim-first-run flag-file-path) (begin)) > > which leads to the new error message "Syntax error: > /home/nl/.guix-home/on-first-login:3:1272: sequence of zero expressions i= n form (begin)" Oops, my bad. (I did check at the REPL that (begin) was fine but forgot that I was checking the top-level =E2=80=98begin=E2=80=99 form, which is no= t the same as the sequencing =E2=80=98begin=E2=80=99 form=E2=80=A6) Rostislav Svoboda skribis: > Adding *unspecified* works for me. I.e.: > > (when (claim-first-run flag-file-path) > ;; GEXPS can be empty, hence 'begin *unspecified*'. Having just > ;; 'begin' without '*unspecified*' leads to > ;; "Syntax error: ... sequence of zero expressions in form (begin)" > (begin *unspecified* #$@gexps)) > > The patch is in the attachment. Thanks Rostislav and everyone, and apologies for not replying earlier! Ludo=E2=80=99.