From d50e6b0465e01379ccc46bab558db2006efb35d4 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Mon, 13 Oct 2025 11:11:13 -0700 Subject: [PATCH] debian/rules: remove extra pkg-config Not sure why the definition for deb_udevudevdir calls pkg-config with the string "pkg-config" as its first argument. Even more crazily, this happens on Debian 12: $ pkg-config --variable=udevdir udev /lib/udev $ pkg-config pkg-config --variable=udevdir udev /lib/udev Note the leading space! Given the sed script in the same definition, I'm guessing that the extra space is NOT the desired behavior. Cc: # v1.47.1 Fixes: 288de9fb396811 ("debian: acknowledge NMU'ed changes to 1.47.0-2.4") Signed-off-by: "Darrick J. Wong" --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 4cb80652..c88675c9 100755 --- a/debian/rules +++ b/debian/rules @@ -16,7 +16,7 @@ endif ifeq ($(DEB_HOST_ARCH_OS), linux) export deb_systemdsystemunitdir = $(shell pkg-config --variable=systemdsystemunitdir systemd | sed s,^/,,) -export deb_udevudevdir = $(shell pkg-config pkg-config --variable=udevdir udev | sed s,^/,,) +export deb_udevudevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,) endif ifneq ($(filter pkg.e2fsprogs.no-fuse2fs,$(DEB_BUILD_PROFILES)),) -- 2.47.3