Source: gst-plugins-bad1.0
Version: 1.28.5-2
Severity: important
Tags: ftbfs
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: riscv64

Hi,

In addition to the ORC issue (#1142734), gst-plugins-bad1.0 fails to
build from source on the new riscv64 build daemons due to timing issues.
While they are overall faster, the fact that they have 8 cores instead
of 4 cores causes the gst-plugins-bad:elements_mpegtsmux test to
timeout [1]. Running the build on the same hardware with
DEB_BUILD_OPTIONS="parallel=4" makes it succeed.

I have found that the easiest way to fix the issue is to use the
CK_TIMEOUT_MULTIPLIER function of meson, like in this patch:

--- gst-plugins-bad1.0-1.28.5/debian/rules
+++ gst-plugins-bad1.0-1.28.5/debian/rules
@@ -7,6 +7,9 @@
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
 export HOME=$(CURDIR)/fake-home
 
+# Prevent slower builds from hitting the default 20s test timeout
+export CK_TIMEOUT_MULTIPLIER=2
+
 # upstream version
 gst_version=$(shell echo $(DEB_VERSION) | cut -d '-' -f 1)

Regards
Aurelien

[1] 
https://buildd.debian.org/status/fetch.php?pkg=gst-plugins-bad1.0&arch=riscv64&ver=1.28.5-2&stamp=1784848856&raw=0

Reply via email to