From unknown Sat Sep 20 15:43:28 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54876] [PATCH] gnu: sbcl-py4cl: Fix path to python3. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Apr 2022 02:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54876 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54876@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Reply-To: "Paul A. Patience" Received: via spool by submit@debbugs.gnu.org id=B.164973215222956 (code B ref -1); Tue, 12 Apr 2022 02:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Apr 2022 02:55:52 +0000 Received: from localhost ([127.0.0.1]:46826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne6h6-0005yC-9u for submit@debbugs.gnu.org; Mon, 11 Apr 2022 22:55:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:51234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne6h4-0005y4-GM for submit@debbugs.gnu.org; Mon, 11 Apr 2022 22:55:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne6h4-0003WK-6u for guix-patches@gnu.org; Mon, 11 Apr 2022 22:55:50 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]:37638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne6h1-0000eE-HT for guix-patches@gnu.org; Mon, 11 Apr 2022 22:55:49 -0400 Date: Tue, 12 Apr 2022 02:55:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1649732143; bh=PLGE52dQV4jlmL0OtHpMiRCjSkm/0OiBwy4K/lERZ5I=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=Mlrf82GvOYUoGck5S0PfpR4QVwccWj9+kM5/hgBiomQYOUpCycsVNCuWiMRHqmu2J Qq1xI9FExmq1ai4bTbiCROB9zMLEEvu9A5CIhKvSEzatYoTcCCqk+GfXEeu4pyNKuZ rr1Z+KoC8Ku/AQEukxpvVDZqi09zOrFf5Fccgfl0YXcvniXUCfZtqBejuEJ6JNVit8 v8vjR4Y+pdaeC2s7+YRxHC6wqNycDHDtvkFoW/7dDvcCSJFsK8yhJEH0QnfGKz3Blp vMVlRzvruXYCD+w9J9Pm84YOp3zQoPUtFiizP22uqs/ss8zrB85nCtzKzVoMLzX+PV ofRNvnTOi/xGQ== From: "Paul A. Patience" Message-ID: <20220412025518.5253-1-paul@apatience.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=paul@apatience.com; helo=mail-4323.proton.ch 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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.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: -2.3 (--) * gnu/packages/lisp-xyz.scm (sbcl-py4cl)[arguments]: Add the 'fix-python3-path phase which sets py4cl:*python-command* to the absolute path to python3. --- gnu/packages/lisp-xyz.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 358bba4e89..10a46d4b9a 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -5180,6 +5180,12 @@ (define-public sbcl-py4cl (arguments '(#:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-python3-path + (lambda _ + (substitute* "src/callpython.lisp" + (("\\*python-command\\* \"python\"") + (string-append "*python-command* " + "\"" (which "python3") "\""))))) (add-after 'unpack 'replace-*base-directory*-var (lambda* (#:key outputs #:allow-other-keys) ;; In the ASD, the author makes an attempt to -- 2.35.1 From unknown Sat Sep 20 15:43:28 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: "Paul A. Patience" Subject: bug#54876: closed (Re: [bug#54876] [PATCH] gnu: sbcl-py4cl: Fix path to python3.) Message-ID: References: <87bkx6wll3.fsf@kitej> <20220412025518.5253-1-paul@apatience.com> X-Gnu-PR-Message: they-closed 54876 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 54876@debbugs.gnu.org Date: Tue, 12 Apr 2022 12:09:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1649765342-27673-1" This is a multi-part message in MIME format... ------------=_1649765342-27673-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #54876: [PATCH] gnu: sbcl-py4cl: Fix path to python3. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 54876@debbugs.gnu.org. --=20 54876: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D54876 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1649765342-27673-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 54876-done) by debbugs.gnu.org; 12 Apr 2022 12:08:32 +0000 Received: from localhost ([127.0.0.1]:47852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neFJv-0007BW-V6 for submit@debbugs.gnu.org; Tue, 12 Apr 2022 08:08:32 -0400 Received: from mout02.posteo.de ([185.67.36.66]:56955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neFJu-0007BI-Tn for 54876-done@debbugs.gnu.org; Tue, 12 Apr 2022 08:08:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 62548240109 for <54876-done@debbugs.gnu.org>; Tue, 12 Apr 2022 14:08:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1649765305; bh=onJz21h+GNV29IZkpJeGX7cIoeHh+spvgeHv2syolzk=; h=From:To:Cc:Subject:Date:From; b=qoQfZTswF3blMcXG5Vwij8C/xsVUe7Yj+5uS7m17EZv/OM52fV+WBj1XyW3Qbf7Ok EUpEX3ZG7FhQ6/EqmtLRV1GM+b9M/eI0YeppyKRQHWmtCndoIKe//Btm5MFQAjAJEe gmKp+VHf7yABTxhsoXasPYD6f7gH4bCb4Od0FtuocI01LETsUMDMZYSRF7x8S5TIUV f47kAiFtwxKJ2/oOmruXaGXAE7xpA1op1iFw9uFruIIlo5/8SgG/t3nWxJVABA8XAy Nn82OVFo4IzyCjw7JEzrtWDNSZiRyp2wO+pF5NrVbOOP22o2PZkZJDcZnED6CFswB4 luMD3dtlWPUsg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Kd4Hr5ztDz6tm9; Tue, 12 Apr 2022 14:08:24 +0200 (CEST) References: <20220412025518.5253-1-paul@apatience.com> From: Guillaume Le Vaillant To: "Paul A. Patience" Subject: Re: [bug#54876] [PATCH] gnu: sbcl-py4cl: Fix path to python3. Date: Tue, 12 Apr 2022 12:07:45 +0000 In-reply-to: <20220412025518.5253-1-paul@apatience.com> Message-ID: <87bkx6wll3.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54876-done Cc: 54876-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: -3.3 (---) --=-=-= Content-Type: text/plain Patch pushed as 917c25b3ba0575c6c6e44f8af0d1365bb2378220. Thanks. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYlVruA8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/MtQEAmoNbSwCmsbSfljV5BCweW1rWu57BAdzXBZPv 3lvFA48BAJm9kMpo5Nj/khpwS4Fpo3MYG0vN4xXoMwt1CzRufRvr =IKwn -----END PGP SIGNATURE----- --=-=-=-- ------------=_1649765342-27673-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 Apr 2022 02:55:52 +0000 Received: from localhost ([127.0.0.1]:46826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne6h6-0005yC-9u for submit@debbugs.gnu.org; Mon, 11 Apr 2022 22:55:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:51234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne6h4-0005y4-GM for submit@debbugs.gnu.org; Mon, 11 Apr 2022 22:55:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne6h4-0003WK-6u for guix-patches@gnu.org; Mon, 11 Apr 2022 22:55:50 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]:37638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne6h1-0000eE-HT for guix-patches@gnu.org; Mon, 11 Apr 2022 22:55:49 -0400 Date: Tue, 12 Apr 2022 02:55:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1649732143; bh=PLGE52dQV4jlmL0OtHpMiRCjSkm/0OiBwy4K/lERZ5I=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=Mlrf82GvOYUoGck5S0PfpR4QVwccWj9+kM5/hgBiomQYOUpCycsVNCuWiMRHqmu2J Qq1xI9FExmq1ai4bTbiCROB9zMLEEvu9A5CIhKvSEzatYoTcCCqk+GfXEeu4pyNKuZ rr1Z+KoC8Ku/AQEukxpvVDZqi09zOrFf5Fccgfl0YXcvniXUCfZtqBejuEJ6JNVit8 v8vjR4Y+pdaeC2s7+YRxHC6wqNycDHDtvkFoW/7dDvcCSJFsK8yhJEH0QnfGKz3Blp vMVlRzvruXYCD+w9J9Pm84YOp3zQoPUtFiizP22uqs/ss8zrB85nCtzKzVoMLzX+PV ofRNvnTOi/xGQ== To: guix-patches@gnu.org From: "Paul A. Patience" Subject: [PATCH] gnu: sbcl-py4cl: Fix path to python3. Message-ID: <20220412025518.5253-1-paul@apatience.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=paul@apatience.com; helo=mail-4323.proton.ch 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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Paul A. Patience" 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: , Reply-To: "Paul A. Patience" Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/lisp-xyz.scm (sbcl-py4cl)[arguments]: Add the 'fix-python3-path phase which sets py4cl:*python-command* to the absolute path to python3. --- gnu/packages/lisp-xyz.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 358bba4e89..10a46d4b9a 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -5180,6 +5180,12 @@ (define-public sbcl-py4cl (arguments '(#:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-python3-path + (lambda _ + (substitute* "src/callpython.lisp" + (("\\*python-command\\* \"python\"") + (string-append "*python-command* " + "\"" (which "python3") "\""))))) (add-after 'unpack 'replace-*base-directory*-var (lambda* (#:key outputs #:allow-other-keys) ;; In the ASD, the author makes an attempt to -- 2.35.1 ------------=_1649765342-27673-1-- From unknown Sat Sep 20 15:43:28 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54876] [PATCH] gnu: sbcl-py4cl: Fix path to python3. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Apr 2022 12:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54876 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Paul A. Patience" , 54876@debbugs.gnu.org Received: via spool by 54876-submit@debbugs.gnu.org id=B54876.164976758731940 (code B ref 54876); Tue, 12 Apr 2022 12:47:01 +0000 Received: (at 54876) by debbugs.gnu.org; 12 Apr 2022 12:46:27 +0000 Received: from localhost ([127.0.0.1]:47941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neFud-0008J5-ME for submit@debbugs.gnu.org; Tue, 12 Apr 2022 08:46:27 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:43202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neFub-0008Iw-GA for 54876@debbugs.gnu.org; Tue, 12 Apr 2022 08:46:26 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id HomP2700G4UW6Th01omPqt; Tue, 12 Apr 2022 14:46:23 +0200 Message-ID: <1a38e6e61473683ff134dd477042b061ff605ac0.camel@telenet.be> From: Maxime Devos Date: Tue, 12 Apr 2022 14:46:23 +0200 In-Reply-To: <20220412025518.5253-1-paul@apatience.com> References: <20220412025518.5253-1-paul@apatience.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-dwwJZ+fRHtFsBGBEsesM" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649767583; bh=1gV+gtukRQS3Y4nbLVgNIlwhb+o3YfPHTwPn6+Tq2Mo=; h=Subject:From:To:Date:In-Reply-To:References; b=eWmdYjwq3QV/CHh4qQi+s+Cwx6hMmjBv/jOn0s2kjEl1VDwMP+x2WHt7EEAi5eKNk P8szmRA7O2aoohoUcecXUBigoh93VvYAkTGY0vPaTiOuosCgzYWxNxhfiKDYWkMs2X SRvR9fVJxdFk4T3DdyO6o8gpACy93IHGjLCtU4jOtj/M+KSt7VPSJpL0JFokYt2PS2 MNaRrcPPuJWjRZ3TyBiju9cN/qemmXaZ+9QOi3lzeDiw/H5ZbQS0hjuUvl8IcTzKsz U4qLX149bUeWVl1Up5ALRc1JCa2x0jK/cMEIGkJhPiyjiFnCcX3zPQoiXxoysG3SRC /sS2Cedtw/aVw== 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 (-) --=-dwwJZ+fRHtFsBGBEsesM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 UGF1bCBBLiBQYXRpZW5jZSBzY2hyZWVmIG9wIGRpIDEyLTA0LTIwMjIgb20gMDI6NTUgWyswMDAw XToKK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKHN1YnN0aXR1dGUqICJzcmMvY2FsbHB5 dGhvbi5saXNwIgorwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKCgiXFwqcHl0aG9u LWNvbW1hbmRcXCogXCJweXRob25cIiIpCivCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgIChzdHJpbmctYXBwZW5kICIqcHl0aG9uLWNvbW1hbmQqICIKK8KgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgIlwiIiAod2hp Y2ggInB5dGhvbjMiKSAiXCIiKSkpKSkKClRoaXMgaXMgbW9zdCBsaWtlbHkgaW5jb3JyZWN0IHdo ZW4gY3Jvc3MtY29tcGlsaW5nLiAgRG8KCiAgKGxhbWJkYSogKCM6a2V5IGlucHV0cyAjOmFsbG93 LW90aGVyLWtleXMpCiAgICAgWy4uLl0KICAgICAoc3RyaW5nLWFwcGVuZCBbLi4uXSAoc2VhcmNo LWlucHV0LWZpbGUgaW5wdXRzICJiaW4vcHl0aG9uMyIpIFsuLi5dKSBbLi4uXSkKCmluc3RlYWQs IHN1Y2ggdGhhdCBpdCBsb29rcyBpbiAnaW5wdXRzJyBpbnN0ZWFkIG9mICduYXRpdmUtaW5wdXRz Jy4KCgpBbHNvLCBub3cgdGhhdCAncHl0aG9uMycgaXMgcGF0Y2hlZCBpbiwgaXMgdGhlIGZvbGxv d2luZyBzdGlsbCByZWxldmFudDoKCiAgICAgIChwcm9wYWdhdGVkLWlucHV0cwogICAgICAgOzsg VGhpcyBwYWNrYWdlIGRvZXNuJ3QgZG8gYW55dGhpbmcgd2l0aG91dCBweXRob24gYXZhaWxhYmxl CiAgICAgICAobGlzdCBweXRob24KCihJIG1lYW4sIGRvZXMgaXQgc3RpbGwgbmVlZCB0byBiZSBw cm9wYWdhdGVkPykKCkdyZWV0aW5ncywKTWF4aW1lLgo= --=-dwwJZ+fRHtFsBGBEsesM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlV0nxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lrsAQCSIrc0rf3rGxilY4dBXULcB9oL uiPXhLwfZhAcZkkK5QEAzsEXjzpD1Ql9heYeVSGoBjKzBi9HEPFFVoLqMdZiIg8= =T0Ym -----END PGP SIGNATURE----- --=-dwwJZ+fRHtFsBGBEsesM-- From unknown Sat Sep 20 15:43:28 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54876] [PATCH] gnu: sbcl-py4cl: Fix path to python3. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Apr 2022 13:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54876 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: "Paul A. Patience" , 54876@debbugs.gnu.org Received: via spool by 54876-submit@debbugs.gnu.org id=B54876.16497698313824 (code B ref 54876); Tue, 12 Apr 2022 13:24:02 +0000 Received: (at 54876) by debbugs.gnu.org; 12 Apr 2022 13:23:51 +0000 Received: from localhost ([127.0.0.1]:48017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neGUp-0000zc-B6 for submit@debbugs.gnu.org; Tue, 12 Apr 2022 09:23:51 -0400 Received: from mout02.posteo.de ([185.67.36.66]:37773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neGUn-0000zF-F3 for 54876@debbugs.gnu.org; Tue, 12 Apr 2022 09:23:50 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5EB4F240108 for <54876@debbugs.gnu.org>; Tue, 12 Apr 2022 15:23:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1649769823; bh=NJ0b5VRIYrzoo5q0EaEcHspVSjf4cOkfwqjhT+kTly0=; h=From:To:Cc:Subject:Date:From; b=fJvG5nXgeN7/c4G5F1mZciHX0aiczPzL/ooYRRGc9t3qsc1IiHf2RR64+WP2jZCwv VSfI3Ozij/SDAN8ecEMFUihkQl/tfPDXlU5T2rSERW3TL+vmlJ+Ffy5Oz8sfaSfvo3 ChDrC2wGshWh5SNBB2VZs19TEBDsxfNNW7Fahvk3GyDnraAH0aN/isL7nxGulbtDwJ Ay46rTlQt6ExuMglwz1wT25a98XGlR5vOPujJdQ9kzaffW1EGtyXMNzmBTjfxO00N2 ACM18JVPohmMTdnpeAYoD+q0mPZ83RyIthdszbbBauG+MRZU+Zn229NF7bWyVDytDo 4NTtN31JSK0zg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Kd5yk29GWz6tnj; Tue, 12 Apr 2022 15:23:41 +0200 (CEST) References: <20220412025518.5253-1-paul@apatience.com> <1a38e6e61473683ff134dd477042b061ff605ac0.camel@telenet.be> From: Guillaume Le Vaillant Date: Tue, 12 Apr 2022 13:15:59 +0000 In-reply-to: <1a38e6e61473683ff134dd477042b061ff605ac0.camel@telenet.be> Message-ID: <8735iiwi3m.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Maxime Devos skribis: > Paul A. Patience schreef op di 12-04-2022 om 02:55 [+0000]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 (substitute* "src/callpython.lisp" > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 (("\\*python-command\\* \"python\"") > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (string-append "*python-command* " > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "\"" (which "python3") "\""))= ))) > > This is most likely incorrect when cross-compiling. Do > > (lambda* (#:key inputs #:allow-other-keys) > [...] > (string-append [...] (search-input-file inputs "bin/python3") [...])= [...]) > > instead, such that it looks in 'inputs' instead of 'native-inputs'. The two are equivalent because so far asdf-build-system doesn't support cross builds using "--target=3DTRIPLET". But using 'search-input-file' looks better. > Also, now that 'python3' is patched in, is the following still relevant: > > (propagated-inputs > ;; This package doesn't do anything without python available > (list python > > (I mean, does it still need to be propagated?) Indeed, having python3 in 'inputs' should be enough now. Pushed in 59377f88ed1e31d38b34279f393949bf17e505ad. Thanks. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYlV9XQ8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j9o9AD/TV67K6CJ4VADd1iTA1IczbtXZ76mm8ZbNXQg OKDZeJ8A/jL/iONZREwYkE3zX3SLYYVfiyIz6h6CFJFC/ulTlqme =k/Gl -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Sep 20 15:43:28 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54876] [PATCH] gnu: sbcl-py4cl: Fix path to python3. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Apr 2022 13:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54876 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 54876@debbugs.gnu.org Reply-To: "Paul A. Patience" Received: via spool by 54876-submit@debbugs.gnu.org id=B54876.16497706325279 (code B ref 54876); Tue, 12 Apr 2022 13:38:02 +0000 Received: (at 54876) by debbugs.gnu.org; 12 Apr 2022 13:37:12 +0000 Received: from localhost ([127.0.0.1]:48058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neGhk-0001N4-H7 for submit@debbugs.gnu.org; Tue, 12 Apr 2022 09:37:12 -0400 Received: from mail-4018.proton.ch ([185.70.40.18]:27434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neGhh-0001Mi-HG for 54876@debbugs.gnu.org; Tue, 12 Apr 2022 09:37:11 -0400 Date: Tue, 12 Apr 2022 13:36:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1649770622; bh=DXZ+sdniJpkOOfmANQR8W1K3Xu8E1F6C+euQ6eIwVLA=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=AetTM3ei5Bu2ZUdj40/JhzDFpHMWrBXJtnhnv8TMev8FYakd7wXi5Qo7hKc7vxRBD DILV7LhK30mDOtm6wPrNNEglWMxVxiCmcJa0qHuUx8AHCWjYvikhHNy1dPIyxfrUb5 G9N8bm43+XwWSBUVn/o/a60lU1MwGDDAARO/P/YknOLw8ek+tOPMX0GI+IH5UwTXu0 ODctWDGZ7JJh74EuTfAJ8gk+lj3P9JaiWvkEq109MWHLvNj15Tsq0Dn55vjcS9VXax dz05JSyggQhxZp0/V/L5WaHe+iug5b4x6V/Nm58G/dxafYxcO81vQcN3uTmdhPa3cF wKh7L3CgANVsg== From: "Paul A. Patience" Message-ID: <87lewah1gp.fsf@apatience.com> In-Reply-To: <1a38e6e61473683ff134dd477042b061ff605ac0.camel@telenet.be> References: <20220412025518.5253-1-paul@apatience.com> <1a38e6e61473683ff134dd477042b061ff605ac0.camel@telenet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (-) Hello, On 2022-04-12 08:46:23-04:00, Maxime Devos wrote: > This is most likely incorrect when cross-compiling. Do > > (lambda* (#:key inputs #:allow-other-keys) > [...] > (string-append [...] (search-input-file inputs "bin/python3") [...])= [...]) > > instead, such that it looks in 'inputs' instead of 'native-inputs'. > > > Also, now that 'python3' is patched in, is the following still relevant: > > (propagated-inputs > ;; This package doesn't do anything without python available > (list python > > (I mean, does it still need to be propagated?) So you're suggesting we call search-input-file and move the python dependency to inputs rather than propagated-inputs? Right, since the correct path to python3 is now hardcoded, it doesn't need to be propagated. One other thing we could do is move python-numpy to native-inputs. It's required only for the tests and multidimensional array support, but py4cl.py looks up python-numpy at runtime for the latter, and gracefully handles the situation when it is not found. A user could opt-in to the multidimensional array support by explicitly installing python-numpy. However, I'm not familiar with how Guix deals with Python module paths. Would the python3 in sbcl-py4cl's inputs be able to find python-numpy if only sbcl-py4cl and python-numpy are explicitly installed by the user? Best regards, Paul