From patchwork Fri May 23 03:54:22 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 42871 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AE8CB27BC49; Fri, 23 May 2025 04:55:37 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 90C9127BC4A for ; Fri, 23 May 2025 04:55:35 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uIJV0-0006Ib-6s; Thu, 22 May 2025 23:55:10 -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 1uIJUx-0006IA-NW for guix-patches@gnu.org; Thu, 22 May 2025 23:55:07 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uIJUx-00042q-C2 for guix-patches@gnu.org; Thu, 22 May 2025 23:55:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=4KYI4C5dlMCYemdOcNo+d8w44d/a0u712mD164qAmEY=; b=Cv17tUqtGyGXW8nS/Ay3CitoOwvxaipIxi7b8COmzAFHISrXrrqBEyLEF/N6yjFkqlG0Q6/nXlVDHfM1jT/8l8prPplDU5cmlPoSI5UepxDlE+nU6s8cLprXztMmP9/gPQKU+c0NuNeacOiVtUCePpj9SK3v73QMb9P5C/hz+lHVWnAda2e3pLJiC9MoqFC3eWidRLeLau+jPewcwtQOvtS46bvZqfrNsuaQv1wPJ/fObVThbdssBmoLYLijswsZ+y/JdeIH51+Jea+Mzh7rM1n3ZIHaq+1q01ri04S7OwU/QFmlAgOM/C0ngnDqaUlwYnoMFl1N2n5xMjCLg+nong==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uIJUw-00081j-Rx for guix-patches@gnu.org; Thu, 22 May 2025 23:55:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78556] [PATCH] gnu: python-xapian-bindings: Fix build. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 May 2025 03:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78556 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78556@debbugs.gnu.org Cc: Nicolas Graves X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174797249630736 (code B ref -1); Fri, 23 May 2025 03:55:05 +0000 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 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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