#1146624 xraylib: FTBFS on riscv64: 43/61 xraylib:python-crystal_diffraction-threaded TIMEOUT 10.11s killed by signal 15 SIGTERM

Package:
src:xraylib
Source:
src:xraylib
Submitter:
Sebastian Ramacher
Date:
2026-09-03 21:13:02 UTC
Severity:
normal
Tags:
#1146624#5
Date:
2026-09-03 20:52:34 UTC
From:
To:
Dear maintainer,

xraylib FTBFS on riscv64:

=================================== 43/61 ====================================
test:         xraylib:python-crystal_diffraction-threaded
start time:   02:40:18
duration:     10.11s
result:       killed by signal 15 SIGTERM
command:      MALLOC_PERTURB_=12 LD_LIBRARY_PATH=/build/reproducible-path/xraylib-4.3.0+dfsg/.pybuild/cpython3_3.14/build/src:/build/reproducible-path/xraylib-4.3.0+dfsg/.pybuild/cpython3_3.14/build/python ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 PYTHONPATH=/build/reproducible-path/xraylib-4.3.0+dfsg/.pybuild/cpython3_3.14/build/python:/build/reproducible-path/xraylib-4.3.0+dfsg/debian/tmp/usr/lib/python3.14/dist-packages:/build/reproducible-path/xraylib-4.3.0+dfsg/.pybuild/cpython3_3.14/build MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /usr/bin/python3.14 /build/reproducible-path/xraylib-4.3.0+dfsg/.pybuild/cpython3_3.14/build/../../../python/tests/test-crystal_diffraction-threaded.py
----------------------------------- stderr -----------------------------------
test_concurrent_readers (__main__.TestCrystalDiffractionThreaded.test_concurrent_readers) ...
==============================================================================

=================================== 61/61 ====================================
test:         xraylib:xrlexample13
start time:   02:40:23
duration:     6.63s
result:       exit status 0
command:      MALLOC_PERTURB_=206 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 LD_LIBRARY_PATH=/build/reproducible-path/xraylib-4.3.0+dfsg/.pybuild/cpython3_3.14/build/src:/build/reproducible-path/xraylib-4.3.0+dfsg/.pybuild/cpython3_3.14/build/python UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 PYTHONPATH=/build/reproducible-path/xraylib-4.3.0+dfsg/.pybuild/cpython3_3.14/build/python:/build/reproducible-path/xraylib-4.3.0+dfsg/debian/tmp/usr/lib/python3.14/dist-packages:/build/reproducible-path/xraylib-4.3.0+dfsg/.pybuild/cpython3_3.14/build MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /usr/bin/python3.14 /build/reproducible-path/xraylib-4.3.0+dfsg/.pybuild/cpython3_3.14/build/../../../example/xrlexample13.py
----------------------------------- stdout -----------------------------------
Example of python-numpy program using xraylib
xraylib version: 4.3.0
--------------------------- END OF XRLEXAMPLE13 -------------------------------

==============================================================================


Summary of Failures:

43/61 xraylib:python-crystal_diffraction-threaded TIMEOUT        10.11s   killed by signal 15 SIGTERM

Ok:                60
Fail:              0
Timeout:           1
dh_auto_test: error: cd .pybuild/cpython3_3.14/build && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 meson test --verbose returned exit code 1

See
https://buildd.debian.org/status/fetch.php?pkg=xraylib&arch=riscv64&ver=4.3.0%2Bdfsg-1&stamp=1788230442&raw=0
for the log.

Cheers
-- 
Sebastian Ramacher

#1146624#10
Date:
2026-09-03 21:11:55 UTC
From:
To:
Control: tags -1 patch

A fix is below.

1 minute would already be more than sufficient for riscv64, but more
margin increases the chances that this will also fix it on alpha and
hppa.

cu
Adrian
--- xraylib-4.3.0+dfsg/debian/rules 2026-08-31 13:27:31.000000000 +0000 +++ xraylib-4.3.0+dfsg/debian/rules 2026-08-31 13:27:31.000000000 +0000 @@ -15,6 +15,7 @@ -Dpython-bindings=enabled \ -Dpython-numpy-bindings=enabled \ -Dpython=python{version} +export PYBUILD_TEST_ARGS = --timeout 600 %: dh $@ --without autoreconf --buildsystem pybuild