From owner-freebsd-current@FreeBSD.ORG Mon Aug 22 09:08:03 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D549616A41F for ; Mon, 22 Aug 2005 09:08:03 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4091743D45 for ; Mon, 22 Aug 2005 09:08:02 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j7M97sCd083268; Mon, 22 Aug 2005 12:07:54 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 71338-17; Mon, 22 Aug 2005 12:07:54 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j7M97rJ8083262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Aug 2005 12:07:53 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j7M97wMK000717; Mon, 22 Aug 2005 12:07:58 +0300 (EEST) (envelope-from ru) Date: Mon, 22 Aug 2005 12:07:58 +0300 From: Ruslan Ermilov To: Kevin Oberman Message-ID: <20050822090758.GA665@ip.net.ua> References: <20050821071640.GB85488@wombat.fafoe.narf.at> <20050822045558.DF4855D07@ptavv.es.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: <20050822045558.DF4855D07@ptavv.es.net> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: current@freebsd.org Subject: Re: buildworld not using proper build environment X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2005 09:08:04 -0000 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 21, 2005 at 09:55:58PM -0700, Kevin Oberman wrote: > > Date: Sun, 21 Aug 2005 09:16:42 +0200 > > From: Stefan Farfeleder > >=20 > > I think the problem is that the files in lib/libedit include histedit.h > > with "" instead of <>. This works for NetBSD because they have > > histedit.h in the same directory. -I. should be dropped from CFLAGS > > probably too. I once noticed a problem that #include picks up > > the local term.h instead of the one in [..]/tmp/usr/include. >=20 > Dropping -I. breaks 'make depend', so that's not a good way to go. I > fails to find a LOT of stuff. >=20 > I really thought that the would fix it, but it does not > help. I edited all occurrences of "histedit.h" to , but > .depend still shows that the files in /usr/obj/usr/src/tmp are used. >=20 That's fine, it's what should be used, /usr/obj/usr/src/tmp/usr/include/his= tedit.h. "diff /usr/obj/usr/src/tmp/usr/include/histedit.h /usr/src/include/histedit= =2Eh" should be empty. > And > those files are used for everything. All header files listed in .depend > are in /usr/includeand none are in /usr/obj/usr/src/tmp/include. >=20 That means that for some reason "stage 4.1: building includes" wasn't run or did something odd. > I then looked at several other .depend files and I don't find any > indication that the new header files are ever used.=20 >=20 > Is my system somehow broken? I have completely removed /usr/obj and done > a fresh cvsup. I don't seem to find any stale files and would not expect > to on a system that was a fresh install three weeks ago. I'd just love > to find where in the makefiles the include environment is set to pull > header files from the build tree instead of the existing system. >=20 The magic is in Makefile.inc1, TOOLS_PREFIX=3D${WORLDTMP}. The cross-tools are built with this as a prefix, causing the standard headers to be looked up in ${WORLDTMP}/usr/include, libraries in ${WORLDTMP}/usr/lib and so on. See if there's something odd in your /etc/make.conf, or in your command line. Or put the compressed output (stdout+stderr) from running the "make buildworld" command available somewhere for download. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDCZXuqRfpzJluFF4RAmRrAJ9rQPyq7JzdGr+1S6VV4pYxLOmJzQCgnl+w 8c1QxhG1GV3FbuwEwlcbfC4= =WwIe -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--