Your message dated Tue, 25 Aug 2026 06:04:34 +0000
with message-id <[email protected]>
and subject line Bug#1145077: fixed in xapian-bindings 1.4.32-1
has caused the Debian Bug report #1145077,
regarding xapian-bindings: FTBFS building against python 3.15
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1145077: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145077
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:xapian-bindings
Version: 1.4.31-2
User: [email protected]
Usertags: python3.15
Tags: patch

Hi!

While rebuilding the python related packages against the python version
3.15rc1 we found that xapian-bindings fails to build from source [1].

Here python 3.15 detects an error in the way the mutex lock is handled
in a swig generated file (python3/xapian_wrap.cc), the bug itself is a
bug in swig, fixed in swig 4.4.0, but this file was generated with swig
4.3.0.

I'm attaching a patch that just updates the xapian_wrap.cc files, but it
would be better to regenerate these files.

Please consider adding this or a similar patch in future uploads, also,
these files aren't the preferred form of modification, so they aren't
really source, it might be worth producing them either as part of the
packaging and including them as patches or as part of the build
procedure.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/995348/
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
Description: Fix inverted calls to PyThread_free_lock and PyThread_release_lock in Swig::Mutex
 This is an upstream bug in SWIG (introduced in SWIG 21f1c923c, fixed in SWIG 4.4.0
 via commit 892be2b802.
Origin: upstream, https://github.com/swig/swig/commit/892be2b8024d391dbc78028a2e99b7800db2ea99
Forwarded: not-needed
Index: xapian-bindings-1.4.31/python/xapian_wrap.cc
===================================================================
--- xapian-bindings-1.4.31.orig/python/xapian_wrap.cc
+++ xapian-bindings-1.4.31/python/xapian_wrap.cc
@@ -3597,7 +3597,7 @@ namespace Swig {
        }
 
        ~Mutex() {
-           PyThread_release_lock(mutex_);
+           PyThread_free_lock(mutex_);
        }
 
    private:
@@ -3606,7 +3606,7 @@ namespace Swig {
        }
 
        void Unlock() {
-           PyThread_free_lock(mutex_);
+           PyThread_release_lock(mutex_);
        }
 
        PyThread_type_lock mutex_;
Index: xapian-bindings-1.4.31/python3/xapian_wrap.cc
===================================================================
--- xapian-bindings-1.4.31.orig/python3/xapian_wrap.cc
+++ xapian-bindings-1.4.31/python3/xapian_wrap.cc
@@ -3612,7 +3612,7 @@ namespace Swig {
        }
 
        ~Mutex() {
-           PyThread_release_lock(mutex_);
+           PyThread_free_lock(mutex_);
        }
 
    private:
@@ -3621,7 +3621,7 @@ namespace Swig {
        }
 
        void Unlock() {
-           PyThread_free_lock(mutex_);
+           PyThread_release_lock(mutex_);
        }
 
        PyThread_type_lock mutex_;

--- End Message ---
--- Begin Message ---
Source: xapian-bindings
Source-Version: 1.4.32-1
Done: Olly Betts <[email protected]>

We believe that the bug you reported is fixed in the latest version of
xapian-bindings, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Olly Betts <[email protected]> (supplier of updated xapian-bindings package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 25 Aug 2026 17:17:50 +1200
Source: xapian-bindings
Architecture: source
Version: 1.4.32-1
Distribution: unstable
Urgency: medium
Maintainer: Olly Betts <[email protected]>
Changed-By: Olly Betts <[email protected]>
Closes: 1145077
Changes:
 xapian-bindings (1.4.32-1) unstable; urgency=medium
 .
   * New upstream release.
   * debian/patches/fix-python-swig-director-mutex.patch: New patch to
     address SWIG/Python director locking bug, which Python 3.15 errors
     out on.  Patch from Maximiliano Curia.  (Closes: #1145077)
   * debian/control.in: Mark conformance with policy 4.7.4.
Checksums-Sha1:
 0ac831c2fd841aaaedca8cde1adc10a6c457aa20 2722 xapian-bindings_1.4.32-1.dsc
 657e2e184638a0452e6df20df9c6c0e2906c39a2 1122508 
xapian-bindings_1.4.32.orig.tar.xz
 bf654761e00537399f52ac3ec4b3902e0997d1d3 833 
xapian-bindings_1.4.32.orig.tar.xz.asc
 4da23a1167efc843f95f74af80484ecb67d4b2e8 23944 
xapian-bindings_1.4.32-1.debian.tar.xz
 693106a891df9fce2436fd2071bcd2b9c1ee1747 17498 
xapian-bindings_1.4.32-1_amd64.buildinfo
Checksums-Sha256:
 722148a682cc6b31f9eb9ba8abc6b41b99352c0e3f0b11e6c9537d95bfd01fd4 2722 
xapian-bindings_1.4.32-1.dsc
 8434a307c16c264e93674dd360da7d2c2ffc00fa05440383c2e4ae971940b778 1122508 
xapian-bindings_1.4.32.orig.tar.xz
 b68c39234bd0961c428ca14743a790e612ff618c3bfcacd5013ec73f468d1d87 833 
xapian-bindings_1.4.32.orig.tar.xz.asc
 ed7d51a3a51df0394954cf6a2452f43dbf58505e9832eaf56bf711ae52e12895 23944 
xapian-bindings_1.4.32-1.debian.tar.xz
 5db70ca13d2e01589bb58bafe1f50dfd6fc1fcef04c1a878941041b072067b61 17498 
xapian-bindings_1.4.32-1_amd64.buildinfo
Files:
 957b78e672615e68564dc99183ca06de 2722 libs optional 
xapian-bindings_1.4.32-1.dsc
 49e07bb2ff410f81528e13209dde9080 1122508 libs optional 
xapian-bindings_1.4.32.orig.tar.xz
 5cf7a9887b30916a0de5fa2297c4fdec 833 libs optional 
xapian-bindings_1.4.32.orig.tar.xz.asc
 1a89186d8007fed1c2b3c0cba6d16b25 23944 libs optional 
xapian-bindings_1.4.32-1.debian.tar.xz
 d479d8475dbcbf3f61ffbbc648cee26f 17498 libs optional 
xapian-bindings_1.4.32-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEECOJAD/f+j+3jrLUoGBR7BzutKwcFAmqNKfwACgkQGBR7Bzut
KwdJChAAyfPv87/DEUcMC/Qegp02fCXyH2+kEtO1RqOF+pa9f30IE83LZ/Tj9Ao1
vLyL6BcFMDXpe+d6efE/zTDLjdBW/UNwRQ+S7tq3zMsysw5YcFFBP+c+izMzKBz/
P6hxXLmYyz1CItPrQOrcNmrXwIGsc8uY4IxgnzTzfNYls4bg2nCBxFbEcvD47Ln3
ol8ImFGVAP5K0r+D4XZgJz+ZhU5dQnJMWYuJ5B9ultWd2B09amFwC/RS07USQvoH
dSDjERDrrC2HQYmyv/5Gd2/tSf0yBbWVVxAd7MJl37sxG1OBbu7IM+8DkNKzGsR1
KJpFRcVzqm/bN5RaRXlghwWoZTRuJ59YAiguwx+1SQRZrcrfvwrWDqW8HKtQZ79H
47++cKUliV8iRQ8Ji1RgQKcQSHl4cLy2F/gb//ZH33WR6ZhqRri0sWZ7oRlmiKbi
slewQSov4Nk0e74evtAvx1mt9vhpz7PNWlTMYMIIW+xxg5Q8uxac4OzUWtS0YqaA
KNsxputVdn8lA4kQPufSsTFEc6HICuEln+mcMB6KmV5NG5RA5+SY3t/ntl9SWJPA
rfbGYNIOinIRWPmCcV+5EX0UWs+g8zGO7MeO6oN/JjkHwwC2peS6AEpU/mSfCX6x
lRbGZfB9BM8jHzSIBMtsJRx1PwknjFlC8EEg+fdzW3hJPnoq2Pk=
=flfb
-----END PGP SIGNATURE-----

Attachment: pgpWzu0Q8vpUO.pgp
Description: PGP signature


--- End Message ---

Reply via email to