[Bug 196029] New: lsof / htop do not compile: implicit declaration of function 'VOP_FSYNC'
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Dec 16 15:26:15 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196029
Bug ID: 196029
Summary: lsof / htop do not compile: implicit declaration of
function 'VOP_FSYNC'
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: tps at vr-web.de
First system:
# uname -a
FreeBSD fbsd12-64.bfs.de 11.0-CURRENT FreeBSD 11.0-CURRENT #124 r275815: Tue
Dec 16 07:36:37 CET 2014
root at fbsd12-64.bfs.de:/usr/obj/usr/src/sys/FBSD12-64 amd64
# svn info
Path: .
Working Copy Root Path: /usr/ports
URL: https://svn0.us-east.freebsd.org/ports/head
Repository Root: https://svn0.us-east.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 374781
Node Kind: directory
Schedule: normal
Last Changed Author: timur
Last Changed Rev: 374781
Last Changed Date: 2014-12-16 01:48:57 +0100 (Tue, 16 Dec 2014)
Second system:
# uname -a
FreeBSD test-sct-bf-muc.bfs.de 10.1-STABLE FreeBSD 10.1-STABLE #4 r275815: Tue
Dec 16 06:09:43 CET 2014
root at test-sct-bf-muc.bfs.de:/usr/obj/usr/src/sys/TEST-SCT-BF-MUC amd64
# svn info
Path: .
Working Copy Root Path: /usr/ports
URL: https://svn0.us-east.freebsd.org/ports/head
Repository Root: https://svn0.us-east.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 374781
Node Kind: directory
Schedule: normal
Last Changed Author: timur
Last Changed Rev: 374781
Last Changed Date: 2014-12-16 01:48:57 +0100 (Tue, 16 Dec 2014)
lsof / htop do not compile because of
cc -pipe -fstack-protector -fno-strict-aliasing -DFREEBSDV=11000 -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/ope
nsolaris/uts/common/zmod -I/usr/src/sys/cddl/contrib/opensolaris/uts/common
-I/usr/src/sys/cddl/contrib/opensolaris/common/zfs -I/us
r/src/sys/cddl/contrib/opensolaris/common
-I/usr/ports/sysutils/lsof/work/lsof_4.88/lsof_4.88_src/usr/src/include -I`pwd`
-c dnode2.
c
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:33:
In file included from
/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_vfsops.h:31:
In file included from /usr/src/sys/cddl/compat/opensolaris/sys/vfs.h:37:
/usr/src/sys/cddl/compat/opensolaris/sys/vnode.h:257:10: warning: implicit
declaration of function 'VOP_FSYNC' is invalid in C99 [-W
implicit-function-declaration]
error = VOP_FSYNC(vp, MNT_WAIT, curthread);
^
1 warning generated.
And:
cc -pipe -fstack-protector -fno-strict-aliasing -DHASTASKS -DHAS_PAUSE_SBT
-DHASEFFNLINK=i_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 -DHAS_ZFS -DHAS_V_LOCKF
-DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T
-DFREEBSDV=11000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX
-DHAS_STRFTIME -DLSOF_VSTR=\"11.0-CURRENT\" -I/usr/src/sys -O2 -c dproc.c
cc -pipe -fstack-protector -fno-strict-aliasing -DHASTASKS -DHAS_PAUSE_SBT
-DHASEFFNLINK=i_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 -DHAS_ZFS -DHAS_V_LOCKF
-DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T
-DFREEBSDV=11000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX
-DHAS_STRFTIME -DLSOF_VSTR=\"11.0-CURRENT\" -I/usr/src/sys -O2 -c dsock.c
dsock.c:215:32: error: no member named 'sb_cc' in 'struct sockbuf'
Lf->sz = (SZOFFTYPE)s.so_rcv.sb_cc;
~~~~~~~~ ^
dsock.c:217:32: error: no member named 'sb_cc' in 'struct sockbuf'
Lf->sz = (SZOFFTYPE)s.so_snd.sb_cc;
~~~~~~~~ ^
dsock.c:219:33: error: no member named 'sb_cc' in 'struct sockbuf'
Lf->sz = (SZOFFTYPE)(s.so_rcv.sb_cc + s.so_snd.sb_cc);
~~~~~~~~ ^
dsock.c:219:50: error: no member named 'sb_cc' in 'struct sockbuf'
Lf->sz = (SZOFFTYPE)(s.so_rcv.sb_cc + s.so_snd.sb_cc);
~~~~~~~~ ^
dsock.c:225:24: error: no member named 'sb_cc' in 'struct sockbuf'
Lf->lts.rq = s.so_rcv.sb_cc;
~~~~~~~~ ^
dsock.c:226:24: error: no member named 'sb_cc' in 'struct sockbuf'
Lf->lts.sq = s.so_snd.sb_cc;
~~~~~~~~ ^
6 errors generated.
*** [dsock.o] Error code 1
make[1]: stopped in /usr/ports/sysutils/lsof/work/lsof_4.88/lsof_4.88_src
1 error
make[1]: stopped in /usr/ports/sysutils/lsof/work/lsof_4.88/lsof_4.88_src
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/sysutils/lsof
htop does not compile, because it depends on lsof.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list