[Pkg-mpd-maintainers] Bug#1034236: mpd: dh_installsystemd doesn't handle files in /usr/lib/systemd/system

Andreas Henriksson andreas at fatal.se
Tue Apr 11 14:11:27 BST 2023


On Tue, Apr 11, 2023 at 09:37:27AM +0200, bigon at debian.org wrote:
> Package: mpd
> Version: 0.23.12-1     
> Severity: serious
> Tags: sid bookworm
> User: debhelper at packages.debian.org
> Usertags: systemd-files-in-usr-bookworm
> 
> Dear Maintainer,
> 
> It seems that your package mpd is shipping files (.service, .socket or
> .timer) in /usr/lib/systemd/system.
[...]

The culprit seems to be that mpd falls back on hard-coded path (instead
of failing) when systemd.pc is not found!

https://sources.debian.org/src/mpd/0.23.12-1/systemd/system/meson.build/#L1-L4

Fixing the problem should be as easy as adding a build-dep on the
package that contains systemd.pc (systemd).

Regards,
Andreas Henriksson



More information about the Pkg-mpd-maintainers mailing list