From: yaydn@protonmail.com Subject: Re: UPDATE: fio To: Brad Smith , "kurt@openbsd.org" , "ports@openbsd.org" Date: Sun, 09 Aug 2026 18:26:12 +0000 På søndag 9. august 2026 kl. 01:35, skrev Brad Smith : > Remove a hack hardcoding a dependency on GnuTLS that is only relevant > for Linux. > $ cd /usr/ports/benchmarks/fio/ && patch -l -p0 -E < /tmp/fio-3.41.diff $ cd /usr/ports/benchmarks/fio/ && make build package test ; make port-lib-depends-check check-shlib-syms clean ===> Regression tests for fio-3.41p0 ./fio --minimal --thread --exitall_on_error --runtime=1s --name=nulltest --ioengine=null --rw=randrw --iodepth=2 --norandommap --random_generator=tausworthe64 --size=16T --name=verifyfstest --filename=fiotestfile.tmp --unlink=1 --rw=write --verify=crc32c --verify_state_save=0 --size=16K 3;fio-3.41;nulltest;0;0;1029780;1028751;257187;1001;0;10179;0.133507;20.663510;0;43948;1.403151;143.807579;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=1;99.950000%=13;99.990000%=1187;0%=0;0%=0;0%=0;0;43949;1.536658;145.404398;1041042;1041042;100.000000%;1041042.000000;0.000000;1031348;1030317;257579;1001;0;5007;0.124681;11.196373;0;45737;1.013525;109.545816;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=1;99.950000%=17;99.990000%=514;0%=0;0%=0;0%=0;0;45737;1.138205;110.120052;1040770;1040770;100.000000%;1040770.000000;0.000000;42.000000%;0.000000%;639;0;0;100.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.0%;99.91%;0.02%;0.02%;0.01%;0.01%;0.01%;0.01%;0.01%;0.01%;0.01%;0.01%;0.01%;0.01%;0.01%;0.01%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00% 3;fio-3.41;verifyfstest;0;0;16;16000;4000;1;0;0;0.000000;0.000000;3;41;12.994500;19.266719;1.000000%=3;5.000000%=3;10.000000%=3;20.000000%=3;30.000000%=3;40.000000%=3;50.000000%=3;60.000000%=3;70.000000%=3;80.000000%=41;90.000000%=41;95.000000%=41;99.000000%=41;99.500000%=41;99.900000%=41;99.950000%=41;99.990000%=41;0%=0;0%=0;0%=0;3;42;13.145250;19.414456;0;0;0.000000%;0.000000;0.000000;16;571;142;28;0;0;0.000000;0.000000;10;26601;6732.051250;13246.728187;1.000000%=10;5.000000%=10;10.000000%=10;20.000000%=10;30.000000%=50;40.000000%=50;50.000000%=50;60.000000%=264;70.000000%=264;80.000000%=26607;90.000000%=26607;95.000000%=26607;99.000000%=26607;99.500000%=26607;99.900000%=26607;99.950000%=26607;99.990000%=26607;0%=0;0%=0;0%=0;30;26604;6744.438000;13240.361581;0;0;0.000000%;0.000000;0.000000;0.000000%;0.000000%;4;0;6;100.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.00%;37.50%;0.00%;12.50%;12.50%;12.50%;0.00%;12.50%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;12.50%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00% ===> Cleaning for fio-3.41p0 -- # TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all/ pkg_add -Dsnap -aa fio fio-3.41p0: ok -- $ fio --version fio-3.41 -- Not familiar enough for more testing. Please let me know what would further testing would be helpful. Builds on current/amd64 with privsep. Hope this helps. May you all have a good one. -- yaydn > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/benchmarks/fio/Makefile,v > retrieving revision 1.13 > diff -u -p -u -p -r1.13 Makefile > --- Makefile 28 Dec 2025 05:34:39 -0000 1.13 > +++ Makefile 8 Aug 2026 23:28:51 -0000 > @@ -4,6 +4,7 @@ GH_ACCOUNT= axboe > GH_PROJECT= fio > GH_TAGNAME= fio-3.41 > PKGNAME= ${GH_TAGNAME} > +REVISION= 0 > > CATEGORIES= benchmarks > > @@ -19,7 +20,7 @@ PERMIT_PACKAGE= Yes > COMPILER= base-clang ports-gcc > COMPILER_LANGS= c > > -WANTLIB += c gnutls m nfs pthread z > +WANTLIB += c m nfs pthread z > > USE_GMAKE= Yes > SEPARATE_BUILD= Yes > @@ -32,7 +33,6 @@ MAKE_FLAGS= V=1 \ > CONFIGURE_ARGS= --disable-optimizations \ > --disable-native > > -LIB_DEPENDS= devel/libnfs \ > - security/gnutls > +LIB_DEPENDS= devel/libnfs > > .include > Index: patches/patch-configure > =================================================================== > RCS file: patches/patch-configure > diff -N patches/patch-configure > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-configure 8 Aug 2026 23:28:51 -0000 > @@ -0,0 +1,21 @@ > +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" > >