Hello Chris, Michael, Stefan.
I don't understand how to do what has been requested. I've tried a
number of variations of including systemd-dev as a dependency and using
variables to reference the system sysusers directory, and this is not
working out for me. I've spent more time on this than I'm comfortable with.
So far here's the results from multiple builds:
dh_install: error: Cannot resolve variable "${SYSUSERS_DIR}" in
debian/mumble-server.install (line 6) >
make: *** [debian/rules:28: binary] Error 25 >
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
dh_install: error: Cannot resolve variable "${sysusers_dir}" in
debian/mumble-server.install (line 6)
make: *** [debian/rules:28: binary] Error 25
Trying to source in /usr/share/pkgconfig/systemd.pc within debian/rules:
Debian/rules:28: *** missing separator. Stop.
dpkg-buildpackage: error: debian/rules clean subprocess returned exit
status 2
Note: the place the variable needs to be referenced is in
debian/mumble-server.install which is for dh_install to use and I
believe does not accept arbitrary shell code.
-- Chris
Chris Knadle
chris.kna...@coredump.us
On 11/20/24 02:54, Chris Hofstaedtler wrote:
Hi Chris,
On Tue, Nov 19, 2024 at 11:58:15PM -0500, Chris Knadle wrote:
I think I finally figured out what referencing systemd.pc is about. There's
no systemd-dev package, it looks like system.pc is in the "systemd" package.
As Michael pointed out, systemd.pc is in the "systemd-dev" package.
Please check the packages in testing, not in stable.
https://github.com/systemd/systemd/blob/main/src/core/systemd.pc.in
and it looks like this file would need to be sourced in and then variable
$sysusers_dir or $sysusersdir would be what to reference.
Yes. But this is already done in CMake.
The $sysusers_dir variable would need to be referenced within
debian/mumble-server.install and I'm not sure what location is appropriate
to source in /usr/share/pkgconfig/systemd.pc. I'm guessing it would be the
debian/rules file, perhaps under an override_dh_install section.
If CMake does its thing correctly, hopefully you do not need to
touch debian/rules at all.
Chris