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

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



Package: src:ibus
Version: 1.5.32-1
Severity: serious
Tags: ftbfs trixie sid patch

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
FAIL: xkb-latin-layouts
=======================


(ibus-daemon:128538): IBUS-WARNING **: 13:46:54.504: 13:46:54.504290: Failed to unlink /<<PKGBUILDDIR>>/src/tests/tmp-xkb-latin-layouts/ibus-daemon.pid: No such file or directory
portal is not running: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.IBus was not provided by any .service files
setxkbmap -layout af
setxkbmap -layout af -variant fa-olpc
setxkbmap -layout af -variant ps-olpc
setxkbmap -layout af -variant ps
setxkbmap -layout af -variant uz
setxkbmap -layout af -variant uz-olpc
setxkbmap -layout am
setxkbmap -layout am -variant eastern
setxkbmap -layout am -variant eastern-alt
setxkbmap -layout am -variant phonetic
setxkbmap -layout am -variant phonetic-alt
setxkbmap -layout am -variant western
setxkbmap -layout ara
setxkbmap -layout ara -variant azerty
setxkbmap -layout ara -variant azerty_digits
setxkbmap -layout ara -variant buckwalter
setxkbmap -layout ara -variant digits
setxkbmap -layout ara -variant qwerty
setxkbmap -layout ara -variant qwerty_digits
setxkbmap -layout az -variant cyrillic
setxkbmap -layout bd
setxkbmap -layout bd -variant probhat
setxkbmap -layout bg
setxkbmap -layout bg -variant bas_phonetic
setxkbmap -layout bg -variant phonetic
setxkbmap -layout brai
setxkbmap -layout brai -variant left_hand
setxkbmap -layout brai -variant right_hand
setxkbmap -layout bt
Cannot open display ":99"
Error in layout bt variant right_hand
FAIL xkb-latin-layouts (exit status: 1)

============================================================================
Testsuite summary for ibus 1.5.32
============================================================================
# TOTAL: 15
# PASS:  11
# SKIP:  3
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See src/tests/test-suite.log for debugging.
Some test(s) failed.  Please report this to https://github.com/ibus/ibus/issues,
together with the test-suite.log file (gzipped) and your system
information.  Thanks.
============================================================================
make[7]: *** [Makefile:1376: test-suite.log] Error 1
make[7]: Leaving directory '/<<PKGBUILDDIR>>/src/tests'
make[6]: *** [Makefile:1511: check-TESTS] Error 2
make[6]: Leaving directory '/<<PKGBUILDDIR>>/src/tests'
make[5]: *** [Makefile:1680: check-am] Error 2
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/tests'
make[4]: *** [Makefile:2964: check-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:3115: check] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:725: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j1 check "TESTSUITEFLAGS=-j1 --verbose" VERBOSE=1 HOME=/<<PKGBUILDDIR>>/debian/tmp-home XDG_CACHE_HOME= XDG_CONFIG_HOME= XDG_DATA_HOME= XDG_DATA_DIRS= XDG_RUNTIME_DIR=/<<PKGBUILDDIR>>/debian/tmp-home/run DISABLE_DAEMONIZE_IN_TESTS=1 "DISABLE_GUI_TESTS=ibus-bus ibus-compose ibus-keypress test-stress" returned exit code 2
make[1]: *** [debian/rules:99: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:28: 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/202506/

The build failure may not happen everywhere, but it happens very
consistently here. 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.

There was a package which failed in a similar way, and we found
a very simple fix which is to not use dbus-run-session, as in
the attached patch.

Thanks.
commit 590938184e22c5a08ea35ff8ee6ce8441d539433
Author: Santiago Vila <sanvila@debian.org>
Date:   Thu Jun 19 14:37:09 2025 +0200

    Do not use dbus-run-session to run tests. Closes: #XXXXXXX.

diff --git a/debian/rules b/debian/rules
index 491c553d..35cc7da7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -98,7 +98,6 @@ override_dh_auto_test:
 	mkdir -p -m700 $(CURDIR)/debian/tmp-home/run
 	env \
 	  GVFS_DISABLE_FUSE=1 \
-	  dbus-run-session -- \
 	  xvfb-run --auto-servernum -- \
 	  dh_auto_test -- \
 	  HOME=$(CURDIR)/debian/tmp-home \

Reply to: