On Tue Jan 14, 2025 at 3:49 PM CET, Diederik de Haas via Pkg-voip-maintainers 
wrote:
> On Thu Jan 9, 2025 at 6:55 PM CET, Michael Biebl wrote:
> > 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?

Looks like I found confirmation that the upstream build system is NOT
doing the right thing ... in CMakeCache.txt:

```
...
//The directory to install systemd service files to
MUMBLE_INSTALL_SERVICEFILEDIR:PATH=/etc/systemd/system

//The directory to install system-wide config files to
MUMBLE_INSTALL_SYSCONFDIR:PATH=/etc/mumble

//The directory to install systemd sysusers files to
MUMBLE_INSTALL_SYSUSERSDIR:PATH=/etc/sysusers.d

//The directory to install systemd tmpfiles files to
MUMBLE_INSTALL_TMPFILESDIR:PATH=/etc/tmpfiles.d
...
```

IIUC, those should point to the above mentioned dirs in ``/usr/lib``.

Cheers,
  Diederik

Attachment: signature.asc
Description: PGP signature

Reply via email to