Skip to content

Build-Depend on at-spi2-core & dbus-x11 for build tests

Simon, while updating gtksourceview5 today, I noticed that the build tests have begun failing. Could you review this build fix? I know you have a much better understanding than me of how dbus works in Debian, so you can see if things are working as expected here.

Test failure excerpt

=================================== 23/26 ====================================
test:         test-vim-input
start time:   15:56:23
duration:     0.28s
result:       killed by signal 5 SIGTRAP
command:      G_DEBUG=gc-friendly GSETTINGS_BACKEND=memory MALLOC_CHECK_=2 G_TEST_BUILDDIR=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/testsuite
 G_TEST_SRCDIR=/<<PKGBUILDDIR>>/testsuite MALLOC_PERTURB_=29 /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/testsuite/test-vim-input
----------------------------------- stdout -----------------------------------
# random seed: R02S8b92e43c71c8c4be52478c8d2f6fca0b
1..7
# Start of GtkSourceView tests
# Start of vim-input tests
----------------------------------- stderr -----------------------------------

(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/testsuite/test-vim-input:1275694): Gtk-WARNING **: 15:56:23.293: Unable to acquire session bus:
 Failed to execute child process “dbus-launch” (No such file or directory)

Test failure excerpt after adding dbus-x11 to Build-Depends

test:         test-vim-input
start time:   16:55:27
duration:     0.50s
result:       killed by signal 5 SIGTRAP
command:      G_TEST_BUILDDIR=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/testsuite G_TEST_SRCDIR=/<<PKGBUILDDIR>>/testsuite GSETTINGS_BACKEND=memory
 MALLOC_CHECK_=2 G_DEBUG=gc-friendly MALLOC_PERTURB_=40 /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/testsuite/test-vim-input
----------------------------------- stdout -----------------------------------
# random seed: R02S96c2d6377f7d07c2b87245145f72ef24
1..7
# Start of GtkSourceView tests
# Start of vim-input tests
# GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
----------------------------------- stderr -----------------------------------

(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/testsuite/test-vim-input:1297743): Gtk-WARNING **: 16:55:28.143: Unable to acquire the address of the accessibility bus:
 GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files.
 If you are attempting to run GTK without a11y support, GTK_A11Y should be set to 'none'.

Merge request reports

Loading