Your message dated Sat, 06 Jan 2024 18:04:54 +0000
with message-id <e1rmb2u-00a2b1...@fasolo.debian.org>
and subject line Bug#1052666: fixed in lvm2 2.03.16-3
has caused the Debian Bug report #1052666,
regarding lvm2 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.)
--
1052666: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052666
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: lvm2
Version: 2.03.16-2
Severity: normal
Tags: ftbfs patch
User: helm...@debian.org
Usertags: dep17m2
We want to change the value of systemdsystemunitdir in systemd.pc to
point below /usr. lvm2's upstream build system consumes this variable,
but its packaging hard codes the current value. Consequently, lvm2 FTBFS
when it is changed. Consider applying the attached patch to avoid that
failure.
Helmut
diff -Nru lvm2-2.03.16/debian/changelog lvm2-2.03.16/debian/changelog
--- lvm2-2.03.16/debian/changelog 2022-10-19 21:37:31.000000000 +0200
+++ lvm2-2.03.16/debian/changelog 2023-09-25 22:02:41.000000000 +0200
@@ -1,3 +1,11 @@
+lvm2 (2.03.16-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTBFS when systemd.pc changes systemdsystemunitdir or when udev.pc
+ changes udevdir. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de> Mon, 25 Sep 2023 22:02:41 +0200
+
lvm2 (2.03.16-2) unstable; urgency=medium
* Remove remaining unused init scripts.
diff -Nru lvm2-2.03.16/debian/dmeventd.install
lvm2-2.03.16/debian/dmeventd.install
--- lvm2-2.03.16/debian/dmeventd.install 2022-10-19 21:37:31.000000000
+0200
+++ lvm2-2.03.16/debian/dmeventd.install 2023-09-25 22:02:41.000000000
+0200
@@ -1,5 +1,5 @@
lib/*/libdevmapper-event-*
lib/*/device-mapper/libdevmapper-event-*
-lib/systemd/system/dm-event*
+${env:systemdsystemunitdir}/dm-event*
sbin/dmeventd
usr/share/man/man8/dmeventd.8
diff -Nru lvm2-2.03.16/debian/dmsetup.install
lvm2-2.03.16/debian/dmsetup.install
--- lvm2-2.03.16/debian/dmsetup.install 2022-10-19 21:37:31.000000000 +0200
+++ lvm2-2.03.16/debian/dmsetup.install 2023-09-25 22:02:41.000000000 +0200
@@ -1,5 +1,5 @@
../../initramfs-tools/dmsetup/* usr/share/initramfs-tools
-lib/udev/rules.d/*-dm*.rules
+${env:udevdir}/rules.d/*-dm*.rules
sbin/blkdeactivate
sbin/dmsetup
sbin/dmstats
diff -Nru lvm2-2.03.16/debian/lvm2-dbusd.install
lvm2-2.03.16/debian/lvm2-dbusd.install
--- lvm2-2.03.16/debian/lvm2-dbusd.install 2022-10-19 21:37:31.000000000
+0200
+++ lvm2-2.03.16/debian/lvm2-dbusd.install 2023-09-25 22:02:41.000000000
+0200
@@ -1,5 +1,5 @@
etc/dbus-1/system.d/com.redhat.lvmdbus1.conf
-lib/systemd/system/lvm2-lvmdbusd.service
+${env:systemdsystemunitdir}/lvm2-lvmdbusd.service
sbin/lvmdbusd
usr/lib/python*/*-packages/lvmdbusd/
usr/share/dbus-1/system-services/com.redhat.lvmdbus1.service
diff -Nru lvm2-2.03.16/debian/lvm2-lockd.install
lvm2-2.03.16/debian/lvm2-lockd.install
--- lvm2-2.03.16/debian/lvm2-lockd.install 2022-10-19 21:37:31.000000000
+0200
+++ lvm2-2.03.16/debian/lvm2-lockd.install 2023-09-25 22:02:41.000000000
+0200
@@ -1,5 +1,5 @@
-lib/systemd/system/lvmlockd.service
-lib/systemd/system/lvmlocks.service
+${env:systemdsystemunitdir}/lvmlockd.service
+${env:systemdsystemunitdir}/lvmlocks.service
sbin/lvmlockctl
sbin/lvmlockd
usr/share/man/man8/lvmlockctl.8
diff -Nru lvm2-2.03.16/debian/lvm2.install lvm2-2.03.16/debian/lvm2.install
--- lvm2-2.03.16/debian/lvm2.install 2022-10-19 21:37:31.000000000 +0200
+++ lvm2-2.03.16/debian/lvm2.install 2023-09-25 22:02:41.000000000 +0200
@@ -1,9 +1,9 @@
../../initramfs-tools/lvm2/* usr/share/initramfs-tools
etc/lvm
-lib/systemd/system/blk-availability*
-lib/systemd/system/lvm2-lvmpolld*
-lib/systemd/system/lvm2-monitor*
-lib/udev/rules.d/*-lvm*.rules
+${env:systemdsystemunitdir}/blk-availability*
+${env:systemdsystemunitdir}/lvm2-lvmpolld*
+${env:systemdsystemunitdir}/lvm2-monitor*
+${env:udevdir}/rules.d/*-lvm*.rules
sbin/fsadm
sbin/lvchange
sbin/lvconvert
diff -Nru lvm2-2.03.16/debian/rules lvm2-2.03.16/debian/rules
--- lvm2-2.03.16/debian/rules 2022-10-19 21:37:31.000000000 +0200
+++ lvm2-2.03.16/debian/rules 2023-09-25 22:02:41.000000000 +0200
@@ -16,6 +16,9 @@
DEVMAPPER_VERSION_DEBIAN = $(DEVMAPPER_VERSION)-$(VERSION_DEBIAN)
DEVMAPPER_VERSION_FILE = $(DEVMAPPER_VERSION_PLAIN)-$(VERSION_DEBIAN)
+export systemdsystemunitdir = $(shell pkg-config
--variable=systemdsystemunitdir systemd | sed s,^/,,)
+export udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,)
+
GENCONTROL_ARGS = -Vdevmapper:Version=$(DEVMAPPER_VERSION_DEBIAN)
ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
--- End Message ---
--- Begin Message ---
Source: lvm2
Source-Version: 2.03.16-3
Done: Bastian Blank <wa...@debian.org>
We believe that the bug you reported is fixed in the latest version of
lvm2, 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.
Bastian Blank <wa...@debian.org> (supplier of updated lvm2 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: SHA256
Format: 1.8
Date: Sat, 06 Jan 2024 18:47:24 +0100
Source: lvm2
Architecture: source
Version: 2.03.16-3
Distribution: unstable
Urgency: medium
Maintainer: Debian LVM Team <team+...@tracker.debian.org>
Changed-By: Bastian Blank <wa...@debian.org>
Closes: 1052666
Changes:
lvm2 (2.03.16-3) unstable; urgency=medium
.
* Remove obsolete dependency on lsb-base.
* Expect systemd relates files in /usr. (closes: #1052666)
* Move all remaining files to /usr.
Checksums-Sha1:
8f7176d7d92d7a4d4a827fb0fce8565b328f3fd7 2450 lvm2_2.03.16-3.dsc
496bee04f07551ce692d268ef124c47988170ba9 33480 lvm2_2.03.16-3.debian.tar.xz
dabe2543787b2c30a36f4538e0cea6407c0142cd 5460 lvm2_2.03.16-3_source.buildinfo
Checksums-Sha256:
03b305e50305601f558fb892b6039f23ce31a48e0e253379236dccfe0604193b 2450
lvm2_2.03.16-3.dsc
b39a0d66cf7ad6c5a24cf7b7301159a1fb31add8ac4603214da3c80868cf22eb 33480
lvm2_2.03.16-3.debian.tar.xz
cb28a71151f97b9be2ef52e693b32f64267c02d61d2f559023e912d65e39b726 5460
lvm2_2.03.16-3_source.buildinfo
Files:
0a442120e66cf76b1337c7c3b9f25460 2450 admin optional lvm2_2.03.16-3.dsc
f8895f25fd2bed38c7ea2b2655e5c31e 33480 admin optional
lvm2_2.03.16-3.debian.tar.xz
96e8384047f4b86ceee6298d78a8146d 5460 admin optional
lvm2_2.03.16-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQQ8pEKDNIgQDAQDOBFji0aBW7swjwUCZZmSrAAKCRBji0aBW7sw
jxTjAP9ZQCC9XgX4v2znByCTmUkI5tuymLEYi3hTAm4H5uJ0AAEA/aqdmfKm1DKn
mDEk3GLUOnJRZdpnkwHcFVad/FI04wQ=
=nHiG
-----END PGP SIGNATURE-----
--- End Message ---