[Debian-med-packaging] Bug#1117106: sight: (unnecessarily?) Build-Depends on dbus-x11 (dbus-launch)

Flavien Bridault flavien.bridault at ircad.fr
Fri Oct 3 11:00:08 BST 2025


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 at ircad.fr <mailto:flavien.bridault-louchez at 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 :
> Attention ! Ce message a ?t? envoy? depuis l'ext?rieur de votre 
> organisation.
>
> On Fri, 03 Oct 2025 at 11:19:12 +0200, Flavien Bridault wrote:
>> 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.
>
> 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!)
>
>> So could help me understand if dbus-daemon or dbus-bin is required ?
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20251003/75b0bc61/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ujVDfZxo8jwvkGUm.png
Type: image/png
Size: 6090 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20251003/75b0bc61/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Z0FUMsKUG2Yx6XHt.png
Type: image/png
Size: 3486 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20251003/75b0bc61/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20251003/75b0bc61/attachment-0001.sig>


More information about the Debian-med-packaging mailing list