[Debian-pan-maintainers] Bug#1146624: xraylib: FTBFS on riscv64: 43/61 xraylib:python-crystal_diffraction-threaded TIMEOUT 10.11s killed by signal 15 SIGTERM

Adrian Bunk bunk at debian.org
Thu Sep 3 22:11:55 BST 2026


Control: tags -1 patch

On Thu, Sep 03, 2026 at 10:52:34PM +0200, Sebastian Ramacher wrote:
> Source: xraylib
> Version: 4.3.0+dfsg-1
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
> X-Debbugs-Cc: debian-riscv at lists.debian.org, sramacher at debian.org
> User: debian-riscv at lists.debian.org
> Usertags: riscv64
> 
> 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
>...

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.

> Cheers

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



More information about the Debian-pan-maintainers mailing list