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

To reply to this bug, email your comments to 78556 AT debbugs.gnu.org.

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





This bug report was last modified 1 day ago.

Previous Next


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