[Debichem-devel] Bug#1146588: rdkit: FTBFS against python 3.15rc1

Maximiliano Curia maxy at debian.org
Thu Sep 3 16:08:40 BST 2026


Package: src:rdkit
Version: 202603.4-1
User: debian-python at lists.debian.org
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: serious

Hi!

While rebuilding the python related packages against the Python 3.15rc1
version we found that rdkit fails to build from source not only for 3.15
but also for 3.14 [1]. 

Error: testDistGeomHelpers:
src/catch2/../catch2/internal/catch_output_redirect.hpp:40: void
Catch::OutputRedirect::activate(): Assertion !m_redirectActive &&
"redirect is already active"' failed.

This is because catch2 is not thread safe till release 3.12, but
currently we have 3.7 in Debian, so the tests that depend on thread
safety need workarounds.

It's likely that this only started happening now, due to the new gcc
version.

I applied the fix in the sandbox [2] to be able to build the packages
that depend on rdkit and it has built successfully, please consider
applying the patch to get rdkit to build successfully.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4587746/
[2]: https://debusine.debian.net/debian/r-python-python3.15/

-- 
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_distgeom_threadsafety.patch
Type: text/x-diff
Size: 1170 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debichem-devel/attachments/20260903/45533756/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_substruct_threadsafety.patch
Type: text/x-diff
Size: 617 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debichem-devel/attachments/20260903/45533756/attachment-0001.patch>


More information about the Debichem-devel mailing list