From owner-svn-ports-head@FreeBSD.ORG Thu Dec 18 17:44:11 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 18FE9457 for ; Thu, 18 Dec 2014 17:44:11 +0000 (UTC) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A2E9C221D for ; Thu, 18 Dec 2014 17:44:10 +0000 (UTC) Received: by mail-lb0-f172.google.com with SMTP id u10so1401571lbd.3 for ; Thu, 18 Dec 2014 09:44:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=ixmOD1p5ZrIJ0htYcCnqYUYyUUsT8eT81GsR0xmBbSg=; b=Eta0ZPtM07AQOSAOYkpmo6+MUkUZkhwP2vAfRbZ21aW02tKvKhI9r9zuMvX00g6unK vnMnA5DhL7sxZeQVl0tl6dJc+ZinUfakKF03Bf/92VzK9gcAGvJBpHI1yNIO1322rHU7 41IWBPqcUIj3ini6hsMWP4aJli9bAY4YF2cLECOa/jxziyM/pOG/s49TAnzzM0MtF380 262htTX0MCtJx4NxHrKm3HDAk+cpKw5Ob7DlFsgeMCvofIinjpMyOzQmxm7K2a5sxw6o nvxWb/fptTfxtSy1QraNkW0reWvb+H1yDnLaRwksoc2AwjPaQS/UhzmcgdPLHOWqHuMy Ay1Q== X-Gm-Message-State: ALoCoQnTwZd7BinjAu/kzQZwlYifQdlpwMktogUZ/9g2NtIbpVnu82nlrnnvjWlyJ9bxqJ0pJXUr X-Received: by 10.112.161.35 with SMTP id xp3mr3521345lbb.70.1418924182066; Thu, 18 Dec 2014 09:36:22 -0800 (PST) Received: from ?IPv6:2001:470:1f0b:1925:3000:f77:d2f3:dc37? ([2001:470:1f0b:1925:3000:f77:d2f3:dc37]) by mx.google.com with ESMTPSA id e5sm1951153laf.44.2014.12.18.09.36.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Dec 2014 09:36:20 -0800 (PST) Message-ID: <54931093.6080400@freebsd.org> Date: Thu, 18 Dec 2014 20:36:19 +0300 From: Andrey Chernov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Bryan Drewery , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, Larry Rosenman Subject: Re: svn commit: r374867 - head/sysutils/lsof References: <201412171833.sBHIXSim035050@svn.freebsd.org> <5492C9F1.7070905@freebsd.org> <5492F02D.8020102@FreeBSD.org> <5492F6A8.1030304@freebsd.org> In-Reply-To: <5492F6A8.1030304@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="w5hMqjUtN7vx9pdhS1tCMuhH6Rxo2fdXf" 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:44:11 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --w5hMqjUtN7vx9pdhS1tCMuhH6Rxo2fdXf Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable 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. 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=3Dcore2 -fstack-protector -fno-strict-aliasing >>> -march=3Dcore2 -DHASTASKS -DHAS_PAUSE_SBT -DHASEFFNLINK=3Di_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=3D10000 -DHASFDESCFS=3D2 -DHASPSEUDOFS -DHASNULLFS -DHASIP= v6 >>> -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=3D\"10.1-STABLE\" -I/usr/src/sy= s -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. >> >=20 > On this machine I have only one src tree which is updated to latest > -stable for /usr/src (and latest ports for /usr/ports). >=20 > 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 $ >=20 --=20 http://ache.vniz.net/ --w5hMqjUtN7vx9pdhS1tCMuhH6Rxo2fdXf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJUkxCTAAoJEKUckv0MjfbKS0UH/i/H37iMu1Wp/EXVRl2oY4/j B3j7rd7kwaAkw0C/ouvH+wKHPmzeM7BfTElvkhJmMHTTyJx+Fajh3PAf8hmX54fH auqs6bDfLbBx0tY89eviaUQ6ezl/Rr6jYE9U4mFE+aCLjmu9L0qTj2r/0DCPxK4o EhMaWMgN24t+PP4x/jmfQh5K6mcbvhaMs+uQ3DEwpe9KEZtba0UDea8sCdumKR4w gy4nTHGdvKZii9xs/rlhve8LeOKoma/ycuu7bjYImEbqHHzhvrHPTFmfCvpyghrh E9Lfna7up2Uui96i0xwmNDdVHhy6EmwI9V6GQa4fk2DVNHexbLBVzDq+pmG1KS0= =eU7e -----END PGP SIGNATURE----- --w5hMqjUtN7vx9pdhS1tCMuhH6Rxo2fdXf--