On Tue, Apr 11, 2023 at 09:37:27AM +0200, bi...@debian.org wrote: > Package: mpd > Version: 0.23.12-1 > Severity: serious > Tags: sid bookworm > User: debhel...@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