On Tue, 2023-04-11 at 15:03 +0200, Andreas Henriksson wrote: > On Tue, Apr 11, 2023 at 09:37:27AM +0200, bi...@debian.org wrote: ...
> > It seems that your package gammu-smsd is shipping files (.service, .socket > > or > > .timer) in /usr/lib/systemd/system. > [...] > > The culprit seems to be here: > https://sources.debian.org/src/gammu/1.42.0-7/debian/rules/#L32 > > ``` > -DSYSTEMD_SERVICES_INSTALL_DIR=/usr/lib/systemd/system \ > ``` > > By removing this line you'll let cmake auto-detect the correct path via > ./cmake/FindSystemD.cmake which uses pkg-config. > > Make sure you also build-dep on the package containing systemd.pc > (you already seem to have pkg-config itself in build-deps). > > Also note that you need to adjust: > https://sources.debian.org/src/gammu/1.42.0-7/debian/gammu-smsd.install/#L5 Thanks for this. My concern is that involves moving files between lib and usr/lib - as far as I am aware this is a big problem with the current state of usrmerge, isn't it? There is no systemd.pc, libsystemd.pc contains prefix=/usr - how that is going to change anything? I did try to apply the proposed change and cmake breaks in a bad way without the -DSYSTEMD_SERVICES_INSTALL_DIR; I have kept that and changed the path, please review my changes on salsa. -- With best regards, b.
signature.asc
Description: This is a digitally signed message part