From owner-svn-ports-head@FreeBSD.ORG Thu Dec 18 17:54:15 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5487713; Thu, 18 Dec 2014 17:54:15 +0000 (UTC) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 74C672459; Thu, 18 Dec 2014 17:54:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=Gwd3n2W9DM9kBsU/1OP1O8Ig+DBlir+Ko9WLLQrJptQ=; b=FQfOdnZSLftKHWYdSxSHdfu2FQhwhTxI/sLIHxL0XAg/4jkvDjEcZFPEfCcvfsqy6xxV367x/gLvheJC6Tk6qqTYPx/UuGtncmnd+LAJx+30j4ZmsQs+Iu9Y7yb9cnW+2JuCB70Co387ikJUi2eDC6WMagU9D+nwJLOTz4ThKEg=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:32884 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:DHE-RSA-AES128-GCM-SHA256:128) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Y1fHA-000K6h-VX; Thu, 18 Dec 2014 11:54:14 -0600 Received: from host.alcatel.com ([198.205.55.139]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Thu, 18 Dec 2014 11:54:12 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 18 Dec 2014 11:54:12 -0600 From: Larry Rosenman To: Andrey Chernov Subject: Re: svn commit: r374867 - head/sysutils/lsof In-Reply-To: <54931093.6080400@freebsd.org> References: <201412171833.sBHIXSim035050@svn.freebsd.org> <5492C9F1.7070905@freebsd.org> <5492F02D.8020102@FreeBSD.org> <5492F6A8.1030304@freebsd.org> <54931093.6080400@freebsd.org> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.0.3 X-Spam-Score: -2.9 (--) X-LERCTR-Spam-Score: -2.9 (--) X-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-LERCTR-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org, Bryan Drewery X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2014 17:54:15 -0000 On 2014-12-18 11:36, Andrey Chernov wrote: > BTW, all it happens because 'bool' type is defined in > only > for _KERNEL case and lsof explicitly don't want to define _KERNEL > before > including as their dlsof.h comment states. > > While not defining _KERNEL for they temporarily define it > while including which cause this bug. I've sent this thread to Vic Abell, LSOF author, for comment. Larry Rosenman sysutils/lsof maintainer. > > On 18.12.2014 18:45, Andrey Chernov wrote: >> On 18.12.2014 18:18, Bryan Drewery wrote: >>> On 12/18/2014 6:34 AM, Andrey Chernov wrote: >>>> On 17.12.2014 21:33, Bryan Drewery wrote: >>>>> Log: >>>>> - Update to 4.89A, which should fix head builds. >>>> >>>> Attempting to build it on -stable x86 is not successful: >>>> >>>> --- dmnt.o --- >>>> cc -pipe -march=core2 -fstack-protector -fno-strict-aliasing >>>> -march=core2 -DHASTASKS -DHAS_PAUSE_SBT -DHASEFFNLINK=i_effnlink >>>> -DHASF_VNODE -DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H >>>> -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 -DNEEDS_BOOLEAN_T >>>> -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 >>>> -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.1-STABLE\" -I/usr/src/sys >>>> -O2 >>>> -c dmnt.c >>>> In file included from dmnt.c:39: >>>> In file included from ./lsof.h:195: >>>> In file included from ./dlsof.h:208: >>>> In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: >>>> In file included from /usr/src/sys/sys/buf.h:260: >>>> /usr/src/sys/sys/proc.h:950:1: error: unknown type name 'bool' >>>> bool thread_suspend_check_needed(void); >>>> ^ >>>> --- lib/liblsof.a --- >>>> --- ckkv.o --- >>>> In file included from ckkv.c:43: >>>> In file included from ./../lsof.h:195: >>>> In file included from ./../dlsof.h:208: >>>> In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: >>>> In file included from /usr/src/sys/sys/buf.h:260: >>>> /usr/src/sys/sys/proc.h:950:1: error: unknown type name 'bool' >>>> bool thread_suspend_check_needed(void); >>>> ^ >>>> 1 error generated. >>>> *** [ckkv.o] Error code 1 >>>> >>> >>> Can you please verify your SRC_BASE is pointed to the right src tree? >>> adamw@ ran into the same issue and found they had the wrong src tree >>> checked in use. >>> >> >> On this machine I have only one src tree which is updated to latest >> -stable for /usr/src (and latest ports for /usr/ports). >> >> F.e. mentioned /usr/src/sys/sys/proc.h is >> $FreeBSD: stable/10/sys/sys/proc.h 275794 2014-12-15 10:46:07Z kib $ >> -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688