- Package:
- libelogind-dev
- Source:
- elogind
- Description:
- user, seat and session management library (development files)
- Submitter:
- Maxim Chintalov
- Date:
- 2020-12-11 20:15:03 UTC
- Severity:
- normal
- Tags:
Dear Maintainer, I am attempting to install libgnome-desktop-3-dev, which has a dependency on libsystemd-dev, but it ended in APT error. Although libelogind0 provides libsystemd0, libelogind-dev is not providing libsystemd-dev. Please add Provides: libsystemd-dev to control.
I think this is by design; applications are supposed to build against the systemd headers and then, if they only use functions also exposed by libelogind0 they can also run with that. Normally, you only need those -dev packages in buildd chroots, which nowadays are/can be init-less, anyway. bye, //mirabilos
Maxim, Thanks for this. As Thorsten has already suggested, this is by design. Debian packages are only built against libsystemd-dev. The libelogind0/libsystemd0 compatibility is a *runtime* option, not compile-time. We don't even know (and can't test) if all of the source packages depending on libsystemd-dev will compile against libelogind-dev. This would be both unwise and counter-productive. Having libelogind0 provide libsystemd0 was a very controversial move and getting it accepted into Bullseye a hard won victory. I am very reluctant to do anything that might jeopardise that. If you have an libelogind0 system and need to compile against libsystemd-dev, please use one of the various build chroots or containers. This requirement is already documented in libelogind0's README.Debian. I propose to tag this wontfix, but leave it open to document the issue. I hope that is acceptable. Best wishes Mark
Maintainer, Thank you. What you are doing seems perfectly reasonable. I have nothing else to say. Maxim