#1034227 mpdscribble: dh_installsystemd doesn't handle files in /usr/lib/systemd/system

Package:
mpdscribble
Source:
mpdscribble
Description:
Last.fm reporting client for mpd
Submitter:
Date:
2023-06-11 15:51:16 UTC
Severity:
normal
Tags:
#1034227#5
Date:
2023-04-11 07:37:27 UTC
From:
To:
Dear Maintainer,

It seems that your package mpdscribble is shipping files (.service, .socket or
.timer) in /usr/lib/systemd/system.

This is not supported by the version of dh_installsystemd/debhelper currently
in unstable and bookworm (See: #1031695). That means that currently your
service might not be enabled at boot and/or started as expected.

With the freeze currently in effect, debhelper will not be fixed for bookworm.

As a result, could you please move these files to /lib/systemd/system instead
so they are properly detected by debhelper?
As soon as debhelper is supporting (not until bookworm+1 aka Trixie) you will
be able to move them back to the newer location.

Note that bookworm is currently in hard freeze, please limit the changes you
are uploading to the ones fixing RC bugs.  Also note that you might have to
request a freeze exception to the release team.
See: https://release.debian.org/testing/freeze_policy.html

Feel free to contact me if you have any questions.

Kind regards,
Laurent Bigonville

The list of packages has been generated with the following command:
apt-file search -x '^/usr/lib/systemd/system/.*\.(service|timer|socket)$'|cut -d: -f1|sort -u

#1034227#10
Date:
2023-04-11 14:04:12 UTC
From:
To:
[...]

The problem seems to be basically the same as in
https://bugs.debian.org/1034236

When systemd.pc is not found, it falls back on hard-coded path in:
https://sources.debian.org/src/mpdscribble/0.24-2/systemd/system/meson.build/#L1-L4

As pkg-config is already part of build-deps, simply adding systemd (for
systemd.pc) should be enough to fix the problem.

Regards,
Andreas Henriksson