mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] host-nfsutils: fix building without libsqlite3-dev
@ 2026-01-19  7:59 Steffen Trumtrar
  2026-02-06  8:56 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Trumtrar @ 2026-01-19  7:59 UTC (permalink / raw)
  To: ptxdist; +Cc: Steffen Trumtrar

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>




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

* Re: [ptxdist] [APPLIED] host-nfsutils: fix building without libsqlite3-dev
  2026-01-19  7:59 [ptxdist] [PATCH] host-nfsutils: fix building without libsqlite3-dev Steffen Trumtrar
@ 2026-02-06  8:56 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2026-02-06  8:56 UTC (permalink / raw)
  To: ptxdist; +Cc: Steffen Trumtrar

Thanks, applied as c95386734a26a847968da765dcb8d438bc8e9968.

Michael

[sent from post-receive hook]

On Fri, 06 Feb 2026 09:56:13 +0100, Steffen Trumtrar <s.trumtrar@pengutronix.de> wrote:
> 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>
> Message-Id: <20260119-v2026-01-0-topic-host-nfsutils-v1-1-bba795aff830@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/host-nfsutils.make b/rules/host-nfsutils.make
> index 5c734a269539..fc58eafbc21f 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



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

end of thread, other threads:[~2026-02-06  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-19  7:59 [ptxdist] [PATCH] host-nfsutils: fix building without libsqlite3-dev Steffen Trumtrar
2026-02-06  8:56 ` [ptxdist] [APPLIED] " Michael Olbrich

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