[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1057822: marked as done (libpsm2: use udev.pc to place udev rules)



Your message dated Fri, 14 Jun 2024 20:38:42 +0000
with message-id <E1sIDh4-003kOn-1A@fasolo.debian.org>
and subject line Bug#1057822: fixed in libpsm2 11.2.185-2.1
has caused the Debian Bug report #1057822,
regarding libpsm2: use udev.pc to place udev rules
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 owner@bugs.debian.org
immediately.)


-- 
1057822: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057822
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: libpsm2
Version: 11.2.185-2
Severity: normal
Tags: patch
User: helmutg@debian.org
Usertags: dep17m2

Dear Maintainer,

your package installs files related to udev, into /lib. These
files need to be moved to /usr/lib as part of Debian's usr-merge
effort [1].

Attached you will find a patch to delegate the exact placement of
the udev files to udev.pc (using pkg-config). This should work today
in unstable and, if necessary, for bookworm. Once udev.pc in
unstable points to /usr/lib your package will benefit automatically
after a binNMU or any other upload.
I'll note the upstream makefile already supports this.

Later during the trixie cycle I expect this bug class to raise in
priority.

If during the trixie cycle your package will undergo structural
changes or any other file moves, please see the wiki and upload
to experimental first when these changes are done.

Thank you for considering,
Chris

