Re: UPDATE: libnfs 7.0.0

Brad Smith <[email protected]>
Newsgroups gmane.os.openbsd.ports
Message-ID <[email protected]>
On Thu, Aug 20, 2026 at 02:16:18PM +0100, Stuart Henderson wrote:
> On 2026/08/20 12:48, Kurt Miller wrote:
> > On Aug 19, 2026, at 7:11???PM, Kirill A. Korinsky <[email protected]> wrote:
> > > 
> > > On Wed, 19 Aug 2026 22:11:04 +0200,
> > > Kurt Miller <[email protected]> wrote:
> > >> 
> > >> On Aug 8, 2026, at 9:47???PM, Brad Smith <[email protected]> wrote:
> > >>> 
> > >>> Here is an update to libnfs 7.0.0.
> > >>> 
> > >>> All depends build Ok.
> > >>> 
> > >> 
> > >> Working on fio update on sparc64 and I noticed the libnfs.so <http://libnfs.so/> symbol
> > >> _null_auth conflicts with _null_auth in libc.so <http://libc.so/>:
> > >> 
> > >> fio:/usr/lib/libc.so.103.0: /usr/local/lib/libnfs.so.3.0 : WARNING: symbol(_null_auth) size mismatch, relink your program
> > >> 
> > >> oracle$ objdump -x /usr/lib/libc.so.103.0 | grep _null_auth                                        
> > >> 00000000003f61e0 g     O .bss 0000000000000018 _null_auth
> > >> oracle$ objdump -x /usr/local/lib/libnfs.so.3.0 | grep _null_auth
> > >> 0000000000368070 g     O .bss 0000000000000020 _null_auth
> > >> 
> > >> I???m not sure what the fix for this should be.
> > >> 
> > >> -Kurt
> > >> 
> > > 
> > > FWIW I saw almost the same error in qemu at amd64 hosts, but I haven't dig
> > > into it.
> > 
> > Thanks for confirming.
> 
> Can we just do this?

The struct has been renamed and there was a build fix for 32-bit ARM.


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/libnfs/Makefile,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 Makefile
--- Makefile	10 Aug 2026 10:39:02 -0000	1.12
+++ Makefile	26 Aug 2026 00:12:06 -0000
@@ -1,12 +1,12 @@
 COMMENT=	client library for accessing NFS
 
-DISTNAME=	libnfs-7.0.0pl20260708
+DISTNAME=	libnfs-7.0.0pl20260825
 GH_ACCOUNT=	sahlberg
 GH_PROJECT=	libnfs
-GH_COMMIT=	8d4c2f6057acb6a01a316fbb7eea1c05a06e34c6
+GH_COMMIT=	1ba86c2183fd247417bc75d41586d5460d3065fe
 CATEGORIES=	devel net
 
-SHARED_LIBS=	nfs	3.0
+SHARED_LIBS=	nfs	4.0
 
 HOMEPAGE=	https://github.com/sahlberg/libnfs
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/libnfs/distinfo,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 distinfo
--- distinfo	10 Aug 2026 10:39:02 -0000	1.7
+++ distinfo	26 Aug 2026 00:12:06 -0000
@@ -1,2 +1,2 @@
-SHA256 (libnfs-7.0.0pl20260708-8d4c2f60.tar.gz) = ZUqmlJD4r0SdLOryavOtWOiQphUVgdlGxwQxk8Mil3A=
-SIZE (libnfs-7.0.0pl20260708-8d4c2f60.tar.gz) = 389218
+SHA256 (libnfs-7.0.0pl20260825-1ba86c21.tar.gz) = IVwwpaka/AmaAvvIjcMIC6rhgydZZp2iZzBjiptV6UA=
+SIZE (libnfs-7.0.0pl20260825-1ba86c21.tar.gz) = 389749
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.