Index: rdkit/Code/GraphMol/SynthonSpaceSearch/CMakeLists.txt
===================================================================
--- rdkit.orig/Code/GraphMol/SynthonSpaceSearch/CMakeLists.txt
+++ rdkit/Code/GraphMol/SynthonSpaceSearch/CMakeLists.txt
@@ -13,8 +13,9 @@ rdkit_headers(SynthonSpace.h SynthonSet.
 
 rdkit_catch_test(testSynthonSpaceSubstructureSearch substructure_search_catch_tests.cpp
         LINK_LIBRARIES SubstructMatch SubstructLibrary SynthonSpaceSearch)
-rdkit_catch_test(testSynthonSpaceFingerprintSearch fingerprint_search_catch_tests.cpp
-        LINK_LIBRARIES SubstructMatch SubstructLibrary SynthonSpaceSearch)
+# Disabled by Debian due to timeouts on riscv64
+# rdkit_catch_test(testSynthonSpaceFingerprintSearch fingerprint_search_catch_tests.cpp
+#        LINK_LIBRARIES SubstructMatch SubstructLibrary SynthonSpaceSearch)
 rdkit_catch_test(testSynthonSpaceRascalSearch rascal_search_catch_tests.cpp
         LINK_LIBRARIES SubstructMatch SubstructLibrary SynthonSpaceSearch)
 
Index: rdkit/Code/GraphMol/SynthonSpaceSearch/Wrap/CMakeLists.txt
===================================================================
--- rdkit.orig/Code/GraphMol/SynthonSpaceSearch/Wrap/CMakeLists.txt
+++ rdkit/Code/GraphMol/SynthonSpaceSearch/Wrap/CMakeLists.txt
@@ -5,4 +5,5 @@ rdkit_python_extension(rdSynthonSpaceSea
         DEST Chem
         LINK_LIBRARIES SynthonSpaceSearch)
 
-add_pytest(pySynthonSpaceSearch ${CMAKE_CURRENT_SOURCE_DIR}/testSynthonSpaceSearch.py)
+# Disabled by Debian due to timeouts on riscv64
+# add_pytest(pySynthonSpaceSearch ${CMAKE_CURRENT_SOURCE_DIR}/testSynthonSpaceSearch.py)
--- ./Code/GraphMol/CMakeLists.txt.orig	2025-04-07 15:07:37.289144421 +0200
+++ ./Code/GraphMol/CMakeLists.txt	2025-04-07 15:09:08.639740393 +0200
@@ -128,8 +128,9 @@
 add_subdirectory(MolInteractionFields)
 
 
-rdkit_test(graphmolTest1 test1.cpp LINK_LIBRARIES FileParsers SmilesParse GraphMol
-        SubstructMatch ForceFieldHelpers ForceField)
+# Disabled by Debian due to timeouts on riscv64
+# rdkit_test(graphmolTest1 test1.cpp LINK_LIBRARIES FileParsers SmilesParse GraphMol
+#        SubstructMatch ForceFieldHelpers ForceField)
 
 rdkit_test(graphmolcpTest cptest.cpp LINK_LIBRARIES SmilesParse GraphMol)
 
