Date: Tue, 07 Sep 2021 20:34:27 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 258349] benchmarks/fio: build fails if libnfs is installed Message-ID: <bug-258349-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258349 Bug ID: 258349 Summary: benchmarks/fio: build fails if libnfs is installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: krion@FreeBSD.org Reporter: jcfyecrayz@liamekaens.com Assignee: krion@FreeBSD.org Flags: maintainer-feedback?(krion@FreeBSD.org) If the libnfs port/package is installed, 'make configure' enables nfs suppo= rt and 'make build' fails: . . CC engines/nfs.o In file included from engines/nfs.c:3: /usr/local/include/nfsc/libnfs.h:1216:23: error: field has incomplete type 'struct timeval' struct timeval atime; ^ . . Options: - patch to include sys/time.h (and pass upstream). This is actually, now = that I look at it closer, maybe more of a libnfs bug. - explicitly disable nfs support (--disable-libnfs) - make an NFS option (pass --enable-libnfs and add to LIB_DEPENDS). This = port should not be silently dependent on libnfs anyway - there should be an expl= icit LIB_DEPENDS for libnfs (if desired). I guess I vote for patching libnfs to include the right file in libnfs.h, a= nd makeing NFS support in fio an OPTION. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258349-7788>