Source: bluez Version: 5.66-1 Severity: important Tags: ftbfs patch Hi,
similarly to #1052983, udev will also change udevdir in udev.pc soon. When this happens, bluez will fail to build from source. Please find a patch attached to fix this, by using udevdir. This means you can apply this patch today (also true for #1052983). The attached patch also moves hciconfig out of /bin, as /bin also needs to become "empty" (= no package installs files there) for the UsrMerge effort [1]. Please apply as soon as convenient. Thanks for considering, Chris 1. https://wiki.debian.org/UsrMerge
diff -Nru bluez-5.70/debian/bluez.install bluez-5.70/debian/bluez.install --- bluez-5.70/debian/bluez.install 2023-10-24 08:17:00.000000000 +0200 +++ bluez-5.70/debian/bluez.install 2023-11-27 18:36:07.000000000 +0100 @@ -7,7 +7,7 @@ usr/bin/btattach usr/bin/btmon usr/bin/hciattach -usr/bin/hciconfig bin/ +usr/bin/hciconfig usr/bin/hcitool usr/bin/sdptool usr/bin/rctest @@ -20,8 +20,8 @@ usr/bin/mpris-proxy tools/btmgmt usr/bin tools/obexctl usr/bin -lib/udev/hid2hci -lib/udev/rules.d/97-hid2hci.rules +${env:deb_udevdir}/hid2hci +${env:deb_udevdir}/rules.d/97-hid2hci.rules attrib/gatttool usr/bin #-- for systemd lib/systemd/system/bluetooth.service diff -Nru bluez-5.70/debian/changelog bluez-5.70/debian/changelog --- bluez-5.70/debian/changelog 2023-10-24 08:17:00.000000000 +0200 +++ bluez-5.70/debian/changelog 2023-11-27 18:36:36.000000000 +0100 @@ -1,3 +1,11 @@ +bluez (5.70-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Defer udev file placement to udev's pkg-config data + * Install hciconfig into /usr/bin instead of /bin + + -- Chris Hofstaedtler <z...@debian.org> Mon, 27 Nov 2023 18:36:36 +0100 + bluez (5.70-1) unstable; urgency=medium * Update to 5.70. diff -Nru bluez-5.70/debian/rules bluez-5.70/debian/rules --- bluez-5.70/debian/rules 2023-10-24 08:17:00.000000000 +0200 +++ bluez-5.70/debian/rules 2023-11-27 18:35:36.000000000 +0100 @@ -41,6 +41,8 @@ skip_packages = -Nbluez-cups endif +export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,) + %: dh $@ --exclude=.la