GNU bug report logs - #78556
[PATCH] gnu: python-xapian-bindings: Fix build.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Fri, 23 May 2025 03:55:05 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

To reply to this bug, email your comments to 78556 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#78556; Package guix-patches. (Fri, 23 May 2025 03:55:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 23 May 2025 03:55:06 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: guix-patches <at> gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH] gnu: python-xapian-bindings: Fix build.
Date: Fri, 23 May 2025 05:54:22 +0200
* gnu/packages/search.scm (python-xapian-bindings)[arguments]: Improve
  style (move to gexps).
  [arguments]<make-flags>: 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





Information forwarded to guix-patches <at> gnu.org:
bug#78556; Package guix-patches. (Mon, 26 May 2025 08:53:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org>
Cc: 78556-done <at> debbugs.gnu.org, Nicolas Graves <ngraves <at> ngraves.fr>
Subject: Re: [bug#78556] [PATCH] gnu: python-xapian-bindings: Fix build.
Date: Mon, 26 May 2025 09:52:00 +0100
[Message part 1 (text/plain, inline)]
Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org> writes:

> * gnu/packages/search.scm (python-xapian-bindings)[arguments]: Improve
>   style (move to gexps).
>   [arguments]<make-flags>: 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
[signature.asc (application/pgp-signature, inline)]

Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Mon, 26 May 2025 08:53:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Graves <ngraves <at> ngraves.fr>:
bug acknowledged by developer. (Mon, 26 May 2025 08:53:02 GMT) Full text and rfc822 format available.

This bug report was last modified 19 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.