Source: clutter-1.0
Version: 1.26.4+git2779b932+dfsg-5
Severity: important
Tags: patch ftbfs
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-ri...@lists.debian.org

Dear maintainer,

clutter-1.0 fails to build from source on riscv64 with a timeout in on test:

| =================================== 25/25 ====================================
| test:         clutter:actor / actor-pick
| start time:   05:39:05
| duration:     30.17s
| result:       killed by signal 15 SIGTERM
| command:      G_ENABLE_DIAGNOSTIC=0 
LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/clutter 
CLUTTER_ENABLE_DIAGNOSTIC=0 
G_TEST_BUILDDIR=/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/tests/conform 
MALLOC_PERTURB_=247 G_TEST_SRCDIR=/<<PKGBUILDDIR>>/tests/conform 
CLUTTER_BACKEND=x11 
/<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/tests/conform/actor-pick
| ----------------------------------- stdout -----------------------------------
| TAP version 13
| # random seed: R02Sb54186406fb0014222d460465642f460
| 1..1
| # Start of actor tests
| ==============================================================================
| 
| 
| Summary of Failures:
| 
| 25/25 clutter:actor / actor-pick                     TIMEOUT        30.17s   
killed by signal 15 SIGTERM
| 
| Ok:                 24  
| Expected Fail:      0   
| Fail:               0   
| Unexpected Pass:    0   
| Skipped:            0   
| Timeout:            1   
| dh_auto_test: error: cd obj-riscv64-linux-gnu && LC_ALL=C.UTF-8 
MESON_TESTTHREADS=4 meson test returned exit code 1
| make[1]: *** [debian/rules:61: override_dh_auto_test] Error 25
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:26: 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=clutter-1.0&arch=riscv64&ver=1.26.4%2Bgit2779b932%2Bdfsg-5&stamp=1691732382&raw=0

After investigation, it appeared the test actually passes, but needs
more time than the default 30 seconds timeout of meson. The following
patch, increasing the timeout to 100 seconds is enough to get the test
pass:

--- clutter-1.0-1.26.4+git2779b932+dfsg.orig/tests/conform/meson.build
+++ clutter-1.0-1.26.4+git2779b932+dfsg/tests/conform/meson.build
@@ -91,6 +91,7 @@ foreach suite: conformance_suites
     test(t, test_bin,
       suite: suite_name,
       env: test_env,
+      timeout: 100,
     )
   endforeach
 endforeach

I guess it might also fix the same issue on a few other architectures.

Regards
Aurelien

Reply via email to