Skip to contentSkip to conversation

package/libnfs: update version to 7.0.0

PATCH In review Andreas Ziegler 2 participants 2 messages Aug 27 – Aug 28

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libnfs: update version to 7.0.0

New version contains all current patches, plus one that fixes "undefined reference to 'gnutls_*'" if libnfs was built with GnuTLS support

Change log:
https://github.com/sahlberg/libnfs/compare/libnfs-6.0.2...libnfs-7.0.0

Fixes:
https://autobuild.buildroot.net/results/b07/b070248b2bceaceaaed8e826b1247ccfba1ba9fb
https://autobuild.buildroot.net/results/e14/e1461b76121addd8f04f08819b2e3e453a12c679
https://autobuild.buildroot.net/results/87c/87c79193d2ea86f47e36232fe514837ad99c5f30

---
 ...t-and-use-const-qualifier-from-point.patch |  37 ------
 ...t-qualifier-from-pointer-target-type.patch | 117 ------------------
 ...void-cast-to-allow-compile-for-arm32.patch |  68 ----------
 package/libnfs/libnfs.hash                    |   2 +-
 package/libnfs/libnfs.mk                      |   2 +-
 5 files changed, 2 insertions(+), 224 deletions(-)
 delete mode 100644 package/libnfs/0001-Do-not-edit-const-and-use-const-qualifier-from-point.patch
 delete mode 100644 package/libnfs/0002-use-const-qualifier-from-pointer-target-type.patch
 delete mode 100644 package/libnfs/0003-socket-use-void-cast-to-allow-compile-for-arm32.patch
package/libnfs/0001-Do-not-edit-const-and-use-const-qualifier-from-point.patch deleted +0 -37
deleted file mode 100644
index d463ecd356..0000000000
@@ -1,37 +0,0 @@
-From 89a795fee97a3da348c28dbd58500100a13dcec0 Mon Sep 17 00:00:00 2001
-From: Rudi Heitbaum <[email protected]>
-Date: Sun, 25 Jan 2026 08:30:43 +0000
-Subject: [PATCH] Do not edit const and use const qualifier from pointer target
- type
-
-Fixes:
-    ../../lib/libnfs.c: In function 'nfs_set_context_args':
-    ../../lib/libnfs.c:301:30: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
-      301 |                 char *strp = strchr(val, ',');
-          |                              ^~~~~~
-
-Upstream: https://github.com/sahlberg/libnfs/commit/89a795fee97a3da348c28dbd58500100a13dcec0
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
- lib/libnfs.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/lib/libnfs.c b/lib/libnfs.c
-index bbe6666..162492b 100755
---- a/lib/libnfs.c
-+++ b/lib/libnfs.c
-@@ -316,9 +316,8 @@ nfs_set_context_args(struct nfs_context *nfs, const char *arg, const char *val)
- 	} else if (!strcmp(arg, "wsize")) {
- 		nfs_set_writemax(nfs, atoi(val));
- 	} else if (!strcmp(arg, "readdir-buffer")) {
--		char *strp = strchr(val, ',');
-+		const char *strp = strchr(val, ',');
- 		if (strp) {
--			*strp = 0;
- 			strp++;
- 			nfs_set_readdir_max_buffer_size(nfs, atoi(val), atoi(strp));
- 		} else {
--- 
-2.47.3
-
package/libnfs/0002-use-const-qualifier-from-pointer-target-type.patch deleted +0 -117

117 lines not on this page · raw message

package/libnfs/0003-socket-use-void-cast-to-allow-compile-for-arm32.patch deleted +0 -68

68 lines not on this page · raw message

package/libnfs/libnfs.hash +1 -1
index c0e5ef5c81..4aefc83f80 100644
@@ -1,5 +1,5 @@
 # Locally calculated
-sha256  4e5459cc3e0242447879004e9ad28286d4d27daa42cbdcde423248fad911e747  libnfs-6.0.2.tar.gz
+sha256  d25c70537d60f1ab307b9cb5e9fb01acff71065fc9547b54dfaec109ba993003  libnfs-7.0.0.tar.gz
 sha256  edd960c0142b8ada98b43b6396b78f4e557b0bc70ac601a51e397ad04070e2c5  COPYING
 sha256  d9406ced95457941032aa11d04623b8ab71f2827a3395ebef137aec475be35b1  LICENCE-BSD.txt
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  LICENCE-LGPL-2.1.txt
package/libnfs/libnfs.mk +1 -1
index 12afb7c697..57ccbf1c2b 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBNFS_VERSION = 6.0.2
+LIBNFS_VERSION = 7.0.0
 LIBNFS_SITE = $(call github,sahlberg,libnfs,libnfs-$(LIBNFS_VERSION))
 LIBNFS_INSTALL_STAGING = YES
 LIBNFS_AUTORECONF = YES
Signature · 6 lines
2.53.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines · Andreas Ziegler

New version contains all current patches, plus one that fixes "undefined reference to 'gnutls_*'" if libnfs was built with GnuTLS support

Change log:
https://github.com/sahlberg/libnfs/compare/libnfs-6.0.2...libnfs-7.0.0

Quoted 6 lines

Fixes:
https://autobuild.buildroot.net/results/b07/b070248b2bceaceaaed8e826b1247ccfba1ba9fb
https://autobuild.buildroot.net/results/e14/e1461b76121addd8f04f08819b2e3e453a12c679
https://autobuild.buildroot.net/results/87c/87c79193d2ea86f47e36232fe514837ad99c5f30

Thanks for the patch, I was precisely investigating this build issue.

However, we need more than a version bump: we need to understand since when the problem exists, so that we can understand whether the issue needs to be fixed in one of our maintained branches (most notably 2025.02.x). And if that's the case, rather than a version bump, we'd prefer to have a fix backport, unless of course the fix is massive and/or difficult to backport.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot