From owner-freebsd-ports@FreeBSD.ORG Sat Apr 22 19:40:22 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F37C16A401 for ; Sat, 22 Apr 2006 19:40:22 +0000 (UTC) (envelope-from Guillermo.Moreno-Socias@math.uvsq.fr) Received: from soleil.uvsq.fr (soleil.uvsq.fr [193.51.24.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC68143D45 for ; Sat, 22 Apr 2006 19:40:21 +0000 (GMT) (envelope-from Guillermo.Moreno-Socias@math.uvsq.fr) Received: from cauchy.math.uvsq.fr (cauchy.math.uvsq.fr [193.51.32.2]) by soleil.uvsq.fr (8.13.5/jtpda-5.4) with ESMTP id k3MJeKgr057858 ; Sat, 22 Apr 2006 21:40:20 +0200 (CEST) Received: from fermat.math.uvsq.fr (fermat.math.uvsq.fr [193.51.32.1]) by cauchy.math.uvsq.fr (8.13.3/jtpda-5.4) with ESMTP id k3MJeKGE081060 ; Sat, 22 Apr 2006 21:40:20 +0200 (CEST) Received: from fermat.math.uvsq.fr (localhost [127.0.0.1]) by fermat.math.uvsq.fr (8.13.3/jtpda-5.4) with ESMTP id k3MJeJcm021196 ; Sat, 22 Apr 2006 21:40:19 +0200 (CEST) Received: (from moreno@localhost) by fermat.math.uvsq.fr (8.13.3/8.13.3/Submit) id k3MJeJLM021195; Sat, 22 Apr 2006 21:40:19 +0200 (CEST) (envelope-from moreno) Date: Sat, 22 Apr 2006 21:40:19 +0200 From: Guillermo MORENO-SOCIAS To: Kris Kennaway Message-ID: <20060422194019.GA20380@math.uvsq.fr> References: <20060422182109.GA19495@math.uvsq.fr> <20060422182910.GA14697@xor.obsecurity.org> <20060422184415.GB19618@math.uvsq.fr> <20060422185932.GA15170@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060422185932.GA15170@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (soleil.uvsq.fr [193.51.24.1]); Sat, 22 Apr 2006 21:40:20 +0200 (CEST) X-Miltered: at soleil.uvsq.fr with ID 444A86A4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Virus-Scanned: ClamAV 0.88/1416/Sat Apr 22 16:28:11 2006 on soleil.uvsq.fr X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=disabled version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on soleil.uvsq.fr Cc: ports@freebsd.org Subject: Re: library problem ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Apr 2006 19:40:22 -0000 On Sat, Apr 22, 2006 at 02:59:32PM -0400, Kris Kennaway wrote: > On Sat, Apr 22, 2006 at 08:44:15PM +0200, Guillermo MORENO-SOCIAS wrote: > > On Sat, Apr 22, 2006 at 02:29:10PM -0400, Kris Kennaway wrote: > > > On Sat, Apr 22, 2006 at 08:21:09PM +0200, Guillermo MORENO-SOCIAS wrote: > > > > Hello. > > > > > > > > When trying to use portsnap I get: > > > > > > > > # portsnap fetch > > > > Looking up portsnap.FreeBSD.org mirrors... using portsnap1.FreeBSD.org. > > > > Fetching public key... /libexec/ld-elf.so.1: /sbin/sha256: Undefined symbol "SHA256_File" > > > > [: =: unexpected operator > > > > key has incorrect hash. > > > > # > > > > > > > > The background is the following: After installing a RELENG_5_4 > > > > (FreeBSD 5.4-RELEASE) kernel and updating my ports tree I installed a > > > > RELENG_5 kernel (FreeBSD 5.5-PRERELEASE). Because of a problem of > > > > very slow network (which was not corrected by 5.5), I downgraded the > > > > kernel to a RELENG_5_4_0_RELEASE applying the security patches (from > > > > FreeBSD-SA-05:09.htt.asc to FreeBSD-SA-06:14.fpu.asc). > > > > > > Looks like you need to rebuild world. > > > > > > Kris > > > > This is what I did: > > > > cd /usr/src > > make buildworld > > make installworld > > make buildkernel KERNCONF=FERMAT2 > > make installkernel KERNCONF=FERMAT2 > > mergemaster > > > > Is not this enough? I hope I am not too ignorant... > > OK, try rebuilding the port & all its dependencies then. > > Kris I am trapped! How could I get out of this? # portupgrade -frv sysutils/portsnap -m '-DNO_CHECKSUM' ---> Session started at: Sat, 22 Apr 2006 21:36:23 +0200 ---> Reinstallation of sysutils/portsnap started at: Sat, 22 Apr 2006 21:36:25 +0200 ---> Reinstalling 'portsnap-1.0' (sysutils/portsnap) ---> Build of sysutils/portsnap started at: Sat, 22 Apr 2006 21:36:25 +0200 ---> Building '/usr/ports/sysutils/portsnap' ===> Cleaning for bsdiff-4.3 ===> Cleaning for freebsd-sha256-20050310 ===> Cleaning for portsnap-1.0 ===> Vulnerability check disabled, database not found ===> Extracting for portsnap-1.0 => MD5 Checksum OK for portsnap-1.0.tar.gz. /libexec/ld-elf.so.1: /sbin/sha256: Undefined symbol "SHA256_Init" *** Error code 1 Stop in /usr/ports/sysutils/portsnap. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20879.0 make ** Fix the problem and try again. ---> Build of sysutils/portsnap ended at: Sat, 22 Apr 2006 21:36:26 +0200 (consumed 00:00:01) ---> Reinstallation of sysutils/portsnap ended at: Sat, 22 Apr 2006 21:36:26 +0200 (consumed 00:00:01) ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! sysutils/portsnap (portsnap-1.0) (unknown build error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Saving the results to '/root/portupgrade/portupgrade.log.55' ---> Session ended at: Sat, 22 Apr 2006 21:36:26 +0200 (consumed 00:00:02) Guillermo Moreno-Socias