Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2008 13:02:22 -0500
From:      "Larry Rosenman" <ler@lerctr.org>
To:        "'Abdullah Ibn Hamad Al-Marri'" <wearabnet@yahoo.ca>
Cc:        ports@freebsd.org
Subject:   RE: FreeBSD Port: sysutils/lsof doesn't build in FreeBSD 7.1-PRE
Message-ID:  <002501c923ef$e08358b0$a18a0a10$@org>
In-Reply-To: <328828.42488.qm@web33707.mail.mud.yahoo.com>
References:  <328828.42488.qm@web33707.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You *MUST* upgrade the userland as well for lsof to compile. 

See the 00FAQ file in the work directory of the port. 


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893


-----Original Message-----
From: Abdullah Ibn Hamad Al-Marri [mailto:wearabnet@yahoo.ca] 
Sent: Wednesday, October 01, 2008 1:00 PM
To: Larry Rosenman
Cc: ports@freebsd.org
Subject: Re: FreeBSD Port: sysutils/lsof doesn't build in FreeBSD 7.1-PRE

I just upgraded the kernel.

 Regards,


-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/



----- Original Message ----
> From: Larry Rosenman <ler@lerctr.org>
> To: Abdullah Ibn Hamad Al-Marri <wearabnet@yahoo.ca>
> Cc: ports@freebsd.org
> Sent: Wednesday, October 1, 2008 8:38:06 PM
> Subject: RE: FreeBSD Port: sysutils/lsof doesn't build in FreeBSD 7.1-PRE
> 
> Have you done a full buildworld/buildkernel/installkernel/installworld ?
> 
> 
> 
> -- 
> Larry Rosenman                    http://www.lerctr.org/~ler
> Phone: +1 512-248-2683                E-Mail: ler@lerctr.org
> US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
> 
> -----Original Message-----
> From: Abdullah Ibn Hamad Al-Marri [mailto:wearabnet@yahoo.ca] 
> Sent: Wednesday, October 01, 2008 11:57 AM
> To: ler@lerctr.org
> Cc: ports@freebsd.org
> Subject: FreeBSD Port: sysutils/lsof doesn't build in FreeBSD 7.1-PRE
> 
> Hello,
> 
> --->  Upgrade of sysutils/lsof started at: Wed, 01 Oct 2008 16:53:25 +0000
> --->  Upgrading 'lsof-4.81A,2' to 'lsof-4.81D,2' (sysutils/lsof)
> OK? [yes] 
> --->  Build of sysutils/lsof started at: Wed, 01 Oct 2008 16:53:37 +0000
> --->  Building '/usr/ports/sysutils/lsof'
> ===>  Cleaning for lsof-4.81D,2
> ===>  Vulnerability check disabled, database not found
> => lsof_4.81D.freebsd.tar.bz2 doesn't seem to exist in
> /usr/ports/distfiles/.
> => Attempting to fetch from
> http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/.
> fetch:
>
http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/lsof_4.81D.freebsd
> .tar.bz2: Not Found
> => Attempting to fetch from
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/.
> fetch:
> ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_4.81D.freebsd.tar.bz2:
> Not logged in
> => Attempting to fetch from
> ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/.
> fetch:
>
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/lsof_4.81D.freebsd.tar.bz
> 2: Not logged in
> => Attempting to fetch from http://www.lerctr.org/lsof/.
> lsof_4.81D.freebsd.tar.bz2                    100% of  459 kB  272 kBps
> ===>  Extracting for lsof-4.81D,2
> => MD5 Checksum OK for lsof_4.81D.freebsd.tar.bz2.
> => SHA256 Checksum OK for lsof_4.81D.freebsd.tar.bz2.
> ===>  Patching for lsof-4.81D,2
> ===>  Applying FreeBSD patches for lsof-4.81D,2
> ===>  Configuring for lsof-4.81D,2
> !!!WARNING!!!  Unsupported FreeBSD version: 7.1-PRERELEASE
> !!!WARNING!!!  Configuring for FreeBSD 7.0
> Creating ./lockf_owner.h from /usr/src/sys/kern/kern_lockf.c
> ./lockf_owner.h creation succeeded.
> rm -f ddev.c dfile.c dlsof.h dmnt.c dnode*.c dproc.c dproto.h dsock.c
> dstore.c dzfs.h kernelbase.h machine.h machine.h.old new_machine.h
__lseek.s
> Makefile Makefile.zfs ./tests/config.cflags
> rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags
> Testing C library for localtime() and strftime(), using cc ... present
> ln -s dialects/freebsd/dlsof.h dlsof.h
> ln -s dialects/freebsd/dmnt.c dmnt.c
> ln -s dialects/freebsd/dnode.c dnode.c
> ln -s dialects/freebsd/dnode1.c dnode1.c
> ln -s dialects/freebsd/dnode2.c dnode2.c
> ln -s dialects/freebsd/dproc.c dproc.c
> ln -s dialects/freebsd/dproto.h dproto.h
> ln -s dialects/freebsd/dsock.c dsock.c
> ln -s dialects/freebsd/dstore.c dstore.c
> ln -s dialects/freebsd/dzfs.h dzfs.h
> ln -s dialects/freebsd/machine.h machine.h
> Makefile and lib/Makefile created.
> Makefile.zfs created.
> ./tests/config.cc created
> ./tests/config.cflags created
> ./tests/config.ldflags created
> ./tests/config.xobj created
> ===>  Building for lsof-4.81D,2
> (cd lib; make DEBUG="-O2" CFGF="-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
> -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DFREEBSDV=7000 -DHASFDESCFS=2
> -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME
> -DLSOF_VSTR=\"7.1-PRERELEASE\"")
> 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 -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY
> -DFREEBSDV=7000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6
> -DHAS_STRFTIME -DLSOF_VSTR="7.1-PRERELEASE" -I/usr/src/sys -O2 -c ckkv.c
> In file included from ckkv.c:33:
> ../machine.h:62: error: redefinition of typedef 'cpumask_t'
> /usr/src/sys/sys/types.h:146: error: previous declaration of 'cpumask_t'
was
> here
> *** Error code 1
> 
> Stop in /usr/ports/sysutils/lsof/work/lsof_4.81D.freebsd/lib.
> *** Error code 1
> 
> Stop in /usr/ports/sysutils/lsof/work/lsof_4.81D.freebsd.
> *** Error code 1
> 
> Stop in /usr/ports/sysutils/lsof.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade.17092.0 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=lsof-4.81A,2 UPGRADE_PORT_VER=4.81A,2 make
> ** Fix the problem and try again.
> --->  Build of sysutils/lsof ended at: Wed, 01 Oct 2008 16:53:47 +0000
> (consumed 00:00:09)
> --->  Upgrade of sysutils/lsof ended at: Wed, 01 Oct 2008 16:53:47 +0000
> (consumed 00:00:21)
> 
> Regards,
> 
> 
> -Abdullah Ibn Hamad Al-Marri
> Arab Portal
> http://www.WeArab.Net/



      




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002501c923ef$e08358b0$a18a0a10$>