#1151074 mold FTBFS on riscv64: test timeout

Package:
src:mold
Source:
src:mold
Submitter:
Adrian Bunk
Date:
2026-10-16 17:53:03 UTC
Severity:
normal
Tags:
#1151074#5
Date:
2026-10-16 17:51:44 UTC
From:
To:
https://buildd.debian.org/status/fetch.php?pkg=mold&arch=riscv64&ver=3.0.0-1&stamp=1791584056&raw=0

...
completed 100/514
completed 200/514
completed 300/514
FAIL riscv64:range-extension-thunk5 [timeout] (/build/reproducible-path/mold-3.0.0/target/riscv64gc-unknown-linux-gnu/release/mold-test/out/test/results/riscv64/range-extension-thunk5.log)
completed 400/514
completed 500/514
completed 514/514
riscv64: pass=475 skip=38 fail=1
pass=475 skip=38 fail=1
error: test failed, to rerun pass `-p mold-cli --test integration`
...
make[1]: *** [debian/rules:36: override_dh_auto_test] Error 1



Increasing the test timeout from 1 minute to 10 minutes
worked for me:
--- mold-3.0.0/debian/rules	2026-10-05 10:48:37.000000000 +0000
+++ mold-3.0.0/debian/rules	2026-10-05 10:48:37.000000000 +0000
@@ -33,7 +33,7 @@

 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	$(CARGO) test --release -p mold-cli --test integration
+	$(CARGO) test --release -p mold-cli --test integration -- --timeout 600
 endif

 override_dh_auto_install: