[Bug 221040] sysutils/lsof unable to build on FreeBSD 11.1 due to change in /sys/sys/proc.h

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 27 04:07:40 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221040

            Bug ID: 221040
           Summary: sysutils/lsof unable to build on FreeBSD 11.1  due to
                    change in /sys/sys/proc.h
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ler at FreeBSD.org
          Reporter: dewayne at heuristicsystems.com.au
             Flags: maintainer-feedback?(ler at FreeBSD.org)
          Assignee: ler at FreeBSD.org

Suspect that the change to /usr/src/sys/sys/proc.h, 5 days earlier
https://svnweb.freebsd.org/base/stable/11/sys/sys/proc.h?r1=318743&r2=321343
is the cause to this build problem on 11.1 Prelease i386.  (I'm also building
11.1Stable in a separate jails, hence the lsof build is using the most recent
source).

/usr/local/libexec/ccache/cc  -pipe -DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3 -g0
-ggdb0 -DSTRIP_FBSDID -UDEBUGGING -UDEBUG -march=c3-2 -mtune=c3-2
-fno-strict-aliasing -DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3 -g0 -ggdb0
-DSTRIP_FBSDID -UDEBUGGING -UDEBUG -march=c3-2 -mtune=c3-2 -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 -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=11000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS
-DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="11.1-PRERELEASE"
-I/usr/src/sys -O2 -c ckkv.c -o ckkv.o
In file included from ckkv.c:43:
In file included from ./../lsof.h:213:
In file included from ./../dlsof.h:266:
/usr/src/sys/sys/proc.h:347:22: error: field has incomplete type 'struct
syscall_args'
        struct syscall_args td_sa;      /* (kx) Syscall parameters. Copied on
                            ^
/usr/src/sys/sys/proc.h:180:8: note: forward declaration of 'struct
syscall_args'
struct syscall_args;
       ^
1 error generated.
*** Error code 1

Stop.
make[2]: stopped in
/var/ports/usr/ports/sysutils/lsof/work/lsof_4.90M.freebsd/lib
*** Error code 1

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


More information about the freebsd-ports-bugs mailing list