Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 2020 09:05:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 251180] sysutils/lsof: error compiling dnode2.c on stable/12, missing VOP_FSYNC definition, and one too many args to kern_unlinkat()
Message-ID:  <bug-251180-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251180

            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@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info
          Assignee: ler@FreeBSD.org
             Flags: maintainer-feedback?(ler@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:7=
3:
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 =3D 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

--=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-251180-7788>