Source: lirc Version: 0.10.1-3 Severity: important Tags: patch Control: found -1 0.10.1-1
Hi, lirc fails to build on non-Linux architectures [1][2][3]. The issue is that the dh_installsystemd override tries to install files which are installed only when the systemd support is enabled, i.e. on Linux only. The easy fix is to turn the dh_installsystemd invocation to a no-op on non-Linux architectures. Patch attached for this. PS: I did not include it in the patch as it is not a mandatory fix, but most probably the systemd recommend in lirc, newly added in 0.10.1-3, can be restricted to linux-any. [1] https://buildd.debian.org/status/fetch.php?pkg=lirc&arch=hurd-i386&ver=0.10.1-3&stamp=1540967965&raw=0 [2] https://buildd.debian.org/status/fetch.php?pkg=lirc&arch=kfreebsd-amd64&ver=0.10.1-3&stamp=1540917117&raw=0 [3] https://buildd.debian.org/status/fetch.php?pkg=lirc&arch=kfreebsd-i386&ver=0.10.1-3&stamp=1540922361&raw=0 Thanks, -- Pino
--- a/debian/rules +++ b/debian/rules @@ -63,11 +63,13 @@ endif override_dh_installsystemd: +ifeq ($(DEB_BUILD_ARCH_OS), linux) dh_installsystemd -p lirc lircd.socket dh_installsystemd -p lirc --no-enable --no-start lircd.service dh_installsystemd -p lirc --no-enable --no-start irexec.service dh_installsystemd -p lirc --no-enable --no-start lircmd.service dh_installsystemd -p lirc --no-enable --no-start lircd-uinput.service +endif override_dh_install: dh_install --fail-missing