Date: Mon, 22 Aug 2005 12:07:58 +0300 From: Ruslan Ermilov <ru@freebsd.org> To: Kevin Oberman <oberman@es.net> Cc: current@freebsd.org Subject: Re: buildworld not using proper build environment Message-ID: <20050822090758.GA665@ip.net.ua> In-Reply-To: <20050822045558.DF4855D07@ptavv.es.net> References: <20050821071640.GB85488@wombat.fafoe.narf.at> <20050822045558.DF4855D07@ptavv.es.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <stefan@fafoe.narf.at> > >=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 <term.h> 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 <histedit.h> would fix it, but it does not > help. I edited all occurrences of "histedit.h" to <histedit.h>, 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050822090758.GA665>