[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1108040: ibus: FTBFS: FAIL: xkb-latin-layouts



On Sat, Jun 28, 2025 at 01:53:44PM +0100, Simon McVittie wrote:
> Please don't treat this as precedent for "remove dbus-run-session from the
> command-line" being a good first thing to try whenever there is a build or
> build-time-test failure. If a test suite or a piece of build-time batch
> processing is wrapped in dbus-run-session, it's usually there for a reason.

Ok. I take note.

> If my theory about this particular FTBFS is correct, removing the use of
> dbus-run-session results in the build using D-Bus X11 autolaunching
> (dbus-launch, dbus-x11) instead, which works around the test failure via an
> internal implementation detail of dbus-launch (the fact that it's an X11
> client); and if that theory is correct, `xeyes &` would have been an almost
> equivalent workaround (I say "almost" because it would have a race
> condition), but the real solution would be to use
> `xvfb-run -s "-noreset"` to suppress the X server's unwanted "reset"
> behaviour.

I confirm that by adding those options to the xvfb-run call in
dh_auto_test (as in the attached patch), the problem disappears completely
(tested 50 times on machines with 1 cpu and 50 times on machines with 2 cpus).

Question for Boyuan: Since you did the last upload, would you please
consider making another team upload to fix this? (This is a very
targeted fix, so I think it should be ok).

Thanks.
diff -Nru ibus-1.5.32/debian/changelog ibus-1.5.32/debian/changelog
--- ibus-1.5.32/debian/changelog	2025-04-11 02:22:56.000000000 +0200
+++ ibus-1.5.32/debian/changelog	2025-07-01 00:30:00.000000000 +0200
@@ -1,3 +1,10 @@
+ibus (1.5.32-2) unstable; urgency=medium
+
+  * Team upload.
+  * Run xvfb-run with -s "-noreset". Closes: #1108040.
+
+ -- Boyuan Yang <byang@debian.org>  Tue, 01 Jul 2025 00:30:00 +0200
+
 ibus (1.5.32-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru ibus-1.5.32/debian/rules ibus-1.5.32/debian/rules
--- ibus-1.5.32/debian/rules	2025-03-20 23:24:46.000000000 +0100
+++ ibus-1.5.32/debian/rules	2025-07-01 00:30:00.000000000 +0200
@@ -99,7 +99,7 @@
 	env \
 	  GVFS_DISABLE_FUSE=1 \
 	  dbus-run-session -- \
-	  xvfb-run --auto-servernum -- \
+	  xvfb-run -s "-noreset" --auto-servernum -- \
 	  dh_auto_test -- \
 	  HOME=$(CURDIR)/debian/tmp-home \
 	  XDG_CACHE_HOME= \

Reply to: