Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2021 13:26:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 257354] sysutils/lsof build failure on 12.2-STABLE (too few arguments to kern_unlinkat())
Message-ID:  <bug-257354-7788@https.bugs.freebsd.org/bugzilla/>

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

            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: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: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,
^

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