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>

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: bug#78556: closed (Re: [bug#78556] [PATCH] gnu: python-xapian-bindings:
 Fix build.)
Date: Mon, 26 May 2025 08:53:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#78556: [PATCH] gnu: python-xapian-bindings: Fix build.

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 78556 <at> debbugs.gnu.org.

-- 
78556: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78556
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 3 (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)]
[Message part 5 (message/rfc822, inline)]
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 20 days ago.

Previous Next


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