Source: bmusb Version: 0.7.7-1 Severity: normal Tags: ftbfs patch User: helm...@debian.org Usertags: dep17m2
Dear Maintainer, thank you for forwarding the Makefile changes from #1056997 to upstream. The upstream change works as expected. However, udev.pc will change udevdir soon. When this happens, bmusb 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 this bug will become release-critical soon. Thanks for considering, Chris [1] https://wiki.debian.org/UsrMerge
diff -Nru bmusb-0.7.7/debian/changelog bmusb-0.7.7/debian/changelog --- bmusb-0.7.7/debian/changelog 2023-11-30 22:11:56.000000000 +0100 +++ bmusb-0.7.7/debian/changelog 2023-12-02 01:30:33.000000000 +0100 @@ -1,3 +1,11 @@ +bmusb (0.7.7-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Use dh-compat 13 for substitutions in debhelper config files. + * Pick up udevdir from udev.pc, also for Debian packaging. + + -- Chris <z...@debian.org> Sat, 02 Dec 2023 01:30:33 +0100 + bmusb (0.7.7-1) unstable; urgency=medium * New upstream release. diff -Nru bmusb-0.7.7/debian/compat bmusb-0.7.7/debian/compat --- bmusb-0.7.7/debian/compat 2016-07-26 13:29:10.000000000 +0200 +++ bmusb-0.7.7/debian/compat 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -9 diff -Nru bmusb-0.7.7/debian/control bmusb-0.7.7/debian/control --- bmusb-0.7.7/debian/control 2020-04-12 11:16:20.000000000 +0200 +++ bmusb-0.7.7/debian/control 2023-12-02 01:30:33.000000000 +0100 @@ -1,7 +1,7 @@ Source: bmusb Priority: optional Maintainer: Steinar H. Gunderson <se...@debian.org> -Build-Depends: debhelper (>= 9), libusb-1.0-0-dev, pkg-config, udev +Build-Depends: debhelper-compat (= 13), libusb-1.0-0-dev, pkg-config, udev Standards-Version: 3.9.8 Section: libs diff -Nru bmusb-0.7.7/debian/libbmusb6.install bmusb-0.7.7/debian/libbmusb6.install --- bmusb-0.7.7/debian/libbmusb6.install 2020-04-07 21:29:27.000000000 +0200 +++ bmusb-0.7.7/debian/libbmusb6.install 2023-12-02 01:30:25.000000000 +0100 @@ -1,2 +1,2 @@ usr/lib/*/*.so.* -lib/udev/rules.d/* +${env:deb_udevdir}/rules.d/* diff -Nru bmusb-0.7.7/debian/rules bmusb-0.7.7/debian/rules --- bmusb-0.7.7/debian/rules 2016-07-26 13:41:34.000000000 +0200 +++ bmusb-0.7.7/debian/rules 2023-12-02 01:30:25.000000000 +0100 @@ -1,4 +1,6 @@ #! /usr/bin/make -f +export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,) + %: dh $@