[UPDATE] benchmarks/fio 3.42

Kurt Miller <[email protected]>
Newsgroups gmane.os.openbsd.ports
Message-ID <010001a01f256708-5f16809c-ff97-462c-a5a3-4f14d4f710ae-000000@email.amazonses.com>
Update to 3.42. Tested on sparc64 and aarch64.

The recent libnfs update has a symbol _null_auth that differs from
libc and causes warnings when fio is run:

fio:/usr/lib/libc.so.103.0: /usr/local/lib/libnfs.so.3.0 :
WARNING: symbol(_null_auth) size mismatch, relink your program

This is not an fio problem so I dont believe it should hold up this
update.

okay?

Index: Makefile
===================================================================
RCS file: /cvs/ports/benchmarks/fio/Makefile,v
retrieving revision 1.14
diff -u -p -u -r1.14 Makefile
--- Makefile	10 Aug 2026 19:07:02 -0000	1.14
+++ Makefile	19 Aug 2026 20:51:16 -0000
@@ -2,9 +2,8 @@ COMMENT=	flexible I/O tester
 
 GH_ACCOUNT=	axboe
 GH_PROJECT=	fio
-GH_TAGNAME=	fio-3.41
+GH_TAGNAME=	fio-3.42
 PKGNAME=	${GH_TAGNAME}
-REVISION=	0
 
 CATEGORIES=	benchmarks
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/benchmarks/fio/distinfo,v
retrieving revision 1.8
diff -u -p -u -r1.8 distinfo
--- distinfo	28 Dec 2025 05:34:39 -0000	1.8
+++ distinfo	19 Aug 2026 20:51:16 -0000
@@ -1,2 +1,2 @@
-SHA256 (fio-fio-3.41.tar.gz) = OPLHI+2h2U/SXJHbrTDaelUaWIQLemNo6u49qnAPsIg=
-SIZE (fio-fio-3.41.tar.gz) = 7761880
+SHA256 (fio-fio-3.42.tar.gz) = VrA0l6kY0HaSJXiQ/XWb9zForXnfW+eKK8u9yM5niVs=
+SIZE (fio-fio-3.42.tar.gz) = 7784616
Index: patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/benchmarks/fio/patches/patch-Makefile,v
retrieving revision 1.1
diff -u -p -u -r1.1 patch-Makefile
--- patches/patch-Makefile	28 Dec 2025 05:34:39 -0000	1.1
+++ patches/patch-Makefile	19 Aug 2026 20:51:16 -0000
@@ -1,7 +1,7 @@
 Index: Makefile
 --- Makefile.orig
 +++ Makefile
-@@ -486,7 +486,7 @@ endif
+@@ -487,7 +487,7 @@ endif
  prefix = $(INSTALL_PREFIX)
  bindir = $(prefix)/bin
  libdir = $(prefix)/lib/fio
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/benchmarks/fio/patches/patch-configure,v
retrieving revision 1.1
diff -u -p -u -r1.1 patch-configure
--- patches/patch-configure	10 Aug 2026 19:07:02 -0000	1.1
+++ patches/patch-configure	19 Aug 2026 20:51:16 -0000
@@ -3,19 +3,15 @@ GnuTLS is Linux-specific.
 Index: configure
 --- configure.orig
 +++ configure
-@@ -2363,8 +2363,13 @@ print_config "DAOS File System (dfs) Engine" "$dfs"
- if test "$libnfs" != "no" ; then
-   if $(pkg-config libnfs > /dev/null 2>&1); then
-     libnfs="yes"
--    libnfs_cflags=$(pkg-config --cflags libnfs gnutls)
--    libnfs_libs=$(pkg-config --libs libnfs gnutls)
-+    if test "$targetos" = "Linux" ; then
-+      libnfs_cflags=$(pkg-config --cflags libnfs gnutls)
-+      libnfs_libs=$(pkg-config --libs libnfs gnutls)
-+    else
-+      libnfs_cflags=$(pkg-config --cflags libnfs)
-+      libnfs_libs=$(pkg-config --libs libnfs)
-+    fi
-   else
-     if test "$libnfs" = "yes" ; then
-       feature_not_found "libnfs" "libnfs"
+@@ -2396,9 +2396,9 @@ if test "$libnfs" != "no" ; then
+     libnfs_cflags=$(pkg-config --cflags libnfs)
+     libnfs_libs=$(pkg-config --libs libnfs)
+ 
+-    # libnfs >= 6.0.0 requires gnutls for TLS support
++    # libnfs >= 6.0.0 on Linux requires gnutls for TLS support
+     libnfs_version=$(pkg-config --modversion libnfs 2>/dev/null)
+-    if test -n "$libnfs_version" ; then
++    if test -n "$libnfs_version" -a "$targetos" = "Linux" ; then
+       libnfs_major=$(echo $libnfs_version | cut -d. -f1)
+       if test "$libnfs_major" -ge 6 ; then
+         if $(pkg-config gnutls > /dev/null 2>&1); then
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.