Package: src:wacomtablet
Version: 3.2.0-4
Severity: serious
Tags: ftbfs patch
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
[ please read notes at the end ]
--------------------------------------------------------------------------------
[...]
The following tests FAILED:
7 - Test.Common.ProfileManager (Subprocess aborted)
Errors while running CTest
make[2]: *** [Makefile:74: test] Error 8
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j2 test ARGS\+=--verbose
ARGS\+=-j2 returned exit code 2
make[1]: *** [debian/rules:9: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202504/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:wacomtablet, so that this is still
visible in the BTS web page for this package.
Notes:
- The random build failures happen in both bookworm and trixie/sid,
that's why I've put the bookworm version in the Version field.
However, I have only tested the fix in trixie/sid.
- The tests which fail seem to be different every time.
- On the AWS machines with 1 CPU where I tested it, it does not fail.
On the AWS machines with 2 CPUs where I tested it, it fails 50% of
the time.
- The attached patch, which makes tests to be run sequentially,
fixes the problem here.
- I see some similarity between this problem and #1069495, but I don't
know if they are related at all, so I think it's better to file a new bug,
since we have a fix for this one.
Thanks.
From b9003fa1853ccaeae15b09abe12aed4b6bbfb095 Mon Sep 17 00:00:00 2001
From: Santiago Vila <sanv...@debian.org>
Date: Sat, 5 Apr 2025 12:15:00 +0200
Subject: [PATCH] Do not run tests in parallel. Closes: #XXXXXXX.
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 6689395..d65e841 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,4 +6,4 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
dh $@
override_dh_auto_test:
- xvfb-run -s "-screen 0 1024x768x24 +extension RANDR +extension RENDER +extension GLX" -a dbus-run-session dh_auto_test
+ xvfb-run -s "-screen 0 1024x768x24 +extension RANDR +extension RENDER +extension GLX" -a dbus-run-session dh_auto_test --max-parallel=1
--
2.39.5