Bug#1050818: gtksourceview4: FTBFS on riscv64 due to test timeout

Aurelien Jarno aurel32 at debian.org
Tue Aug 29 17:43:23 BST 2023


Source: gtksourceview4
Version: 4.8.4-4
Severity: important
Tags: patch ftbfs
User: debian-riscv at lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv at lists.debian.org

Dear maintainer,

gtksourceview4 fails to build from source on riscv64 with a timeout in
one test:

| 23/23 test-language-specs       TIMEOUT        30.08s   killed by signal 15 SIGTERM

The full build log is available there:
https://buildd.debian.org/status/fetch.php?pkg=gtksourceview4&arch=riscv64&ver=4.8.4-4&stamp=1693294414&raw=0

After investigation, it appeared the test actually passes, but needs a
tiny but more time than the default 30 seconds timeout of meson. The
following patch uses the --timeout-multiplier feature of meson to
increase the timeout.  I didn't try to use a different multiplier
depending on the architecture as it has no impact on working tests
anyway.

diff -Nru gtksourceview4-4.8.4/debian/rules gtksourceview4-4.8.4/debian/rules
--- gtksourceview4-4.8.4/debian/rules
+++ gtksourceview4-4.8.4/debian/rules
@@ -23,4 +23,4 @@
 		$(DOC_FLAGS)
 
 override_dh_auto_test:
-	NO_AT_BRIDGE=1 xvfb-run -a dh_auto_test
+	NO_AT_BRIDGE=1 xvfb-run -a dh_auto_test -- --timeout-multiplier 2

Regards
Aurelien



More information about the pkg-gnome-maintainers mailing list