The configure step checks if sqlite3-devel is available on the host system.
nfs-utils needs sqlite3 for the nfsdcld which in turn is only needed for
a nfs4 server. As the nfs4server is disabled, the library doesn't need
to be available on the host.

Disable the check, which results in an error when the library isn't
available, by setting the check for a recent version to 'yes' and
disabling all other sqlite3 checks.

Signed-off-by: Steffen Trumtrar <[email protected]>
---
 rules/host-nfsutils.make | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/rules/host-nfsutils.make b/rules/host-nfsutils.make
index 5c734a269..fc58eafbc 100644
--- a/rules/host-nfsutils.make
+++ b/rules/host-nfsutils.make
@@ -18,7 +18,10 @@ HOST_PACKAGES-$(PTXCONF_HOST_NFSUTILS) += host-nfsutils
 # fake rpc/rpc.h availability, it's not needed for rpcgen
 HOST_NFSUTILS_CONF_ENV := \
        $(HOST_ENV) \
-       ac_cv_header_rpc_rpc_h=yes
+       ac_cv_header_rpc_rpc_h=yes \
+       ac_cv_header_sqlite3_h=no \
+       libsqlite3_cv_is_recent=yes \
+       ac_cv_lib_sqlite3_sqlite3_libversion=no
 
 #
 # autoconf

---
base-commit: 05cc41f8c966524051d1e759a1743d81a7cc9d01
change-id: 20260119-v2026-01-0-topic-host-nfsutils-3f309f52e347

Best regards,
-- 
Steffen Trumtrar <[email protected]>


Reply via email to