From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Subject: [ptxdist] [PATCH] host-nfsutils: fix building without libsqlite3-dev
Date: Mon, 19 Jan 2026 08:59:24 +0100 [thread overview]
Message-ID: <20260119-v2026-01-0-topic-host-nfsutils-v1-1-bba795aff830@pengutronix.de> (raw)
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 <s.trumtrar@pengutronix.de>
---
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 <s.trumtrar@pengutronix.de>
reply other threads:[~2026-01-19 7:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260119-v2026-01-0-topic-host-nfsutils-v1-1-bba795aff830@pengutronix.de \
--to=s.trumtrar@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox