lsof / tinderbox port build error

Larry Rosenman ler at lerctr.org
Sun Apr 15 23:28:36 UTC 2012


Is this the same sources you have done a make buildworld buildkernel installworld installkernel 

With?
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Chris Inacio <nacho319 at gmail.com> wrote:

The solution is apparently to install the system src.  There doesn't appear to be a ports/package to manage that.

The solutions was supposed to be to install the system source.  I used csup to install the system source, and it got further, with a different error:


===>  Building for lsof-4.86B,6
(cd lib; make DEBUG="-O2" CFGF="-pipe -fno-strict-aliasing -DHASEFFNLINK=i_effnlink -DHASF_VNODE -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 -DFREEBSDV=8030 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR=\"8.3-RELEASE\"")
cc  -pipe -fno-strict-aliasing -DHASEFFNLINK=i_effnlink -DHASF_VNODE -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 -DFREEBSDV=8030 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR="8.3-RELEASE" -I/usr/src/sys -O2 -c ckkv.c
In file included from ../dlsof.h:90,
                 from ../lsof.h:195,
                 from ckkv.c:43:
/usr/src/sys/sys/conf.h:340: warning: parameter names (without types) in function declaration
In file included from ../dlsof.h:127,
                 from ../lsof.h:195,
                 from ckkv.c:43:
/usr/src/sys/sys/socket.h:39:28: error: machine/_align.h: No such file or directory
In file included from /usr/src/sys/vm/pmap.h:89,
                 from ../dlsof.h:400,
                 from ../lsof.h:195,
                 from ckkv.c:43:
/usr/include/machine/pmap.h:247: error: expected specifier-qualifier-list before 'cpumask_t'
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.86B.freebsd/lib.
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.86B.freebsd.
*** Error code 1

Stop in /usr/ports/sysutils/lsof.
*** Error code 1

Stop in /usr/ports/ports-mgmt/tinderbox.
*** Error code 1

Stop in /usr/ports/ports-mgmt/tinderbox.
freebsd64_vm# 



On Sun, Apr 15, 2012 at 8:04 AM, Chris Inacio <nacho319 at gmail.com> wrote:


There was no config.log to attach to the report.  This is the (hopefully) relevant screen text.

=> Attempting to fetch ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/lsof_4.86B.freebsd.tar.bz2
lsof_4.86B.freebsd.tar.bz2                    100% of  468 kB  880 kBps
===>  Extracting for lsof-4.86B,6
=> SHA256 Checksum OK for lsof_4.86B.freebsd.tar.bz2.
===>  Patching for lsof-4.86B,6
===>  Configuring for lsof-4.86B,6
Creating ./lockf_owner.h from /usr/src/sys/kern/kern_lockf.c
FATAL ERROR: can't read /usr/src/sys/kern/kern_lockf.c
FATAL ERROR: ./lockf_owner.h creation failed (see 00FAQ)
===>  Script "Configure" failed unexpectedly.
Please report the problem to ler at lerctr.org [maintainer] and attach the
"/usr/ports/sysutils/lsof/work/lsof_4.86B.freebsd/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/sysutils/lsof.
*** Error code 1

Stop in /usr/ports/ports-mgmt/tinderbox.
*** Error code 1

Stop in /usr/ports/ports-mgmt/tinderbox.








More information about the freebsd-ports mailing list