From owner-freebsd-ports@FreeBSD.ORG Wed Oct 1 18:02:35 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2825B1065688 for ; Wed, 1 Oct 2008 18:02:35 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by mx1.freebsd.org (Postfix) with ESMTP id 030FA8FC13 for ; Wed, 1 Oct 2008 18:02:34 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from 64.3.1.253.ptr.us.xo.net ([64.3.1.253]:19460 helo=LROSENMAN) by thebighonker.lerctr.org with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Kl61w-0008KE-OY; Wed, 01 Oct 2008 13:02:34 -0500 From: "Larry Rosenman" To: "'Abdullah Ibn Hamad Al-Marri'" References: <328828.42488.qm@web33707.mail.mud.yahoo.com> In-Reply-To: <328828.42488.qm@web33707.mail.mud.yahoo.com> Date: Wed, 1 Oct 2008 13:02:22 -0500 Message-ID: <002501c923ef$e08358b0$a18a0a10$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ackj74V1OUsL47KbQZS6GSOayIzxQgAAETUQ Content-Language: en-us X-Spam-Score: -0.7 (/) X-LERCTR-Spam-Score: -0.7 (/) X-Spam-Report: SpamScore (-0.7/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, FM_MULTI_ODD2=1.1, FM_MULTI_ODD3=0.7, TVD_RCVD_IP=1.931 X-LERCTR-Spam-Report: SpamScore (-0.7/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, FM_MULTI_ODD2=1.1, FM_MULTI_ODD3=0.7, TVD_RCVD_IP=1.931 DomainKey-Status: no signature Cc: ports@freebsd.org Subject: RE: FreeBSD Port: sysutils/lsof doesn't build in FreeBSD 7.1-PRE X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 18:02:35 -0000 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 > To: Abdullah Ibn Hamad Al-Marri > 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/