[Bug 251180] sysutils/lsof: error compiling dnode2.c on stable/12, missing VOP_FSYNC definition, and one too many args to kern_unlinkat()

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 16 09:05:05 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251180

            Bug ID: 251180
           Summary: sysutils/lsof: error compiling dnode2.c on stable/12,
                    missing VOP_FSYNC definition, and one too many args to
                    kern_unlinkat()
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ler at FreeBSD.org
          Reporter: Trond.Endrestol at ximalas.info
          Assignee: ler at FreeBSD.org
             Flags: maintainer-feedback?(ler at FreeBSD.org)

The system is running stable/12 amd64 r365314.
/usr/src is at r367707.
/usr/ports is at r555451.

--- dnode2.o ---
In file included from dnode2.c:62:
In file included from
/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_znode.h:33:
In file included from
/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu.h:48:
In file included from
/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_context.h:73:
In file included from /usr/src/sys/cddl/compat/opensolaris/sys/vfs.h:37:
/usr/src/sys/cddl/compat/opensolaris/sys/vnode.h:243:10: warning: implicit
declaration of function 'VOP_FSYNC' is invalid in C99
[-Wimplicit-function-declaration]
        error = VOP_FSYNC(vp, MNT_WAIT, curthread);
                ^
/usr/src/sys/cddl/compat/opensolaris/sys/vnode.h:281:61: error: too many
arguments to function call, expected 5, have 6
        return (kern_unlinkat(curthread, AT_FDCWD, fnamep, seg, 0, 0));
                ~~~~~~~~~~~~~                                      ^
/usr/include/sys/syscallsubr.h:298:1: note: 'kern_unlinkat' declared here
int     kern_unlinkat(struct thread *td, int fd, char *path,
^
1 warning and 1 error generated.
*** [dnode2.o] Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list