Skip to contentSkip to conversation

pciutils: Add make-native dependency

PATCH New Richard Purdie 1 participant 1 message May 9, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pciutils: Add make-native dependency

A change in behaviour in make between 4.2.1 and 4.3 on how whitespace and appends are handled[1] causes changes in lib/libpci.pc and leads to non-reproducible builds.

Add a dependency on make-native to resovle this as a least invasive and least worse solution for now.

[1] https://git.savannah.gnu.org/cgit/make.git/commit/?id=b90fabc8d6f34fb37d428dc0fb1b8b1951a9fbed

---
 meta/recipes-bsp/pciutils/pciutils_3.8.0.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-bsp/pciutils/pciutils_3.8.0.bb +4 -1
index 8455b286a820..f3a67d97e445 100644
@@ -6,7 +6,10 @@ SECTION = "console/utils"
 
 LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
-DEPENDS = "zlib kmod"
+# Can drop make-native when all systems have make 4.3
+# https://git.savannah.gnu.org/cgit/make.git/commit/?id=b90fabc8d6f34fb37d428dc0fb1b8b1951a9fbed
+# causes space issues in lib/libpci.pc
+DEPENDS = "zlib kmod make-native"
 
 SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.xz \
            file://configure.patch"
Signature · 1 line
2.34.1