Bug#1084113: gnome-calculator: FTBFS on riscv64 due to testsuite timeout
Aurelien Jarno
aurel32 at debian.org
Sat Oct 5 10:08:16 BST 2024
Source: gnome-calculator
Version: 1:47.0-1
Severity: serious
Tags: ftbfs patch
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-riscv at lists.debian.org
User: debian-riscv at lists.debian.org
Usertags: riscv64
Dear maintainer,
gnome-calculator fails to build from source on riscv64 due to a
testsuite timeout:
| Summary of Failures:
|
| 4/4 Number test TIMEOUT 90.16s killed by signal 15 SIGTERM
|
| Ok: 3
| 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 3 returned exit code 1
| make[1]: *** [debian/rules:17: override_dh_auto_test] Error 25
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:7: binary-arch] Error 2
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
|
The full build log is available there:
https://buildd.debian.org/status/fetch.php?pkg=gnome-calculator&arch=riscv64&ver=1%3A47.0-1&stamp=1726521395&raw=0
After investigation, it appears that the new upstream version has added
some more tests within the "Number test" without increasing the timeout.
Increasing the timeout multiplier from 3 to 5 in the debian/rules file
(as in the patch below) allows the testsuite to pass and the package to
build fine on the riscv64 build daemons.
This should also fix the build failure on the slower mips64el build
daemons (it initially failed to build on mipsel-osuosl-01).
Regards
Aurelien
diff -Nru gnome-calculator-47.0/debian/rules gnome-calculator-47.0/debian/rules
--- gnome-calculator-47.0/debian/rules
+++ gnome-calculator-47.0/debian/rules
@@ -15,6 +15,6 @@
override_dh_auto_test:
GTK_A11Y=none \
- xvfb-run --auto-servernum dh_auto_test -- --timeout-multiplier 3
+ xvfb-run --auto-servernum dh_auto_test -- --timeout-multiplier 5
override_dh_gnome_clean:
More information about the pkg-gnome-maintainers
mailing list