sysutils/lsof: Recent changes have broken lsof

From: Larry Rosenman <ler_at_FreeBSD.org>
Date: Tue, 10 Dec 2019 12:26:52 -0600
Anyone know what I need to add to fix this?

--- dnode.o ---
In file included from dnode.c:62:
/usr/src/sys/fs/tmpfs/tmpfs.h:508:2: warning: implicit declaration of 
function 'MPASS' is invalid in C99 [-Wimplicit-function-declaration]
         MPASS(mp != NULL && mp->mnt_data != NULL);
         ^
/usr/src/sys/fs/tmpfs/tmpfs.h:518:2: warning: implicit declaration of 
function 'MPASS' is invalid in C99 [-Wimplicit-function-declaration]
         MPASS(vp != NULL && vp->v_data != NULL);
         ^
/usr/src/sys/fs/tmpfs/tmpfs.h:529:2: warning: implicit declaration of 
function 'MPASS' is invalid in C99 [-Wimplicit-function-declaration]
         TMPFS_VALIDATE_DIR(node);
         ^
/usr/src/sys/fs/tmpfs/tmpfs.h:479:2: note: expanded from macro 
'TMPFS_VALIDATE_DIR'
         MPASS((node)->tn_type == VDIR); \
         ^
3 warnings generated.
--- dnode1.o ---
cc   -pipe -fstack-protector-strong -fno-strict-aliasing 
-DNEEDS_BOOL_TYPEDEF -DHASTASKS -DHAS_PAUSE_SBT -DHAS_DUP2 
-DHAS_CLOSEFROM -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHAS_FILEDESCENT 
-DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 
-DHAS_NO_IDEV -DHAS_VM_MEMATTR_T -DNEEDS_DEVICE_T -DHAS_CDEV2PRIV 
-DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHASFUSEFS -DHAS_ZFS -DHAS_V_LOCKF 
-DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T 
-DHAS_SB_CCC -DHAS_FDESCENTTBL -DFREEBSDV=13000 -DHASFDESCFS=2 
-DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME 
-DLSOF_VSTR=\"13.0-CURRENT\" -I/usr/src/sys -O2 -c dnode1.c -o dnode1.o
In file included from dnode1.c:148:
In file included from /usr/src/sys/fs/fuse/fuse_node.h:72:
/usr/src/sys/fs/fuse/fuse_file.h:214:33: warning: declaration of 'struct 
fuse_open_out' will not be visible outside of this function 
[-Wvisibility]
                           struct ucred *cred, struct fuse_open_out 
*foo);
                                                      ^
In file included from dnode1.c:148:
/usr/src/sys/fs/fuse/fuse_node.h:142:2: warning: implicit declaration of 
function 'getbinuptime' is invalid in C99 
[-Wimplicit-function-declaration]
         getbinuptime(&now);
         ^
/usr/src/sys/fs/fuse/fuse_node.h:174:3: warning: implicit declaration of 
function 'MPASS' is invalid in C99 [-Wimplicit-function-declaration]
                 MPASS(dvp->v_type == VDIR);
                 ^
/usr/src/sys/fs/fuse/fuse_node.h:187:45: warning: declaration of 'struct 
fuse_entry_out' will not be visible outside of this function 
[-Wvisibility]
int fuse_vnode_get(struct mount *mp, struct fuse_entry_out *feo,
                                             ^
4 warnings generated.
--- lib/liblsof.a ---
--- fino.o ---
cc   -pipe -fstack-protector-strong -fno-strict-aliasing 
-DNEEDS_BOOL_TYPEDEF -DHASTASKS -DHAS_PAUSE_SBT -DHAS_DUP2 
-DHAS_CLOSEFROM -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHAS_FILEDESCENT 
-DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 
-DHAS_NO_IDEV -DHAS_VM_MEMATTR_T -DNEEDS_DEVICE_T -DHAS_CDEV2PRIV 
-DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHASFUSEFS -DHAS_ZFS -DHAS_V_LOCKF 
-DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T 
-DHAS_SB_CCC -DHAS_FDESCENTTBL -DFREEBSDV=13000 -DHASFDESCFS=2 
-DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME 
-DLSOF_VSTR="13.0-CURRENT" -I/usr/src/sys -O2 -c fino.c -o fino.o
--- dnode2.o ---
--- dnode2.o ---
cc  -pipe -fstack-protector-strong -fno-strict-aliasing 
-DNEEDS_BOOL_TYPEDEF -DFREEBSDV=13000 -DHAS_ZFS -DHAS_CV_TIMEDWAIT_SBT 
-DHAS_V_LOCKF -D_SOLARIS_C_SOURCE -O2 
-I/usr/src/sys/cddl/compat/opensolaris 
-I/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 
-I/usr/src/sys/cddl/contrib/opensolaris/uts/common/zmod 
-I/usr/src/sys/cddl/contrib/opensolaris/uts/common 
-I/usr/src/sys/cddl/contrib/opensolaris/common/zfs 
-I/usr/src/sys/cddl/contrib/opensolaris/common 
-I/wrkdirs/usr/ports/sysutils/lsof/work/lsof-4.93.2/usr/src/include 
-I`pwd` -c dnode2.c -o dnode2.o
In file included from dnode2.c:56:
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);
                 ^
--- lib/liblsof.a ---
--- isfn.o ---
cc   -pipe -fstack-protector-strong -fno-strict-aliasing 
-DNEEDS_BOOL_TYPEDEF -DHASTASKS -DHAS_PAUSE_SBT -DHAS_DUP2 
-DHAS_CLOSEFROM -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHAS_FILEDESCENT 
-DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 
-DHAS_NO_IDEV -DHAS_VM_MEMATTR_T -DNEEDS_DEVICE_T -DHAS_CDEV2PRIV 
-DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHASFUSEFS -DHAS_ZFS -DHAS_V_LOCKF 
-DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T 
-DHAS_SB_CCC -DHAS_FDESCENTTBL -DFREEBSDV=13000 -DHASFDESCFS=2 
-DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME 
-DLSOF_VSTR="13.0-CURRENT" -I/usr/src/sys -O2 -c isfn.c -o isfn.o
--- dnode2.o ---
1 warning generated.
--- dproc.o ---
cc   -pipe -fstack-protector-strong -fno-strict-aliasing 
-DNEEDS_BOOL_TYPEDEF -DHASTASKS -DHAS_PAUSE_SBT -DHAS_DUP2 
-DHAS_CLOSEFROM -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHAS_FILEDESCENT 
-DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 
-DHAS_NO_IDEV -DHAS_VM_MEMATTR_T -DNEEDS_DEVICE_T -DHAS_CDEV2PRIV 
-DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHASFUSEFS -DHAS_ZFS -DHAS_V_LOCKF 
-DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T 
-DHAS_SB_CCC -DHAS_FDESCENTTBL -DFREEBSDV=13000 -DHASFDESCFS=2 
-DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME 
-DLSOF_VSTR=\"13.0-CURRENT\" -I/usr/src/sys -O2 -c dproc.c -o dproc.o
dproc.c:693:23: error: no member named 'next' in 'struct vm_map_entry'
                 if (!(ka = (KA_T)e->next))
                                  ~  ^
1 error generated.
*** [dproc.o] Error code 1


from pkg-fallout.

Thanks!

-- 
Larry Rosenman                     http://people.freebsd.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler_at_FreeBSD.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106


Received on Tue Dec 10 2019 - 17:28:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC