From owner-freebsd-ports@FreeBSD.ORG Wed Mar 8 18:43:31 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70B7116A420 for ; Wed, 8 Mar 2006 18:43:31 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from mail17.syd.optusnet.com.au (mail17.syd.optusnet.com.au [211.29.132.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id C583943D45 for ; Wed, 8 Mar 2006 18:43:30 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail17.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k28IhTQo022585 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 9 Mar 2006 05:43:29 +1100 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.4/8.13.4) with ESMTP id k28IhSO1003044 for ; Thu, 9 Mar 2006 05:43:28 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.4/8.13.4/Submit) id k28IhSx8003043 for freebsd-ports@freebsd.org; Thu, 9 Mar 2006 05:43:28 +1100 (EST) (envelope-from peter) Date: Thu, 9 Mar 2006 05:43:28 +1100 From: Peter Jeremy To: freebsd-ports@freebsd.org Message-ID: <20060308184328.GG679@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Subject: sysutils/lsof won't build on recent -current 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, 08 Mar 2006 18:43:31 -0000 At the risk of crying wolf a second time... On a recent (last weekend) -current, when I try to build lsof, I get: ===> Building for lsof-4.76.1.1 (cd lib; make DEBUG="-O" CFGF="-pipe -g -march=athlon-xp -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 -DHAS9660FS -DHAS_NO_ISO_DEV -DHASIPv6 -DLSOF_VSTR=\"7.0-CURRENT\"") cc -pipe -g -march=athlon-xp -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 -DHAS9660FS -DHAS_NO_ISO_DEV -DHASIPv6 -DLSOF_VSTR="7.0-CURRENT" -I/usr/src/sys -O -c ckkv.c In file included from /usr/src/sys/sys/proc.h:54, from /usr/src/sys/sys/buf.h:257, from /usr/src/sys/ufs/ufs/ufsmount.h:36, from ../dlsof.h:152, from ../lsof.h:190, from ckkv.c:43: /usr/src/sys/sys/signalvar.h:323: error: conflicting types for 'psignal' /usr/include/signal.h:105: error: previous declaration of 'psignal' was here /usr/src/sys/sys/signalvar.h:323: error: conflicting types for 'psignal' /usr/include/signal.h:105: error: previous declaration of 'psignal' was here In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36, from ../dlsof.h:152, from ../lsof.h:190, from ckkv.c:43: /usr/src/sys/sys/buf.h: In function `BUF_REFCNT': /usr/src/sys/sys/buf.h:366: error: `panicstr' undeclared (first use in this function) /usr/src/sys/sys/buf.h:366: error: (Each undeclared identifier is reported only once /usr/src/sys/sys/buf.h:366: error: for each function it appears in.) *** Error code 1 The conflicting psignal() is because lsof is trying to have both userland and kernel versions of psignal() in scope. Presumably there is a masking macro that has been lost somewhere. I'm not sure about the panicstr error. Has anyone else seen this? Note that lsof also gives an 'Unsupported FreeBSD version: 6.1-PRERELEASE' warning on -stable, though it builds otherwise. -- Peter Jeremy