diff --git a/nfs-utils.yaml b/nfs-utils.yaml index 5b2f49a643b..28ffb7d186f 100644 --- a/nfs-utils.yaml +++ b/nfs-utils.yaml @@ -1,7 +1,7 @@ package: name: nfs-utils - version: "2.8.3" - epoch: 5 + version: "2.8.4" + epoch: 0 description: kernel-mode NFS copyright: - license: GPL-2.0-only @@ -44,11 +44,7 @@ pipeline: - uses: fetch with: uri: https://www.kernel.org/pub/linux/utils/nfs-utils/${{package.version}}/nfs-utils-${{package.version}}.tar.xz - expected-sha512: ed8ac3a79f347a1dc91cba060f87f687eefc204430648099ca867114295dd8dd8e745bd809807d5bc79dfb1ad86eaf2a6f4506ec7889c54b231d8f65dcb59bd4 - - - uses: patch - with: - patches: fix-build-glibc-2.42.patch + expected-sha512: 2b547b2dfd96672a4867a2d385e58309a242c8fab457f7e48f79c3f362f652d1f81ea356ac5c56837cf2e6c2754fd02b499f75d044251090a161d4c28dd9ca32 - runs: ./autogen.sh diff --git a/nfs-utils/fix-build-glibc-2.42.patch b/nfs-utils/fix-build-glibc-2.42.patch deleted file mode 100644 index 75ef1db1081..00000000000 --- a/nfs-utils/fix-build-glibc-2.42.patch +++ /dev/null @@ -1,53 +0,0 @@ -From: Yaakov Selkowitz -Date: Fri, 27 Jun 2025 09:54:08 +0000 (-0500) -Subject: Fix build with glibc-2.42 -X-Git-Tag: nfs-utils-2-8-4-rc3 -X-Git-Url: https://git.linux-nfs.org/?p=steved%2Fnfs-utils.git;a=commitdiff_plain;h=9f974046c37b7c28705d5558328759fff708b1cb;hp=5252588c6ac8dc6611c2bedf6b6fc86e09142d73 - -Fix build with glibc-2.42 - -exportfs.c: In function ‘release_lockfile’: -exportfs.c:83:17: error: ignoring return value of ‘lockf’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] - 83 | lockf(_lockfd, F_ULOCK, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -exportfs.c: In function ‘grab_lockfile’: -exportfs.c:77:17: error: ignoring return value of ‘lockf’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] - 77 | lockf(_lockfd, F_LOCK, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - -lockf is now marked with attribute warn_unused_result: - -https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=f3c82fc1b41261f582f5f9fa12f74af9bcbc88f9 - -Signed-off-by: Steve Dickson - -Origin: upstream, https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commitdiff_plain;h=9f974046c37b7c28705d5558328759fff708b1cb;hp=5252588c6ac8dc6611c2bedf6b6fc86e09142d73 - ---- - -diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c -index b03a047..748c38e 100644 ---- a/utils/exportfs/exportfs.c -+++ b/utils/exportfs/exportfs.c -@@ -74,13 +74,19 @@ grab_lockfile(void) - { - _lockfd = open(lockfile, O_CREAT|O_RDWR, 0666); - if (_lockfd != -1) -- lockf(_lockfd, F_LOCK, 0); -+ if (lockf(_lockfd, F_LOCK, 0) != 0) { -+ xlog_warn("%s: lockf() failed: errno %d (%s)", -+ __func__, errno, strerror(errno)); -+ } - } - static void - release_lockfile(void) - { - if (_lockfd != -1) { -- lockf(_lockfd, F_ULOCK, 0); -+ if (lockf(_lockfd, F_ULOCK, 0) != 0) { -+ xlog_warn("%s: lockf() failed: errno %d (%s)", -+ __func__, errno, strerror(errno)); -+ } - close(_lockfd); - _lockfd = -1; - }