From unknown Sun Jun 15 08:36:40 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#78556 <78556@debbugs.gnu.org> To: bug#78556 <78556@debbugs.gnu.org> Subject: Status: [PATCH] gnu: python-xapian-bindings: Fix build. Reply-To: bug#78556 <78556@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:36:40 +0000 retitle 78556 [PATCH] gnu: python-xapian-bindings: Fix build. reassign 78556 guix-patches submitter 78556 Nicolas Graves severity 78556 normal tag 78556 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu May 22 23:54:56 2025 Received: (at submit) by debbugs.gnu.org; 23 May 2025 03:54:56 +0000 Received: from localhost ([127.0.0.1]:42645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uIJUm-0007zf-1D for submit@debbugs.gnu.org; Thu, 22 May 2025 23:54:56 -0400 Received: from lists.gnu.org ([2001:470:142::17]:45042) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uIJUh-0007y8-MH for submit@debbugs.gnu.org; Thu, 22 May 2025 23:54: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 1uIJUc-0006HB-8D for guix-patches@gnu.org; Thu, 22 May 2025 23:54:46 -0400 Received: from 4.mo562.mail-out.ovh.net ([46.105.38.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uIJUZ-0003px-95 for guix-patches@gnu.org; Thu, 22 May 2025 23:54:46 -0400 Received: from director1.derp.mail-out.ovh.net (director1.derp.mail-out.ovh.net [51.68.80.175]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4b3WWC6MxHz1ZD2; Fri, 23 May 2025 03:54:31 +0000 (UTC) Received: from director1.derp.mail-out.ovh.net (director1.derp.mail-out.ovh.net. [127.0.0.1]) by director1.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for ; Fri, 23 May 2025 03:54:31 +0000 (UTC) Received: from mta3.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.109.176.75]) by director1.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4b3WWC2mhyz5xQZ; Fri, 23 May 2025 03:54:31 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.0]) by mta3.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id C46093A4028; Fri, 23 May 2025 03:54:30 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-109S003d036b8f5-e6ff-4fb0-8f78-c72259eebfd2, E24BDDFE906C3339F263916E794A585CED399037) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 80.215.118.192 From: Nicolas Graves To: guix-patches@gnu.org Subject: [PATCH] gnu: python-xapian-bindings: Fix build. Date: Fri, 23 May 2025 05:54:22 +0200 Message-ID: <20250523035428.16991-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 17399375687056745186 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeffedrtddtgdejkeduucdltddurdegfedvrddttddmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeffgeetfffgffejgeejvdffgfdtvdeuueetgfefuedvjeegvdegjeejveeuueevnecukfhppeduvdejrddtrddtrddupdektddrvdduhedruddukedrudelvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhgpdhrtghpthhtohepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdfovfetjfhoshhtpehmohehiedvmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=4KYI4C5dlMCYemdOcNo+d8w44d/a0u712mD164qAmEY=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1747972471; v=1; b=yR5/oedH8sfkTUV436r1YKvZXE0VLyQauMsm0Jo53qQ9HPZek9n484QdudfF91uQ66vRsgOS HX0gARQoX5ZTTE9zXNl/RXEGOkHXvRlVqxOe3iFFTZ8E1clbRl6GqHhC+4Az6GULi8n2ivzSbGI MHH5eG8TzFGW9XVZHywtLV2rHSi/UelXTCS9ebfekTLai00Y2MrSB0kBIiSkBiRuGiZL7AcrPME uXtdNyzflAaXvGeId78CFFdg5BPAiYi8LXqFXyW8UAf74txltrJ0lIRA4Vo2Y/mG8skyWjKBEN3 0DUJT+EhH2MzNI8LD+aPCjBQozHu61Lzt5YPh2Ow0uttg== Received-SPF: pass client-ip=46.105.38.146; envelope-from=ngraves@ngraves.fr; helo=4.mo562.mail-out.ovh.net 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_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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 Cc: Nicolas Graves 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 (/) * gnu/packages/search.scm (python-xapian-bindings)[arguments]: Improve style (move to gexps). [arguments]: Set PYTHON3_SO flag. --- gnu/packages/search.scm | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm index f66185d692..e9184d1e16 100644 --- a/gnu/packages/search.scm +++ b/gnu/packages/search.scm @@ -160,13 +160,16 @@ (define-public python-xapian-bindings "0gc8l9cn8jdma0p73jl14z17yizp6dax5zsycvgprajii6j8bhwi")))) (build-system gnu-build-system) (arguments - `(#:configure-flags '("--with-python3") - #:make-flags - (list (string-append "pkgpylibdir=" - (assoc-ref %outputs "out") - "/lib/python" ,(version-major+minor - (package-version python)) - "/site-packages/xapian")))) + (list #:configure-flags #~(list "--with-python3") + #:make-flags + #~(list (string-append "pkgpylibdir=" + #$output + "/lib/python" #$(version-major+minor + (package-version python)) + "/site-packages/xapian") + ;; XXX: Otherwise set to "None", which produces _xapianNone + ;; and ends up unable to find it. + "PYTHON3_SO=.so"))) (native-inputs (list python-sphinx)) ;for documentation (inputs -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Mon May 26 04:52:20 2025 Received: (at submit) by debbugs.gnu.org; 26 May 2025 08:52:20 +0000 Received: from localhost ([127.0.0.1]:54089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uJTZE-00067c-9C for submit@debbugs.gnu.org; Mon, 26 May 2025 04:52:20 -0400 Received: from lists.gnu.org ([2001:470:142::17]:55736) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uJTZ5-00066N-K3 for submit@debbugs.gnu.org; Mon, 26 May 2025 04:52:12 -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 1uJTYy-0003oj-0G for guix-patches@gnu.org; Mon, 26 May 2025 04:52:04 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uJTYw-0007cZ-7K for guix-patches@gnu.org; Mon, 26 May 2025 04:52:03 -0400 Received: from localhost (unknown [IPv6:2a02:6b67:e390:8b00::1ce5]) by mira.cbaines.net (Postfix) with ESMTPSA id 1D81527BC49; Mon, 26 May 2025 09:52:01 +0100 (BST) Received: from fang (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 8f0fec35; Mon, 26 May 2025 08:52:00 +0000 (UTC) From: Christopher Baines To: Nicolas Graves via Guix-patches via Subject: Re: [bug#78556] [PATCH] gnu: python-xapian-bindings: Fix build. In-Reply-To: <20250523035428.16991-1-ngraves@ngraves.fr> (Nicolas Graves via Guix-patches via's message of "Fri, 23 May 2025 05:54:22 +0200") References: <20250523035428.16991-1-ngraves@ngraves.fr> User-Agent: mu4e 1.12.9; emacs 29.4 Date: Mon, 26 May 2025 09:52:00 +0100 Message-ID: <874ix7lpov.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: 78556-done@debbugs.gnu.org, Nicolas Graves 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.1 (/) --=-=-= Content-Type: text/plain Nicolas Graves via Guix-patches via writes: > * gnu/packages/search.scm (python-xapian-bindings)[arguments]: Improve > style (move to gexps). > [arguments]: Set PYTHON3_SO flag. > --- > gnu/packages/search.scm | 17 ++++++++++------- > 1 file changed, 10 insertions(+), 7 deletions(-) Thanks for the patch, I've pushed this to master as c15f786f8936502249b639220997094fdbf7f1e8. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmg0K7BfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XedaQ/+OlbCfcIuHzx+ijwUs7HXFUeVqzqCKb1d Gueh5tPVqImBQOdbzyUPGPnlpARoSxVWTeoFFUFOMo4rEuJYZLt2DU1TtalQSo4e uXBnx2hbJMqXfyasY07oR325OkoeOdbHAxlJ9Lr8D4jg22uHjISfWMHmhI/7vt5n 2cNYOfr1vbffj0pAYLBqNKuxUikk8DapaQP4U+BMsjPycuPRJdOwecYiM2Zy2SZG /4u5qWOn+OQ3Q+uRwuhsTBGcwXEHvNq7HMeZV9wJfmX91/WoKwdcYPaTlNI+45Co A3gLhkC3yyt11MI5fMLuJyC6gfP4RghzAculeUYDPH+emXXMqAKccVv+kgaV5rw9 Cek/aRALDNY0+h20bfcnn6HTPkKAX40agRsk6KbSCmOxnGapDIVdJ9LKOIlWxGw+ WI5OUmWLS2pN/jsp2OXDMjYhPI2aQJX0SBaSV5bnIL30Gm7uZKEQgjWzqytttI6n WgOEHVgP9zz4wFQt7w2oqANDxkf/jBY2Mds0HmQsQv8D6CCOHAPcl6/7Rkd4/2TI DVChGNyJOt6mNubzxDNh54m/5qADnwc4kZHoVuSeIvMX8oOF2GMTSHBWtM7t/n5D 95XB+RMfm0xYji8bn9XVhN/HTUifR8PdY+CPoTNALFS+5PqoDawq+lUSDltv2jkP oJRBr1n/634= =ciSp -----END PGP SIGNATURE----- --=-=-=--