Bug#1068504: mumble-server: wrong path for systemd-sysusers file
Diederik de Haas
didi.debian at cknow.org
Tue Jan 14 14:49:13 GMT 2025
Hi Michael,
On Thu Jan 9, 2025 at 6:55 PM CET, Michael Biebl wrote:
> >> You install systemd-dev (including systemd.pc), the build system picks
> >> up the paths from systemd.pc via pkgconf and installs the files into
> >> the correct paths. All you need to do in .install is reference the now
> >> correct paths.
> >
> > Then the directive here is to reference a "correct path" in the .install
> > file, which presumably is in a variable. (?) Or, whatever the "correct
> > path" is meant to mean, I don't know what that is and cannot interpret it.
>
> No, all you are supposed to do in your .install files is to use the
> correct paths
> /usr/lib/systemd/system/foo.service
> /usr/lib/sysusers.d/foo.conf
> /usr/lib/tmpfile.d/foo.conf
>
> The upstream build system is supposed to install the files directly into
> those paths as they are defined in /usr/share/pkgconfig/systemd.pc.
> Those paths should be queried by the build system via pkgconfig and not
> be hard-coded.
>
> If it doesn't do that, then there is a bug in the upstream build system
> and you should report it as such to upstream.
> This is *not* a Debian packaging issue!
I tried it with the attached patch and got the same error as Chris Knadle
pointed out, 'even' with 1.5.735 which has the referenced commit/PR.
Can you confirm whether the attached patch is the right thing to do on
the Debian side? If that's the case, then we know (?) that the problem
is indeed (still) in the upstream build system.
Or if the patch is incorrect, can you point out why/where and possibly
provide an (cmake based) example which I could use as inspiration?
Cheers,
Diederik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Simplify-installing-systemd-config-files.patch
Type: text/x-patch
Size: 1607 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20250114/bcb9644e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20250114/bcb9644e/attachment.sig>
More information about the Pkg-voip-maintainers
mailing list