[Bug 257354] sysutils/lsof build failure on 12.2-STABLE (too few arguments to kern_unlinkat())

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 23 Jul 2021 13:26:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257354

            Bug ID: 257354
           Summary: sysutils/lsof build failure on 12.2-STABLE (too few
                    arguments 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: bsdpr@phoe.frmug.org
          Assignee: ler@FreeBSD.org
             Flags: maintainer-feedback?(ler@FreeBSD.org)

The lsof port (version 4.94.0 epoch 8) fails to build on an arm/armv7
12.2-STABLE host (rev 8b9b3d90de5dbeba0f8d68a154c657c0c139e5a9).

--- dnode2.o ---
In file included from dnode2.c:61:
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:47:
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:59: error: too few
arguments to function call, expected 6, have 5
        return (kern_unlinkat(curthread, AT_FDCWD, fnamep, seg, 0));
                ~~~~~~~~~~~~~                                    ^
/usr/include/sys/syscallsubr.h:304:1: note: 'kern_unlinkat' declared here
int     kern_unlinkat(struct thread *td, int fd, char *path,
^

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