From owner-freebsd-questions@FreeBSD.ORG Thu Jul 28 13:36:09 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1691516A41F for ; Thu, 28 Jul 2005 13:36:09 +0000 (GMT) (envelope-from marius@korsmo.org) Received: from elwolfie.com (elwolfie.com [195.204.13.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A181643D5C for ; Thu, 28 Jul 2005 13:36:07 +0000 (GMT) (envelope-from marius@korsmo.org) Received: from localhost (elwolfie.com [127.0.0.1]) by elwolfie.com (Postfix) with ESMTP id 7AC045A for ; Thu, 28 Jul 2005 15:36:05 +0200 (CEST) Received: from elwolfie.com ([127.0.0.1]) by localhost (elwolfie.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15547-05 for ; Thu, 28 Jul 2005 15:36:03 +0200 (CEST) Received: by elwolfie.com (Postfix, from userid 33) id 730E75B; Thu, 28 Jul 2005 15:36:03 +0200 (CEST) Received: from mp-117-185.daxnet.no (mp-117-185.daxnet.no [193.216.117.185]) by elwolfie.com (Horde MIME library) with HTTP for ; Thu, 28 Jul 2005 15:36:03 +0200 Message-ID: <20050728153603.ziaoeppp5s2s44g8@elwolfie.com> Date: Thu, 28 Jul 2005 15:36:03 +0200 From: Marius Korsmo To: freebsd-questions@freebsd.org References: <20050728031706.fsbcd03hh4lcsg8g@elwolfie.com> <42E89EA9.7000508@dial.pipex.com> In-Reply-To: <42E89EA9.7000508@dial.pipex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) X-Virus-Scanned: by amavisd-new at elwolfie.com Subject: Re: make buildworld fails in openssl/colldef [SOLVED] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 13:36:09 -0000 Quoting Alex Zbyslaw : > Marius Korsmo wrote: > >> It took two weeks to fix this problem, and therefore I do have a few >> questions. >> >> The error turned out to be in err.h. The file located in /usr/include was >> totally different from the one located in /usr/src/include. >> >> < /*- >> < * Copyright (c) 1993 >> < *The Regents of the University of California. All rights reserved. >> --- >> >>> /* crypto/err/err.h */ >>> /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) >>> * All rights reserved. >>> >> >> You can see the entire diff at http://pastebin.com/322918 >> >> My question is: I deleted /usr/src, and I cvsup'ed everything. When >> I do a make >> buildworld, why does not the new err.h get copied from /usr/src/include to >> /usr/include? This would have solved my problem two weeks ago :) >> > build = recompile things > install = put them where they belong in the filesystem > > buildworld doesn't install the file because it's not supposed to. > >> Does err.h get copied only when you do a make installworld? >> > I would expect so. Why don't you try it? > >> Another question, why on earth did I have an old version of err.h? I >> was running >> 5.4 RELEASE, and it was installed from an ISO downloaded at FreeBSD.org >> > That does not look like an *old* version, it looks like a completely > different file. Did you install anything not from ports that might > have overwritten it? Did you try and install a port into a target > hierarchy that /usr/local? (The same copyright header as the real > 5.4 one exists in err.h from 4.11). > > Operating system bugs are rare compared to user errors, I'm afraid. > > --Alex > > As far as I can remember, I have not installed anything that didn't come from the ports collection. I have only used the ports, and always installed them to the default directory. I did not mean that this was a OS bug, and it would be really strange if it was since I can't find any other person that has had the same problem. There must be an application that overwrote my err.h. I've tried to provoke this error again, but I can't. I tried to install all the ports on another server (until i ran out of space), but the error did not occur. But with that said, there was 20 ports I didn't have enough space to install, so the problem might lie there. I might be the problem as well, maybe I did something I shouldn't have done. But I can't really see what that should be :) Anyway, the solution is here and I hope it can help other people that end up with the same problem (if that ever happens). Marius ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.