Hello, Michael.

I'm emailing again because I've tried again to follow the suggestions that were made for this bug, and it is not working.

On 11/22/24 06:09, Michael Biebl wrote:
Again, I don't understand why you try to fiddle with debian/rules and variables in .install files (don't do that)
The directive here is to avoid using variables in the .install file.
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.

I've again tried adding systemd-dev Build-Depends to the d/control file, and making modifications to mumble-server.install in various ways, and none of it has helped.

I've done as much as I can. Upstream is not able to help with Debian packaging matters, the others I work with on the Mumble Debian package don't understand this any better either. What I can do from here is I can accept a patch and test it, if one is submitted. Other than that I've done what I can.

   -- Chris

Chris Knadle
chris.kna...@coredump.us

]That said, I naively assumed, that the build system in mumble works properly. Apparently it doesn't and the pkgconf integration in version 1.5.517 is broken. Seems you would need https://github.com/mumble-voip/mumble/pull/6100 , specifically commits like https://github.com/mumble-voip/mumble/pull/6100/commits/fb3f115692db84f5f427755d9cf02cc14e9262fa
Or you upgrade to a newer upstream version.


Michael

Am 21.11.24 um 23:49 schrieb Chris Knadle:
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


Reply via email to