Source: kooha
Version: 2.3.0-3
Severity: important
Tags: ftbfs patch
X-Debbugs-Cc: debian-ri...@lists.debian.org
User: debian-ri...@lists.debian.org
Usertags: riscv64

Dear maintainer,

kooha fails to build from source on riscv64 due to a testsuite timeout:

| Summary of Failures:
| 
| 3/3 cargo-test       TIMEOUT        600.13s   killed by signal 15 SIGTERM
| 
| Ok:                 2   
| Expected Fail:      0   
| Fail:               0   
| Unexpected Pass:    0   
| Skipped:            0   
| Timeout:            1   
| dh_auto_test: error: cd obj-riscv64-linux-gnu && 
DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 meson test 
--timeout-multiplier 2 returned exit code 1
| make[1]: *** [debian/rules:30: override_dh_auto_test] Error 25
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:14: binary-arch] Error 2
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2
| 
--------------------------------------------------------------------------------
| Build finished at 2024-10-13T15:42:06Z

The full build log is available there:
https://buildd.debian.org/status/fetch.php?pkg=kooha&arch=riscv64&ver=2.3.0-3&stamp=1728834139&raw=0

It appears that the test timeout is too short for the riscv64 build daemons.
Increasing the timeout multiplier from 2 to 3, like in the patch below, allows
the testsuite to pass.

--- kooha-2.3.0/debian/rules
+++ kooha-2.3.0/debian/rules
@@ -27,4 +27,4 @@
 
 # Give the tests more time on slow arches
 override_dh_auto_test:
-       dh_auto_test -- --timeout-multiplier 2
+       dh_auto_test -- --timeout-multiplier 3


Regards
Aurelien

Reply via email to