Source: open-vm-tools
Version: 12.3.5-3
Severity: normal
Tags: ftbfs patch
User: helm...@debian.org
Usertags: dep17m2

Dear Maintainer,

your package installs a udev rule, great. For the ongoing UsrMerge
effort [1], we want to change "udevdir" in udev.pc. When this happens,
your package will FTBFS. The upstream build system will install the udev
rules into the new path, but the Debian packaging expects them in the
old path.

For your convenience I'm attaching a patch to fix this.

Please apply at your earliest convenience. Per the wiki [1], it is
useful to first upload to experimental and wait a few days for the dumat
tool evaluating the change, and only then upload to unstable.

I expect udev.pc will change soon, and then this bug will become
release-critical.

Note: one udev rules file (99-vmware-scsi-udev.rules) is installed
by upstream.
Another rules file is installed using debian/open-vm-tools.udev.
This file will move once dh_installudev gets updated.


Thanks for considering,
Chris

[1] https://wiki.debian.org/UsrMerge

diff -Nru open-vm-tools-12.3.5/debian/changelog open-vm-tools-12.3.5/debian/changelog
--- open-vm-tools-12.3.5/debian/changelog	2023-11-27 16:29:44.000000000 +0100
+++ open-vm-tools-12.3.5/debian/changelog	2023-12-02 03:42:35.000000000 +0100
@@ -1,3 +1,10 @@
+open-vm-tools (2:12.3.5-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Do not hardcode udev rules install path.
+
+ -- Chris <z...@debian.org>  Sat, 02 Dec 2023 03:42:35 +0100
+
 open-vm-tools (2:12.3.5-3) unstable; urgency=medium
 
   * [7699f7a] Fix typo in last upload
diff -Nru open-vm-tools-12.3.5/debian/rules open-vm-tools-12.3.5/debian/rules
--- open-vm-tools-12.3.5/debian/rules	2023-11-27 16:29:44.000000000 +0100
+++ open-vm-tools-12.3.5/debian/rules	2023-12-02 03:42:22.000000000 +0100
@@ -32,7 +32,7 @@
 	# permissions
 	chmod 0644 debian/*/etc/pam.d/*
 	chmod 4755 debian/*/usr/bin/vmware-user-suid-wrapper
-	chmod 0644 debian/*/lib/udev/rules.d/99-vmware-scsi-udev.rules
+	find debian -name 99-vmware-scsi-udev.rules -exec chmod 0644 {} \;
 
 	install -D -m 0644 debian/local/xautostart.conf debian/open-vm-tools-desktop/etc/vmware-tools/xautostart.conf
 	install -D -m 0644 debian/local/tools.conf debian/open-vm-tools/etc/vmware-tools/tools.conf

Reply via email to