ports/151296: [patch] ports/sysutils/fusefs-kmod build fails: MNT_NFS4ACLS undeclared

Edward.Sanford.Sutton at FreeBSD.org Edward.Sanford.Sutton at FreeBSD.org
Fri Oct 8 08:50:01 UTC 2010


>Number:         151296
>Category:       ports
>Synopsis:       [patch] ports/sysutils/fusefs-kmod build fails: MNT_NFS4ACLS undeclared
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 08 08:50:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Edward Sanford Sutton, III
>Release:        8.1-RELEASE
>Organization:
>Environment:
FreeBSD darkstar.l.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Wed Jul 28 01:25:56 MST 2010     root at darkstar.l.net:/usr/obj/usr/src/sys/GENERIC  amd6
>Description:
  The following error appears when I try to compile due to MNT_NFS4ACLS being defined in /usr/src/sys/mount.h but not being included in the defined includes
cc -O2 -pipe -fno-strict-aliasing  -I/usr/src/sbin/mount -I../include -std=gnu99 -fstack-protector  -c mount_fusefs.c
mount_fusefs.c:79: error: 'MNT_NFS4ACLS' undeclared here (not in a function)
An available update (from 19 months ago) does not appear to address this issue.
  The issue occurs for me on amd64, though I only show a log of it impacting ia64-8-latest on portsmon May 16, 2010.
>How-To-Repeat:
On my system, `cd /usr/ports/sysutils/fusefs-kmod;make` always was causing it.
>Fix:


Patch attached with submission follows:

--- Makefile.orig	2010-10-08 00:51:35.164643383 -0700
+++ Makefile	2010-10-08 01:14:50.144672831 -0700
@@ -78,6 +78,8 @@
 post-patch:
 	@${REINPLACE_CMD} -e 's/deplate.rb/deplate/g' \
 		${WRKSRC}/doc/Makefile
+	@${REINPLACE_CMD} -e 's|-I../inc|-I${SRC_BASE}/sys -I../inc|g' \
+		${WRKSRC}/mount_fusefs/Makefile
 
 post-configure:
 	@${CP} ${LOCALBASE}/include/fuse/fuse_kernel.h ${WRKSRC}/fuse_module


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list