Can't upgrade lsof

Larry Smith lwptg at yahoo.ca
Tue Apr 22 21:44:47 UTC 2008


Hi,

I'm a newbie trying to upgrade 'lsof'. 'Portupgrade -a' goes well except for lsof and a couple of files that depend on it (gnome-system-monitor, gnome-applets, etc.)

I am running FreeBSD 7-RELEASE on an AMD Sempron with 1Gb of RAM.  I have cvs'ed my ports tree, did portsdb, pkgdb and portsclean over the last couple of days to see if it self-corrects.  It didn't.  Googling didn't turn up anything either. Any suggestions, advice, or comments would be greatly appreciated.

Thank-you,
Larry


OUTPUT

portupgrade lsof
..
..
..
..
EV -DHAS_SI_PRIV -DHAS_SYS_SX_H -DFREEBSDV=7000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR=\"7.0-RELEASE\" -I/usr/src/sys -O2 -c dmnt.c
cc  -fno-strict-aliasing -pipe -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_UDEV -DHAS_SI_PRIV -DHAS_SYS_SX_H -DFREEBSDV=7000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR=\"7.0-RELEASE\" -I/usr/src/sys -O2 -c dnode.c
dnode.c: In function 'get_lock_state':
dnode.c:113: error: 'struct lockf' has no member named 'lf_flags'
dnode.c:115: error: 'struct lockf' has no member named 'lf_id'
dnode.c:121: error: 'struct lockf' has no member named 'lf_id'
dnode.c:129: error: 'struct lockf' has no member named 'lf_start'
dnode.c:130: error: 'struct lockf' has no member named 'lf_end'
dnode.c:134: error: 'struct lockf' has no member named 'lf_type'
dnode.c:136: error: 'struct lockf' has no member named 'lf_type'
dnode.c:138: error: 'struct lockf' has no member named 'lf_type'
dnode.c:141: error: 'struct lockf' has no member named 'lf_next'
dnode.c: In function 'process_node':
dnode.c:760: error: 'struct inode' has no member named 'i_lockf'
dnode.c:761: error: 'struct inode' has no member named 'i_lockf'
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.79/lsof_4.79_src.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.92049.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=lsof-4.79D UPGRADE_PORT_VER=4.79D make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
    ! sysutils/lsof (lsof-4.79D)    (unknown build error)





      __________________________________________________________________
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca


More information about the freebsd-questions mailing list