This package Build-Depends on dbus-x11, but I don't know why: the usual
reason for that build-dependency is to run tests, but this package
doesn't seem to run tests.
Please investigate whether this B-D can be removed, or replaced by a
"smaller" package like dbus-daemon or dbus-bin.
Thanks,
smcv
Dear Simon, Thank you for reporting. Indeed we don't run tests during build. I have no idea why we require this package, we don't rely on dbus directly. For me it was there to make the Debian build system happy or something like that. I even wonder is dbus even required at all? I would have image it is a dependency of Qt but I can't find any trace, only the session managers. So could help me understand if dbus-daemon or dbus-bin is required ? Thanks, *Dr. Flavien BRIDAULT* Director of Software Development IRCAD France & IRCAD Africa flavien.bridault@ircad.fr <mailto:flavien.bridault-louchez@ircad.fr> Tél. : +33 (0)3 88 119 201 IRCAD France http://www.ircad.fr/ http://www.ircad.africa/ <http://www.ircad.fr/> Suivez l'IRCAD sur Facebook <http://www.facebook.com/pages/IRCAD/193785273990141> *IRCAD France* Hôpitaux Universitaires - 1, place de l'Hôpital - 67091 Strasbourg Cedex - FRANCE Le 03/10/2025 à 02:45, Simon McVittie a écrit :
Try removing it and see whether a build in a minimal environment (sbuild
or pbuilder or Salsa-CI) still works? If yes, then it can probably be
removed permanently.
(sight doesn't currently compile successfully even *with* dbus-x11 - see
#1097881 and #1111550 - so fixing those will be a prerequisite for
finding out whether it can compile successfully *without* dbus-x11!)
You need dbus-bin if you run dbus-send, dbus-monitor, dbus-uuidgen,
dbus-update-activation-environment or dbus-cleanup-sockets.
You need dbus-daemon if you run dbus-daemon or dbus-run-session.
If this package doesn't interact directly with D-Bus, then you probably
don't need either of those and can just remove the build-dep.
Build-dependencies on D-Bus things are usually either because
build-time tests need it, or because the upstream build system checks
for something that is going to be necessary at runtime, like for example
find_program(DBUS_DAEMON dbus-daemon)
and if you don't have something like that in the upstream build system
then you probably don't need it.
smcv
Perfect, thank you for your answer, I'll give a try with a clean build with pbuilder. *Dr. Flavien BRIDAULT* Director of Software Development IRCAD France & IRCAD Africa flavien.bridault@ircad.fr <mailto:flavien.bridault-louchez@ircad.fr> Tél. : +33 (0)3 88 119 201 IRCAD France http://www.ircad.fr/ http://www.ircad.africa/ <http://www.ircad.fr/> Suivez l'IRCAD sur Facebook <http://www.facebook.com/pages/IRCAD/193785273990141> *IRCAD France* Hôpitaux Universitaires - 1, place de l'Hôpital - 67091 Strasbourg Cedex - FRANCE Le 03/10/2025 à 11:58, Simon McVittie a écrit :