From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 18:02:44 2005 Return-Path: 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 385CD16A4CE for ; Sat, 12 Feb 2005 18:02:44 +0000 (GMT) Received: from webmail.freedom2surf.net (i-194-106-33-239.freedom2surf.net [194.106.33.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1008243D2D for ; Sat, 12 Feb 2005 18:02:43 +0000 (GMT) (envelope-from freebsd@drseuk.f2s.com) Received: from i-194-106-33-239.freedom2surf.net (i-194-106-33-239 [127.0.0.1])j1CI2f4x013866; Sat, 12 Feb 2005 18:02:41 GMT Received: (from apache@localhost)j1CI2f22013865; Sat, 12 Feb 2005 18:02:41 GMT X-Authentication-Warning: i-194-106-33-239.freedom2surf.net: apache set sender to freebsd@drseuk.f2s.com using -f Received: from i-195-137-107-121.freedom2surf.net (i-195-137-107-121.freedom2surf.net [195.137.107.121]) by webmail.freedom2surf.net (IMP) with HTTP for ; Sat, 12 Feb 2005 18:02:41 +0000 Message-ID: <1108231361.420e44c15eb6f@webmail.freedom2surf.net> Date: Sat, 12 Feb 2005 18:02:41 +0000 From: freebsd@drseuk.f2s.com To: Kris Kennaway References: <1105950426.41eb76da413a3@webmail.freedom2surf.net> <20050117232933.GA47343@xor.obsecurity.org> <1106089115.41ed949b8f946@webmail.freedom2surf.net> <20050119003220.GB46099@xor.obsecurity.org> In-Reply-To: <20050119003220.GB46099@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Originating-IP: 195.137.107.121 cc: freebsd-questions@freebsd.org Subject: Re: bsd.port.mk problems => make failing for all ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2005 18:02:44 -0000 Hi, Problem solved! Here's the explanation for anyone else hitting similar problems. pkg_info (called by make) was signal 11 segfaulting which is what caused the malformed conditionals (at line 2049) in /usr/ports/Mk/bsd.port.mk as PKGINSTALLVER was not being defined (at line 2047). As mentioned earlier I'd noticed that telnet had stopped working too. comparing ldd `which pkg_info` and ldd `which telnet` showed that (apart from the libc's), only libcrypto.so.3 was shared between these two and therefore must have become corrupted. The solution was a bit brute force (but with make not working I had little choice) - namely pull down a binary base distribution, cat all the base.aa, base.ab etc. files together, untar them and copy libcrypto.so.3 back. Luckily it worked. Thanks Kris and others for your help