Your message dated Sat, 16 Dec 2023 01:04:40 +0000
with message-id <e1rej6e-009inv...@fasolo.debian.org>
and subject line Bug#1052309: fixed in lirc 0.10.1-7.3
has caused the Debian Bug report #1052309,
regarding lirc FTBFS when systemd.pc changes systemdsystemunitdir
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1052309: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052309
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: lirc
Version: 0.10.1-7.2
Severity: normal
Tags: ftbfs patch
User: helm...@debian.org
Usertags: dep17m2

systemd wants to change the value of systemdsystemunitdir in systemd.pc
to point to user. The lirc upstream code consumes this value to
determine the placement of systemd units. Unfortunately, the packaging
hard codes the current value, so when systemd changes it, lirc will
FTBFS. I'm attaching a patch to fix that.

Helmut
diff -Nru lirc-0.10.1/debian/changelog lirc-0.10.1/debian/changelog
--- lirc-0.10.1/debian/changelog        2022-12-28 12:25:42.000000000 +0100
+++ lirc-0.10.1/debian/changelog        2023-09-20 10:40:12.000000000 +0200
@@ -1,3 +1,11 @@
+lirc (0.10.1-7.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS when systemdsystemunitdir changes in systemd.pc. (Closes: #-1)
+  * Also fix build vs host confusion.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 20 Sep 2023 10:40:12 +0200
+
 lirc (0.10.1-7.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru lirc-0.10.1/debian/install lirc-0.10.1/debian/install
--- lirc-0.10.1/debian/install  2022-12-28 12:25:42.000000000 +0100
+++ lirc-0.10.1/debian/install  2023-09-20 10:40:12.000000000 +0200
@@ -1,7 +1,7 @@
 #! /usr/bin/dh-exec
 
 etc/lirc
-[linux-any] lib/systemd/*
+[linux-any] ${systemdsystemunitdir}
 [linux-any] usr/lib/tmpfiles.d/*
 [linux-any] usr/bin/lirc-make-devinput
 [linux-any] usr/bin/irpipe
diff -Nru lirc-0.10.1/debian/rules lirc-0.10.1/debian/rules
--- lirc-0.10.1/debian/rules    2022-12-28 12:25:42.000000000 +0100
+++ lirc-0.10.1/debian/rules    2023-09-20 10:40:12.000000000 +0200
@@ -5,6 +5,8 @@
 export DEB_BUILD_MAINT_OPTIONS      = hardening=+all
 export DEB_LDFLAGS_MAINT_APPEND     = -Wl,--as-needed
 
+export systemdsystemunitdir=$(shell pkg-config --variable=systemdsystemunitdir 
systemd | sed s,^/,,)
+
 %:
        dh $@ --with python3
 
@@ -20,7 +22,7 @@
 
 override_dh_auto_configure: debian/lirc.preinst
 override_dh_auto_configure:
-ifeq ($(DEB_BUILD_ARCH_OS), linux)
+ifeq ($(DEB_HOST_ARCH_OS), linux)
        dh_auto_configure -- \
            SH_PATH=/bin/sh \
            MODINFO=/sbin/modinfo \
@@ -44,7 +46,7 @@
        find debian/tmp -name *.la -delete
        rm -f debian/tmp/usr/share/doc/lirc/lirc.org/api-docs/api-docs
        chmod 755 debian/tmp/usr/share/lirc/python-pkg/lirc/lirctool
-ifeq ($(DEB_BUILD_ARCH_OS), linux)
+ifeq ($(DEB_HOST_ARCH_OS), linux)
        mkdir -p debian/tmp/usr/lib/tmpfiles.d
        echo "d /run/lirc  0755  root  root  10d" \
            > debian/tmp/usr/lib/tmpfiles.d/lirc.conf
@@ -67,7 +69,7 @@
 endif
 
 override_dh_installsystemd:
-ifeq ($(DEB_BUILD_ARCH_OS), linux)
+ifeq ($(DEB_HOST_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

--- End Message ---
--- Begin Message ---
Source: lirc
Source-Version: 0.10.1-7.3
Done: Vagrant Cascadian <vagr...@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
lirc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1052...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagr...@reproducible-builds.org> (supplier of updated lirc 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 05 Dec 2023 15:52:45 -0800
Source: lirc
Architecture: source
Version: 0.10.1-7.3
Distribution: unstable
Urgency: medium
Maintainer: Debian Lirc Team <team+debian-l...@tracker.debian.org>
Changed-By: Vagrant Cascadian <vagr...@reproducible-builds.org>
Closes: 979019 979023 979024 988907 989304 1052309
Changes:
 lirc (0.10.1-7.3) unstable; urgency=medium
 .
   [ Vagrant Cascadian ]
   * Non-maintainer upload.
   * tools: Do not embed build date and kernel version in various files.
     (Closes: #979019)
   * debian/rules: Run build in the C.UTF-8 locale. (Closes: #979023)
 .
   [ Helmut Grohne ]
   * Build verbosely by default. (Closes: #988907)
 .
   [ Vagrant Cascadian ]
   * debian/rules: Normalize shipped tarball of python source code.
     (Closes: #979024)
 .
   [ Helmut Grohne ]
   * Fix FTBFS when systemdsystemunitdir changes in systemd.pc.
     (Closes: #1052309)
   * Fix build vs host confusion. (Closes: #1052309)
   * Check for /dev/input using AC_CHECK_FILE. (Closes: #989304)
   * Multiarchify python Build-Depends. (Closes: #989304)
   * Export _PYTHON_SYSCONFIGDATA_NAME for setup.py. (Closes: #989304)
Checksums-Sha1:
 3eff410e3192cf065546314c13787019be978442 2251 lirc_0.10.1-7.3.dsc
 cc744704f2de715729638d5cd17329510b5a34a4 41928 lirc_0.10.1-7.3.debian.tar.xz
Checksums-Sha256:
 15fddc80a1852d9d1ff21872cd986c9705f6c4e9346a8098ec6c93565abcfd1f 2251 
lirc_0.10.1-7.3.dsc
 4c5c03e146f3ef7aeff2e0d0dc5f7a35713a1ddcd6f07c3044c9f607b48d92df 41928 
lirc_0.10.1-7.3.debian.tar.xz
Files:
 94227eb8effa8de90faef4ab4dbce54b 2251 utils optional lirc_0.10.1-7.3.dsc
 cf18a660942e124d53513ccc62de991b 41928 utils optional 
lirc_0.10.1-7.3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZW+7iSAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqsgpAP4j50+SmtNxzq4Y
SX+8NJ3no8w8+1Ej4OjuIGL53TmsuAD/QwO1hvlAWuzEu3d7eQq7+if2SqGdL/jB
0LS+c5uKoQA=
=K8rx
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to