Bug#1122598: gnome-builder: directly Build-Depends on dbus

2025-12-12 Thread Simon McVittie

On Thu, 11 Dec 2025 at 17:38:09 -0500, Jeremy Bícha wrote:

On Thu, Dec 11, 2025 at 3:30 PM Simon McVittie  wrote:

I would guess that dbus-daemon is probably a more appropriate dependency
here, but I haven't inspected the source code in detail. It's possible
that the dependency isn't necessary any more - I don't see any
obvious references to dbus-run-session or GTestDBus in codesearch.


Here's a log excerpt when I don't use dbus-run-session with
dh_auto_test. One test fails


If there's a use of dbus-run-session that I didn't notice, then a 
dependency on the dbus-daemon package is completely fine.


smcv



Bug#1122598: gnome-builder: directly Build-Depends on dbus

2025-12-11 Thread Jeremy Bícha
On Thu, Dec 11, 2025 at 3:30 PM Simon McVittie  wrote:
> I would guess that dbus-daemon is probably a more appropriate dependency
> here, but I haven't inspected the source code in detail. It's possible
> that the dependency isn't necessary any more - I don't see any
> obvious references to dbus-run-session or GTestDBus in codesearch.

Here's a log excerpt when I don't use dbus-run-session with
dh_auto_test. One test fails:

=== 20/21 
test: gnome-builder:test-shortcuts
duration: 0.19s
result:   killed by signal 5 SIGTRAP
--- stdout ---
TAP version 14
# random seed: R02Sedf28e41ce3cbf98b5791a65c2a2e0eb
1..1
# Start of Ide tests
# Start of ShortcutBundle tests
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default
implementation local (GLocalVfs) for ‘gio-vfs’
--- stderr ---
libEGL warning: DRI3 error: Could not get DRI3 device
libEGL warning: Ensure your X server supports DRI3 to get accelerated rendering

(/build/reproducible-path/gnome-builder-49.1/obj-x86_64-linux-gnu/src/tests/test-shortcuts):
 Gtk-WARNING **: Unable to acquire session bus: Failed to execute
child process “dbus-launch” (No such file or directory)


Thank you,
Jeremy Bícha



Bug#1122598: gnome-builder: directly Build-Depends on dbus

2025-12-11 Thread Simon McVittie
Source: gnome-builder
Severity: normal
Tags: forky sid
User: [email protected]
Usertags: direct-dbus-dependency

This package has a direct Build-Depends on the dbus package. This is 
probably a larger dependency than it really needs, and could interfere 
with use of the dbus-broker package as a system bus.

For details of how to replace this dependency, please see:
https://salsa.debian.org/utopia-team/dbus/-/blob/debian/unstable/debian/replacing-dbus-dependency.txt?ref_type=heads

I would guess that dbus-daemon is probably a more appropriate dependency 
here, but I haven't inspected the source code in detail. It's possible 
that the dependency isn't necessary any more - I don't see any 
obvious references to dbus-run-session or GTestDBus in codesearch.

smcv