Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Oct 2016 10:44:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 196029] sysutils/lsof does not compile: implicit declaration of function 'VOP_FSYNC' (affects sysutils/htop)
Message-ID:  <bug-196029-13-QybT6Tb51L@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196029-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196029-13@https.bugs.freebsd.org/bugzilla/>

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

emz@norma.perm.ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emz@norma.perm.ru

--- Comment #7 from emz@norma.perm.ru ---
Got this just now on FreeBSD 11.0-RC3 #0 r305786 / ports r423493:

--- dnode2.o ---
In file included from dnode2.c:55:
In file included from
/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_znode.h:32:
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:244:10: warning: implicit
declaration of function 'VOP_FSYNC' is invalid in C99
[-Wimplicit-function-declaration]
        error =3D VOP_FSYNC(vp, MNT_WAIT, curthread);
                ^
1 warning generated.
--- lib/liblsof.a ---
--- cvfs.o ---
cc  -pipe -fstack-protector -fno-strict-aliasing -DNEEDS_BOOL_TYPEDEF
-DHASTASKS -DHAS_PAUSE_SBT -DHASEFFNLINK=3Di_effnlink -DHASF_VNODE
-DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE
-DHAS_UFS1_2 -DHAS_VM_MEMATTR_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=3D11000 -DHASFDESCFS=3D2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DH=
ASUTMPX
-DHAS_STRFTIME -DLSOF_VSTR=3D"11.0-RC3" -I/usr/src/sys -O2 -c cvfs.c -o cvf=
s.o
--- dvch.o ---
cc  -pipe -fstack-protector -fno-strict-aliasing -DNEEDS_BOOL_TYPEDEF
-DHASTASKS -DHAS_PAUSE_SBT -DHASEFFNLINK=3Di_effnlink -DHASF_VNODE
-DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE
-DHAS_UFS1_2 -DHAS_VM_MEMATTR_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=3D11000 -DHASFDESCFS=3D2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DH=
ASUTMPX
-DHAS_STRFTIME -DLSOF_VSTR=3D"11.0-RC3" -I/usr/src/sys -O2 -c dvch.c -o dvc=
h.o
--- fino.o ---
cc  -pipe -fstack-protector -fno-strict-aliasing -DNEEDS_BOOL_TYPEDEF
-DHASTASKS -DHAS_PAUSE_SBT -DHASEFFNLINK=3Di_effnlink -DHASF_VNODE
-DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE
-DHAS_UFS1_2 -DHAS_VM_MEMATTR_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=3D11000 -DHASFDESCFS=3D2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DH=
ASUTMPX
-DHAS_STRFTIME -DLSOF_VSTR=3D"11.0-RC3" -I/usr/src/sys -O2 -c fino.c -o fin=
o.o
--- isfn.o ---
cc  -pipe -fstack-protector -fno-strict-aliasing -DNEEDS_BOOL_TYPEDEF
-DHASTASKS -DHAS_PAUSE_SBT -DHASEFFNLINK=3Di_effnlink -DHASF_VNODE
-DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE
-DHAS_UFS1_2 -DHAS_VM_MEMATTR_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=3D11000 -DHASFDESCFS=3D2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DH=
ASUTMPX
-DHAS_STRFTIME -DLSOF_VSTR=3D"11.0-RC3" -I/usr/src/sys -O2 -c isfn.c -o isf=
n.o
--- lkud.o ---
cc  -pipe -fstack-protector -fno-strict-aliasing -DNEEDS_BOOL_TYPEDEF
-DHASTASKS -DHAS_PAUSE_SBT -DHASEFFNLINK=3Di_effnlink -DHASF_VNODE
-DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE
-DHAS_UFS1_2 -DHAS_VM_MEMATTR_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=3D11000 -DHASFDESCFS=3D2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DH=
ASUTMPX
-DHAS_STRFTIME -DLSOF_VSTR=3D"11.0-RC3" -I/usr/src/sys -O2 -c lkud.c -o lku=
d.o
--- pdvn.o ---
cc  -pipe -fstack-protector -fno-strict-aliasing -DNEEDS_BOOL_TYPEDEF
-DHASTASKS -DHAS_PAUSE_SBT -DHASEFFNLINK=3Di_effnlink -DHASF_VNODE
-DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE
-DHAS_UFS1_2 -DHAS_VM_MEMATTR_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=3D11000 -DHASFDESCFS=3D2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DH=
ASUTMPX
-DHAS_STRFTIME -DLSOF_VSTR=3D"11.0-RC3" -I/usr/src/sys -O2 -c pdvn.c -o pdv=
n.o
--- prfp.o ---
cc  -pipe -fstack-protector -fno-strict-aliasing -DNEEDS_BOOL_TYPEDEF
-DHASTASKS -DHAS_PAUSE_SBT -DHASEFFNLINK=3Di_effnlink -DHASF_VNODE
-DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE
-DHAS_UFS1_2 -DHAS_VM_MEMATTR_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=3D11000 -DHASFDESCFS=3D2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DH=
ASUTMPX
-DHAS_STRFTIME -DLSOF_VSTR=3D"11.0-RC3" -I/usr/src/sys -O2 -c prfp.c -o prf=
p.o
--- ptti.o ---
--- rdev.o ---
--- ptti.o ---
cc  -pipe -fstack-protector -fno-strict-aliasing -DNEEDS_BOOL_TYPEDEF
-DHASTASKS -DHAS_PAUSE_SBT -DHASEFFNLINK=3Di_effnlink -DHASF_VNODE
-DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE
-DHAS_UFS1_2 -DHAS_VM_MEMATTR_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=3D11000 -DHASFDESCFS=3D2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DH=
ASUTMPX
-DHAS_STRFTIME -DLSOF_VSTR=3D"11.0-RC3" -I/usr/src/sys -O2 -c ptti.c -o ptt=
i.o
--- rdev.o ---
cc  -pipe -fstack-protector -fno-strict-aliasing -DNEEDS_BOOL_TYPEDEF
-DHASTASKS -DHAS_PAUSE_SBT -DHASEFFNLINK=3Di_effnlink -DHASF_VNODE
-DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE
-DHAS_UFS1_2 -DHAS_VM_MEMATTR_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=3D11000 -DHASFDESCFS=3D2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DH=
ASUTMPX
-DHAS_STRFTIME -DLSOF_VSTR=3D"11.0-RC3" -I/usr/src/sys -O2 -c rdev.c -o rde=
v.o
--- dnode.o ---
dnode.c:914:13: error: no member named 'i_dev' in 'struct inode'
            if (i->i_dev
                ~  ^
dnode.c:924:27: error: no member named 'i_dev' in 'struct inode'
                dev =3D Dev2Udev((KA_T)i->i_dev);
                                     ~  ^
2 errors generated.
*** [dnode.o] Error code 1

make[1]: stopped in /usr/ports/sysutils/lsof/work/lsof_4.90G.freebsd
--- lib/liblsof.a ---
A failure has been detected in another branch of the parallel make

make[2]: stopped in /usr/ports/sysutils/lsof/work/lsof_4.90G.freebsd/lib
*** [lib/liblsof.a] Error code 2

make[1]: stopped in /usr/ports/sysutils/lsof/work/lsof_4.90G.freebsd
2 errors

make[1]: stopped in /usr/ports/sysutils/lsof/work/lsof_4.90G.freebsd
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/lsof

=3D=3D=3D>>> make build failed for sysutils/lsof
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> Update for sysutils/lsof failed
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> The following actions were performed:
        Re-installation of subversion-1.9.4


=3D=3D=3D>>> You can restart from the point of failure with this command li=
ne:
       portmaster <flags> sysutils/lsof

--=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-196029-13-QybT6Tb51L>