[1] https://wiki.debian.org/UsrMerge
diff -Nru libpsm2-11.2.185/debian/changelog libpsm2-11.2.185/debian/changelog
--- libpsm2-11.2.185/debian/changelog	2022-10-14 05:13:28.000000000 +0200
+++ libpsm2-11.2.185/debian/changelog	2023-12-08 23:58:29.000000000 +0100
@@ -1,3 +1,10 @@
+libpsm2 (11.2.185-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use udev.pc to place udev rules
+
+ -- Chris Hofstaedtler <zeha@debian.org>  Fri, 08 Dec 2023 23:58:29 +0100
+
 libpsm2 (11.2.185-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru libpsm2-11.2.185/debian/control libpsm2-11.2.185/debian/control
--- libpsm2-11.2.185/debian/control	2022-10-14 05:12:14.000000000 +0200
+++ libpsm2-11.2.185/debian/control	2023-12-08 23:58:29.000000000 +0100
@@ -11,6 +11,8 @@
 Homepage: https://github.com/01org/opa-psm2
 Build-Depends: debhelper-compat (= 13),
                libnuma-dev,
+               pkgconf,
+               systemd-dev,
 
 Package: libpsm2-2
 Architecture: amd64
diff -Nru libpsm2-11.2.185/debian/libpsm2-2-compat.install libpsm2-11.2.185/debian/libpsm2-2-compat.install
--- libpsm2-11.2.185/debian/libpsm2-2-compat.install	2022-10-14 05:12:14.000000000 +0200
+++ libpsm2-11.2.185/debian/libpsm2-2-compat.install	2023-12-08 23:58:29.000000000 +0100
@@ -1,3 +1,3 @@
 etc/modprobe.d/libpsm2-compat.conf
-lib/udev/rules.d/40-psm-compat.rules
+${env:deb_udevdir}/rules.d/40-psm-compat.rules
 usr/lib/libpsm2-2
diff -Nru libpsm2-11.2.185/debian/rules libpsm2-11.2.185/debian/rules
--- libpsm2-11.2.185/debian/rules	2022-10-14 05:12:42.000000000 +0200
+++ libpsm2-11.2.185/debian/rules	2023-12-08 23:58:29.000000000 +0100
@@ -12,6 +12,8 @@
 	debian/libpsm2-2-compat.prerm \
 	debian/libpsm2-2-compat.postrm
 
+export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,)
+
 %:
 	dh $@
 
@@ -53,7 +55,7 @@
 	mv $(DESTDIR)/$(LIBDIR)/psm2-compat/libpsm_infinipath.so.* $(DESTDIR)/usr/lib/libpsm2-2/
 	sed -i 's~/libpsm2/~/libpsm2-2/~g' $(DESTDIR)/etc/modprobe.d/libpsm2-compat.conf
 	rmdir $(DESTDIR)/$(LIBDIR)/psm2-compat/
-	rm -f $(DESTDIR)/lib/udev/rules.d/40-psm.rules
+	rm -f $(DESTDIR)/$(deb_udevdir)/rules.d/40-psm.rules
 
 # libpsm2-2 contains the compatibility library. Don't process it for dependencies.
 .PHONY: override_dh_makeshlibs

--- End Message ---
--- Begin Message ---
Source: libpsm2
Source-Version: 11.2.185-2.1
Done: Chris Hofstaedtler <zeha@debian.org>

We believe that the bug you reported is fixed in the latest version of
libpsm2, 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 1057822@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Hofstaedtler <zeha@debian.org> (supplier of updated libpsm2 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 07 Jun 2024 22:06:50 +0200
Source: libpsm2
Architecture: source
Version: 11.2.185-2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian HPC team <debian-hpc@lists.debian.org>
Changed-By: Chris Hofstaedtler <zeha@debian.org>
Closes: 1057822
Changes:
 libpsm2 (11.2.185-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Use udev.pc to place udev rules (Closes: #1057822)
Checksums-Sha1:
 95f174636278466ab3f8535048afa757a08d1b14 2121 libpsm2_11.2.185-2.1.dsc
 578d07819a4d960e42c26c98cc4b5cee5b1e805b 7872 libpsm2_11.2.185-2.1.debian.tar.xz
 95cc274c25fe948e67ef73f78ec2be10cbe8f3e4 7012 libpsm2_11.2.185-2.1_amd64.buildinfo
Checksums-Sha256:
 74e84c170e7115992b435fe003bf795a2f72daa9c84b2a972e83783e396972a9 2121 libpsm2_11.2.185-2.1.dsc
 0b6f70b90bc64f1046835d8482ec950d4f33614f2fa662dc1e38892c3be4a4cc 7872 libpsm2_11.2.185-2.1.debian.tar.xz
 e0ad83c7f087da8d669b2ca08783060a6a505d58aee19f72efc8473ca95ff397 7012 libpsm2_11.2.185-2.1_amd64.buildinfo
Files:
 f6c703847bbd9cd43cd90ae9c0b27196 2121 libs optional libpsm2_11.2.185-2.1.dsc
 7d636adbdedc609685f7cd404756b1b0 7872 libs optional libpsm2_11.2.185-2.1.debian.tar.xz
 e74cfe2225c017651511effe38700e88 7012 libs optional libpsm2_11.2.185-2.1_amd64.buildinfo

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

iQIzBAEBCAAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmZjaNcACgkQXBPW25MF
LgPQdBAAmFv5RacfgWXA9w3C0tGSwN6/UQE+nduFNP/ZKOKjCe3UIvv87kEsWwSf
ZIH9UXA9bOg5Q3eRX7kkhWNZYfhgAiHuiwYkleesqZOUHA9U3X8ic21AipbHcryx
jye68Hwla+hEmMg73xHYskki7kpfxIwIkhF8exFo47f4xNha5ISCFGo3z+xgkOBs
6+O+AqBL8FnUEnsjCNZpzYP317c9rZHxFr9oRjzt5cwqgJZoRP7pMUVjqV6nbrkU
Kv7p3zqAsPtP3rrScfyCu6UhAO3u61CmZ4WPnF4ez9dNAxcqDkY5AIac5w0SC08O
nXSCg7LrGnrPynJlLQFSXY9COIkWDQNdFCGOKsVNnzcV4gcOagxf64vyEpM1wRdR
POMu7+PN4J/a2qKi2T6SO4rW82AXwANXwgCr8lbYLQ5BI+S4KY/o7vHpfliNqEjZ
eXQUWZ0VpoIhh0bOkylbPkID2cuRev1FRkrTPSPal/dz2II0iJJUXL5p5ZUp+GJ8
ep9w3Q4cEcnlLRSpFrHjrmj5rfi2WO3B2+Aa64Xb8KQP+pyaacROZ/+06HEZkgR6
kTOy+uQlAtKCmq31BwrxbWLX+UdVnVC9N73gvwFFTmth0xQf2Qw8tf61w6eagvD2
e4Oz5fx/tp5zee8Z84Wxr3SvzXRxSl3dQ54XmfRbL+9S2pc6Xac=
=VqdN
-----END PGP SIGNATURE-----

Attachment: pgptZydI2eTIC.pgp
Description: PGP signature


--- End Message ---

Reply to: