Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/util-linux: lsfd needs headers >= 3.19
@ 2022-04-22 21:58 Fabrice Fontaine
  2022-04-23 14:02 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-04-22 21:58 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

lsfd depends on kcmp.h which is only exported since kernel 3.19 and
https://github.com/torvalds/linux/commit/3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02
resulting in the following build failure since bump to version 2.38 in
commit ee978e853a6a4c9bb5ed661c1ae704e79f155a35:

configure: error: lsfd selected, but required linux/kcmp.h header file not available

Fixes:
 - http://autobuild.buildroot.org/results/555c272fe0f966f7f46d493236cb6dabeca24d9b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/util-linux/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index d3c0070160..917f1bc2b4 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -206,10 +206,15 @@ config BR2_PACKAGE_UTIL_LINUX_LOSETUP
 config BR2_PACKAGE_UTIL_LINUX_LSFD
 	bool "lsfd"
 	depends on BR2_USE_MMU # libsmartcols
+	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
 	select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS
 	help
 	  List file descriptors (modern replacement for lsof)
 
+comment "lsfd needs a toolchain w/ headers >= 3.19"
+	depends on BR2_USE_MMU
+	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19
+
 config BR2_PACKAGE_UTIL_LINUX_LSLOGINS
 	bool "lslogins"
 	depends on BR2_USE_MMU # libsmartcols
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-23 14:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-22 21:58 [Buildroot] [PATCH 1/1] package/util-linux: lsfd needs headers >= 3.19 Fabrice Fontaine
2022-04-23 14:02 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox