From owner-freebsd-stable@FreeBSD.ORG Fri Sep 29 18:56:21 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6AE716A40F for ; Fri, 29 Sep 2006 18:56:21 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD88043D72 for ; Fri, 29 Sep 2006 18:56:18 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 982A15F4E; Fri, 29 Sep 2006 22:56:17 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 5F85B5F86; Fri, 29 Sep 2006 22:56:17 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id k8TIuFma038442; Fri, 29 Sep 2006 22:56:15 +0400 (MSD) (envelope-from ru) Date: Fri, 29 Sep 2006 22:56:15 +0400 From: Ruslan Ermilov To: Uwe Doering Message-ID: <20060929185615.GA38232@rambler-co.ru> References: <3466.62.97.242.158.1159516687.squirrel@carebears.mine.nu> <451D3E74.6030805@geminix.org> <20060929181806.GF37741@rambler-co.ru> <451D6735.70401@geminix.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: <451D6735.70401@geminix.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: Christer Solskogen , stable@FreeBSD.org Subject: Re: buildworld fails after patch (FreeBSD-SA-06:23.openssl) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 18:56:21 -0000 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 29, 2006 at 08:34:29PM +0200, Uwe Doering wrote: > Ruslan Ermilov wrote: > >On Fri, Sep 29, 2006 at 05:40:36PM +0200, Uwe Doering wrote: > >[...] > >>The same happened on my workstation, which runs 4.11. The cause of thi= s=20 > >>problem is that the openssl sources under '/usr/src' apparently use som= e=20 > >>include files installed under '/usr/include/openssl' instead of those i= n=20 > >>the '/usr/src' tree. > >> > >>The fix for me was to copy the '*.h' files that changed into=20 > >>'/usr/include/openssl' by hand. Afterwards things worked as expected.= =20 > >>This is of course just a workaround. The proper fix would be to modify= =20 > >>the respective makefiles to add all the directories where there are=20 > >>header files to the list of include directories given to 'cc' with '-I'= =20 > >>options. This apparently hasn't been done so far. At least not=20 > >>completely. > >> > >No. The correct way is to either do a full build (aka buildworld), > >or a partial build by first installing headers, and then doing the > >library build. >=20 > ?????? >=20 > Did you notice the subject of this thread? The problem occured while=20 > running 'buildworld'. >=20 It doesn't matter. What you suggest is not the correct way. Perhaps the buildworld is broken, but that's a separate issue. > My understanding so far is that the files under=20 > '/usr/include' don't get touched until I run 'installworld'. So the=20 > 'buildworld' universe has to be self-contained. That's what I was=20 > trying to point out. >=20 Yes, they are not touched. During buildworld, a special version of the compiler is built that looks headers up in the temporary location, normally /usr/obj/usr/src/tmp/usr/include. Then all (new) headers are installed there, then new libraries are built, then all the rest. If buildworld touched /usr/include, you could easily end up with a partially upgraded system, e.g. if build failed in the middle. If it still fails for you (the buildworld), please collect and put the full combiled stdout + stderr output from running "make buildworld" available somewhere for download and analysis. Colin said he did build all worlds, on all patched branches. OK, you had 4.11 and what were you trying to build? RELENG_4? So I can try to reproduce the problem here. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFHWxPqRfpzJluFF4RAhOBAKCSY/sAU67Y3NSVdxQpogeowaMwDwCfchb0 sAQW3VMevXqb9mX56Ltd4cM= =A6gh -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--