Your message dated Sun, 03 Dec 2023 18:06:15 +0000
with message-id <[email protected]>
and subject line Bug#1056923: fixed in bladerf 0.2023.02-3
has caused the Debian Bug report #1056923,
regarding libbladerf2: Move files into /usr (incl. DEP17 P7 mitigation)
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 [email protected]
immediately.)
--
1056923: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056923
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libbladerf2
Version: 0.2023.02-2
Severity: important
Tags: patch
User: [email protected]
Usertags: dep17p7
X-Debbugs-Cc: [email protected]
Dear Maintainer,
libbladerf2 contains udev files which are installed to /lib; these
files need to be moved to /usr/lib as part of Debian's usr-merge effort.
Because your package is Multi-Arch: same, an unfortunate corner-case can
occur whereby shared files (such as the udev rules) may be erroneously
removed on upgrades (please see DEP17[1] P7: Shared multiarch file
loss).
You will find a patch attached to move the udev files, including the
mitigation for the file loss scenario.
Please consider applying this patch at your earliest convenience. This
bug will be upgraded to release critical soon, as it blocks the overall
usr-merge effort which is being undertaken for the trixie release.
Many thanks,
Chris
[1] https://wiki.debian.org/UsrMerge
diff -Nru bladerf-0.2023.02/debian/changelog bladerf-0.2023.02/debian/changelog
--- bladerf-0.2023.02/debian/changelog 2023-09-24 04:34:49.000000000 +0200
+++ bladerf-0.2023.02/debian/changelog 2023-11-26 20:11:52.000000000 +0100
@@ -1,3 +1,11 @@
+bladerf (0.2023.02-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Move udev files from /lib to /usr/lib, including protective diversion
+ against Multi-Arch: same file loss scenario (DEP17 P7 M10). (Closes: #-1)
+
+ -- Chris Hofstaedtler <[email protected]> Sun, 26 Nov 2023 20:11:52 +0100
+
bladerf (0.2023.02-2) unstable; urgency=medium
* Use pybuild for building the Python3 bindings to avoid Internet access
diff -Nru bladerf-0.2023.02/debian/libbladerf2.install
bladerf-0.2023.02/debian/libbladerf2.install
--- bladerf-0.2023.02/debian/libbladerf2.install 2022-10-31
02:13:52.000000000 +0100
+++ bladerf-0.2023.02/debian/libbladerf2.install 2023-11-26
20:11:10.000000000 +0100
@@ -1,3 +1,3 @@
debian/libbladerf2.metainfo.xml usr/share/metainfo
-lib/udev/rules.d/*
+usr/lib/udev/rules.d/*
usr/lib/*/lib*.so.*
diff -Nru bladerf-0.2023.02/debian/libbladerf2.lintian-overrides
bladerf-0.2023.02/debian/libbladerf2.lintian-overrides
--- bladerf-0.2023.02/debian/libbladerf2.lintian-overrides 1970-01-01
01:00:00.000000000 +0100
+++ bladerf-0.2023.02/debian/libbladerf2.lintian-overrides 2023-11-26
20:11:52.000000000 +0100
@@ -0,0 +1,6 @@
+# begin-remove-after: released:forky
+# protective diversion for upgrades of files moved from / to /usr
+libbladerf2: diversion-for-unknown-file
lib/udev/rules.d/88-nuand-bladerf1.rules [preinst:*]
+libbladerf2: diversion-for-unknown-file
lib/udev/rules.d/88-nuand-bladerf2.rules [preinst:*]
+libbladerf2: diversion-for-unknown-file
lib/udev/rules.d/88-nuand-bootloader.rules [preinst:*]
+# end-remove-after
diff -Nru bladerf-0.2023.02/debian/libbladerf2.postinst
bladerf-0.2023.02/debian/libbladerf2.postinst
--- bladerf-0.2023.02/debian/libbladerf2.postinst 1970-01-01
01:00:00.000000000 +0100
+++ bladerf-0.2023.02/debian/libbladerf2.postinst 2023-11-26
20:11:52.000000000 +0100
@@ -0,0 +1,22 @@
+#! /bin/sh
+
+set -e
+
+# begin-remove-after: released:forky
+# protective diversion of files moved from / to /usr, to avoid file loss.
+# Only for upgrades.
+if [ "$1" = "configure" ]; then
+ # At this point, the package will have installed the same file in */usr*.
+ dpkg-divert --package usr-is-merged --no-rename \
+ --divert /lib/udev/rules.d/88-nuand-bladerf1.rules.usr-is-merged \
+ --remove /lib/udev/rules.d/88-nuand-bladerf1.rules
+ dpkg-divert --package usr-is-merged --no-rename \
+ --divert /lib/udev/rules.d/88-nuand-bladerf2.rules.usr-is-merged \
+ --remove /lib/udev/rules.d/88-nuand-bladerf2.rules
+ dpkg-divert --package usr-is-merged --no-rename \
+ --divert /lib/udev/rules.d/88-nuand-bootloader.rules.usr-is-merged \
+ --remove /lib/udev/rules.d/88-nuand-bootloader.rules
+fi
+# end-remove-after
+
+#DEBHELPER#
diff -Nru bladerf-0.2023.02/debian/libbladerf2.postrm
bladerf-0.2023.02/debian/libbladerf2.postrm
--- bladerf-0.2023.02/debian/libbladerf2.postrm 1970-01-01 01:00:00.000000000
+0100
+++ bladerf-0.2023.02/debian/libbladerf2.postrm 2023-11-26 20:11:52.000000000
+0100
@@ -0,0 +1,22 @@
+#!/bin/sh
+set -e
+
+# begin-remove-after: released:forky
+# protective diversion of files moved from / to /usr, to avoid file loss.
+# Only for upgrades.
+if [ "$1" = "remove" ] && [ "$DPKG_MAINTSCRIPT_PACKAGE_REFCOUNT" = "1" ]; then
+ # Cleanup in case package is removed before upgrade is finished (postinst
ran).
+ dpkg-divert --package usr-is-merged --no-rename \
+ --divert /lib/udev/rules.d/88-nuand-bladerf1.rules.usr-is-merged \
+ --remove /lib/udev/rules.d/88-nuand-bladerf1.rules
+ dpkg-divert --package usr-is-merged --no-rename \
+ --divert /lib/udev/rules.d/88-nuand-bladerf2.rules.usr-is-merged \
+ --remove /lib/udev/rules.d/88-nuand-bladerf2.rules
+ dpkg-divert --package usr-is-merged --no-rename \
+ --divert /lib/udev/rules.d/88-nuand-bootloader.rules.usr-is-merged \
+ --remove /lib/udev/rules.d/88-nuand-bootloader.rules
+fi
+# end-remove-after
+
+#DEBHELPER#
+
diff -Nru bladerf-0.2023.02/debian/libbladerf2.preinst
bladerf-0.2023.02/debian/libbladerf2.preinst
--- bladerf-0.2023.02/debian/libbladerf2.preinst 1970-01-01
01:00:00.000000000 +0100
+++ bladerf-0.2023.02/debian/libbladerf2.preinst 2023-11-26
20:11:52.000000000 +0100
@@ -0,0 +1,21 @@
+#!/bin/sh
+set -e
+
+# begin-remove-after: released:forky
+# protective diversion of files moved from / to /usr, to avoid file loss.
+# Only for upgrades.
+if [ "$1" = "upgrade" ]; then
+ dpkg-divert --package usr-is-merged --no-rename \
+ --divert /lib/udev/rules.d/88-nuand-bladerf1.rules.usr-is-merged \
+ --add /lib/udev/rules.d/88-nuand-bladerf1.rules
+ dpkg-divert --package usr-is-merged --no-rename \
+ --divert /lib/udev/rules.d/88-nuand-bladerf2.rules.usr-is-merged \
+ --add /lib/udev/rules.d/88-nuand-bladerf2.rules
+ dpkg-divert --package usr-is-merged --no-rename \
+ --divert /lib/udev/rules.d/88-nuand-bootloader.rules.usr-is-merged \
+ --add /lib/udev/rules.d/88-nuand-bootloader.rules
+fi
+# end-remove-after
+
+#DEBHELPER#
+
diff -Nru bladerf-0.2023.02/debian/rules bladerf-0.2023.02/debian/rules
--- bladerf-0.2023.02/debian/rules 2023-09-24 04:31:29.000000000 +0200
+++ bladerf-0.2023.02/debian/rules 2023-11-26 20:11:03.000000000 +0100
@@ -50,7 +50,7 @@
-DENABLE_LIBEDIT=ON \
-DENABLE_FX3_BUILD=OFF \
-DBUILD_DOCUMENTATION=ON \
-
-DUDEV_RULES_PATH=/lib/udev/rules.d
+
-DUDEV_RULES_PATH=/usr/lib/udev/rules.d
override_dh_auto_build:
dh_auto_build
--- End Message ---
--- Begin Message ---
Source: bladerf
Source-Version: 0.2023.02-3
Done: A. Maitland Bottoms <[email protected]>
We believe that the bug you reported is fixed in the latest version of
bladerf, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
A. Maitland Bottoms <[email protected]> (supplier of updated bladerf 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 03 Dec 2023 12:28:40 -0500
Source: bladerf
Architecture: source
Version: 0.2023.02-3
Distribution: experimental
Urgency: medium
Maintainer: A. Maitland Bottoms <[email protected]>
Changed-By: A. Maitland Bottoms <[email protected]>
Closes: 1043875 1056923
Changes:
bladerf (0.2023.02-3) experimental; urgency=medium
.
[ Chris Hofstaedtler ]
* Move udev files from /lib to /usr/lib, including protective diversion
against Multi-Arch: same file loss scenario (DEP17 P7 M10). (Closes:
#1056923)
.
[ A. Maitland Bottoms ]
* improve clean target (Closes: #1043875)
* upload to experimental as requested in #1057190
Checksums-Sha1:
92ee3de538bef5585ff37c496a182e74a884d2a4 3122 bladerf_0.2023.02-3.dsc
e8c68daaa2aacb668ffc13a1a6ed5a9bc2ace6c3 55652
bladerf_0.2023.02-3.debian.tar.xz
65184fc5e01e59dd851a3b2266b54e028e4bf712 14118
bladerf_0.2023.02-3_amd64.buildinfo
Checksums-Sha256:
16c26398fff6b288f45830f34959d9ef9811607c6c030d90e9150acb27647dd8 3122
bladerf_0.2023.02-3.dsc
33fb792d189e5786c2dfc6dcad289d73261e3a3a697ff52342aa620be57dc73d 55652
bladerf_0.2023.02-3.debian.tar.xz
cd93bdc176e510aa22dd13fa497a39c0fe5776c64570eda3eb0cad0838c98dbb 14118
bladerf_0.2023.02-3_amd64.buildinfo
Files:
65c56ec0d7a2810c477198571dde9c30 3122 comm optional bladerf_0.2023.02-3.dsc
b266b4c97666f689587cbf826b7cc555 55652 comm optional
bladerf_0.2023.02-3.debian.tar.xz
17e0aa5838278e854079d6dbdf2004db 14118 comm optional
bladerf_0.2023.02-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEB8qH3cTCsGJAtrF0UEHxiR9E4JAFAmVswJMACgkQUEHxiR9E
4JAKFBAAjDt06OwFZqGZZuVH6mLaTyy5hx/tsCGkbM0Ot+JuMz+Z94iNzAhFntF8
dA/UtlbWwbUjoUswKx5OEeabyvBjFUB9bjGe5ZNaqSC29DFFMM7e9wV2eHf3aG0b
SWm8FoU9GinJ+4DqFETv3DHPlaimSrrSZphR7gnc/DjV3qOC965xWAF/r/jqsuLK
2wYIR9kIF4GvRuErJ1O+ujji/V4sxRy/PSE18QY/CmZZ9/My6zs7cYhNrddSIt8T
vDoxlDLfP+W0v8YsTPnilAvRHW/CZyogIscHAAt9jHwst8NhEEih/Abe3SDsBeV6
/+Ala9s1HIDCVZqF25q2ULm049T3yMxgO+wERC/zdal9SHWvfg+/YGzKCh3m9bI7
7Wp5FD45ewbXOJP735Ovp2am7M5o0lGIlcPlC4SkkkC2TckfEKFgYDG96FXdcjtf
9ZPciCKWn9u/J7Vcl0SZwYSkdG9FMup9DIjxWf63jLKDFxa+l2LbrAPP+JDtwt9L
YkVakJuHfBOn3HHJJ+iL5ZVkX6f5woAYK4XOxmRDzqXOF02f3L82rq+C48nNetbg
5jruK4mmO3hWZvvYGuZ6pwJIvgZZQULj2W8uDtLU06aHWTj0VH2Lm5NXtnIFDSqn
8I0v0tKYMS4u4+HPy8d2zghJLcqj1oV/dISmUifKvbMtcMdQeKs=
=YFuc
-----END PGP SIGNATURE-----
--- End Message ---