[Buildroot] [PATCH 1/1] package/davfs2: needs glibc

Fabrice Fontaine fontaine.fabrice at gmail.com
Mon Dec 12 17:26:10 UTC 2022


davfs2 unconditionally uses fstab.h since
https://git.savannah.nongnu.org/cgit/davfs2.git/commit/?id=6e2053cd7f44b0ca58af09905c044c178df34497
resulting in the following build failure since bump to version 1.7.0 in
commit 76423bd3a657f0ca197e2301bbb21e4fc9eee992:

mount_davfs.c:78:10: fatal error: fstab.h: No such file or directory
   78 | #include <fstab.h>
      |          ^~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/793c71e4f731a18e203d6eaa3ac8b6e2a9620c27

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 package/davfs2/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/davfs2/Config.in b/package/davfs2/Config.in
index 162753be3e..31a680563c 100644
--- a/package/davfs2/Config.in
+++ b/package/davfs2/Config.in
@@ -1,10 +1,10 @@
-comment "davfs2 needs a glibc or uClibc toolchain"
+comment "davfs2 needs a glibc toolchain"
 	depends on BR2_USE_MMU
-	depends on BR2_TOOLCHAIN_USES_MUSL
+	depends on !BR2_TOOLCHAIN_USES_GLIBC
 
 config BR2_PACKAGE_DAVFS2
 	bool "davfs2"
-	depends on !BR2_TOOLCHAIN_USES_MUSL # error.h
+	depends on BR2_TOOLCHAIN_USES_GLIBC # fstab.h
 	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_NEON
 	select BR2_PACKAGE_NEON_XML
-- 
2.35.1




More information about the buildroot mailing list