From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 17 Nov 2025 23:02:10 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vL7IY-00270K-2R for lore@lore.pengutronix.de; Mon, 17 Nov 2025 23:02:10 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vL7IY-0005eh-JL; Mon, 17 Nov 2025 23:02:10 +0100 Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[IPv6:::1]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1vL7IH-0005e8-4X for ptxdist@pengutronix.de; Mon, 17 Nov 2025 23:01:53 +0100 Message-ID: From: Lucas Stach To: ptxdist@pengutronix.de Date: Mon, 17 Nov 2025 23:01:52 +0100 In-Reply-To: <20251117092906.1304078-1-l.stach@pengutronix.de> References: <20251117092906.1304078-1-l.stach@pengutronix.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.4 (3.52.4-2.fc40) MIME-Version: 1.0 Subject: Re: [ptxdist] [PATCH] nfs-utils: don't require sqlite X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Am Montag, dem 17.11.2025 um 10:29 +0100 schrieb Lucas Stach: > Sqlite is only required for nfsdcld and nfsdcltrack, both of which are > disabled in both the host and target ptxdist rules. >=20 Sorry, just noticed that I messed up here. Calling autogen.sh will cause the y2038 configure option to disappear, as ptxdist host-autoconf is too old. I guess it's time to bite the bullet and bump the autoconf version? Regards, Lucas =20 > Signed-off-by: Lucas Stach > --- > ...qlite-when-nfsdcltrack-or-nfsdcld-is.patch | 38 +++++++++++++++++++ > patches/nfs-utils-2.8.4/autogen.sh | 1 + > patches/nfs-utils-2.8.4/series | 4 ++ > 3 files changed, 43 insertions(+) > create mode 100644 patches/nfs-utils-2.8.4/0001-only-check-for-sqlite-wh= en-nfsdcltrack-or-nfsdcld-is.patch > create mode 120000 patches/nfs-utils-2.8.4/autogen.sh > create mode 100644 patches/nfs-utils-2.8.4/series >=20 > diff --git a/patches/nfs-utils-2.8.4/0001-only-check-for-sqlite-when-nfsd= cltrack-or-nfsdcld-is.patch b/patches/nfs-utils-2.8.4/0001-only-check-for-s= qlite-when-nfsdcltrack-or-nfsdcld-is.patch > new file mode 100644 > index 000000000000..3df7a60067d5 > --- /dev/null > +++ b/patches/nfs-utils-2.8.4/0001-only-check-for-sqlite-when-nfsdcltrack= -or-nfsdcld-is.patch > @@ -0,0 +1,38 @@ > +From: Lucas Stach > +Date: Wed, 12 Nov 2025 20:54:18 +0100 > +Subject: [PATCH] only check for sqlite when nfsdcltrack or nfsdcld is en= abled > + > +Only those two programs actually use sqlite. > +--- > + configure.ac | 18 ++++++++++-------- > + 1 file changed, 10 insertions(+), 8 deletions(-) > + > +diff --git a/configure.ac b/configure.ac > +index 6da23915836d..b67b8b3fb98b 100644 > +--- a/configure.ac > ++++ b/configure.ac > +@@ -369,14 +369,16 @@ AC_LIBEVENT > + dnl Check for sqlite3 > + AC_SQLITE3_VERS > +=20 > +-case $libsqlite3_cv_is_recent in > +-yes) ;; > +-unknown) > +- dnl do not fail when cross-compiling > +- AC_MSG_WARN([assuming sqlite is at least v3.3]) ;; > +-*) > +- AC_MSG_ERROR([nfsdcld requires sqlite-devel]) ;; > +-esac > ++if test "$enable_nfsdcld" =3D "yes" -o "$enable_nfsdcltrack" =3D "yes";= then > ++ case $libsqlite3_cv_is_recent in > ++ yes) ;; > ++ unknown) > ++ dnl do not fail when cross-compiling > ++ AC_MSG_WARN([assuming sqlite is at least v3.3]) ;; > ++ *) > ++ AC_MSG_ERROR([nfsdcld requires sqlite-devel]) ;; > ++ esac > ++fi > +=20 > + if test "$enable_nfsv4" =3D yes; then > +=20 > diff --git a/patches/nfs-utils-2.8.4/autogen.sh b/patches/nfs-utils-2.8.4= /autogen.sh > new file mode 120000 > index 000000000000..9f8a4cb7ddcb > --- /dev/null > +++ b/patches/nfs-utils-2.8.4/autogen.sh > @@ -0,0 +1 @@ > +../autogen.sh > \ No newline at end of file > diff --git a/patches/nfs-utils-2.8.4/series b/patches/nfs-utils-2.8.4/ser= ies > new file mode 100644 > index 000000000000..778729744955 > --- /dev/null > +++ b/patches/nfs-utils-2.8.4/series > @@ -0,0 +1,4 @@ > +# generated by git-ptx-patches > +#tag:base --start-number 1 > +0001-only-check-for-sqlite-when-nfsdcltrack-or-nfsdcld-is.patch > +# da6a4db26035fb833a2141c392b46eac - git-ptx-patches magic