From owner-freebsd-current@FreeBSD.ORG Sun Aug 21 19:33:45 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 CC69816A41F for ; Sun, 21 Aug 2005 19:33:45 +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 E6E5843D46 for ; Sun, 21 Aug 2005 19:33:44 +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 j7LJXb2V007934; Sun, 21 Aug 2005 22:33:37 +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 45644-11; Sun, 21 Aug 2005 22:33:36 +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 j7LJXZbq007931 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 Aug 2005 22:33:36 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j7LJXeDS011846; Sun, 21 Aug 2005 22:33:40 +0300 (EEST) (envelope-from ru) Date: Sun, 21 Aug 2005 22:33:40 +0300 From: Ruslan Ermilov To: Kevin Oberman , current@freebsd.org Message-ID: <20050821193340.GA93001@ip.net.ua> References: <20050821042032.3AD765D08@ptavv.es.net> <20050821071640.GB85488@wombat.fafoe.narf.at> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <20050821071640.GB85488@wombat.fafoe.narf.at> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: 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: Sun, 21 Aug 2005 19:33:45 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 21, 2005 at 09:16:42AM +0200, Stefan Farfeleder wrote: > On Sat, Aug 20, 2005 at 09:20:32PM -0700, Kevin Oberman wrote: > > I'm not a make(1) expert, but something appears wrong with Makefile.inc1 > > and the build environment it provides for buildworld. > >=20 > > There has been a short thread on this with the subject: > > Unable to build libedit > >=20 > > It turns out that buildworld is using the header files in /usr/include > > and not those in /usr/obj/usr/src/tmp/usr/include when compiling. I've > > looked at Makefile.inc1 and it looks like the proper environment is > > made for AMD64, but perhaps not for other platforms (like i386). I'm not > > sure what is wrong, but I have confirmed that buildworld is using > > /usr/include/histedit.h in lieu of the new version in $WORLDTMP. > >=20 > > Am I wrong about all of this this or is something wrong with the > > buildworld.=20 >=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 Check with the /usr/obj/usr/src/lib/libedit/.depend file (after buildworld). Should be /usr/obj/usr/src/tmp/usr/include/histedit.h if everything is good. (Some path tweaks may be necessary according to your directory layout.) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDCNcUqRfpzJluFF4RAvvyAJ95Mjxlh4YHgYOj1PyzD+R555TC1ACeIEX3 6m7oXCt9A+VdbXEMDiFeXpY= =dbVm -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx--