Source: rauc Version: 1.10.1-1 Tags: ftbfs patch User: [email protected] Usertags: dep17m2
We want to change the value of systemdsystemunitdir in systemd.pc to point below /usr. rauc's upstream build system consumes this variable while the packaging hard codes its current value. As we change it, rauc will FTBFS. Consider applying the attached patch to avoid this failure. Helmut
diff -Nru rauc-1.10.1/debian/changelog rauc-1.10.1/debian/changelog --- rauc-1.10.1/debian/changelog 2023-08-07 21:04:10.000000000 +0200 +++ rauc-1.10.1/debian/changelog 2023-09-26 10:44:36.000000000 +0200 @@ -1,3 +1,10 @@ +rauc (1.10.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS when systemd.pc changes systemdsystemunitdir. (Closes: #-1): + + -- Helmut Grohne <[email protected]> Tue, 26 Sep 2023 10:44:36 +0200 + rauc (1.10.1-1) unstable; urgency=medium * New upstream release. diff -Nru rauc-1.10.1/debian/control rauc-1.10.1/debian/control --- rauc-1.10.1/debian/control 2023-08-07 21:01:55.000000000 +0200 +++ rauc-1.10.1/debian/control 2023-09-26 10:43:54.000000000 +0200 @@ -22,9 +22,11 @@ opensc <!nocheck>, opensc-pkcs11 <!nocheck>, openssl <!nocheck>, + pkgconf, softhsm2 <!nocheck>, squashfs-tools <!nocheck>, systemd, + systemd-dev, Rules-Requires-Root: no Standards-Version: 4.6.2 Homepage: https://github.com/rauc/rauc diff -Nru rauc-1.10.1/debian/rauc-service.install rauc-1.10.1/debian/rauc-service.install --- rauc-1.10.1/debian/rauc-service.install 2023-08-07 20:18:55.000000000 +0200 +++ rauc-1.10.1/debian/rauc-service.install 2023-09-26 10:44:29.000000000 +0200 @@ -1,3 +1,3 @@ -lib/systemd/system +${env:deb_systemdsystemunitdir} usr/share/rauc usr/share/dbus-1 diff -Nru rauc-1.10.1/debian/rules rauc-1.10.1/debian/rules --- rauc-1.10.1/debian/rules 2023-08-07 20:59:05.000000000 +0200 +++ rauc-1.10.1/debian/rules 2023-09-26 10:44:18.000000000 +0200 @@ -2,6 +2,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +export deb_systemdsystemunitdir = $(shell pkgconf --variable=systemdsystemunitdir systemd | sed s,^/,,) %: dh $@ --with autoreconf

