From owner-freebsd-ports@FreeBSD.ORG Sat Apr 22 19:48:27 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 8D7E316A405 for ; Sat, 22 Apr 2006 19:48:27 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B8F443D48 for ; Sat, 22 Apr 2006 19:48:27 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id E08CD1A3C28; Sat, 22 Apr 2006 12:48:26 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EB9965544C; Sat, 22 Apr 2006 15:48:25 -0400 (EDT) Date: Sat, 22 Apr 2006 15:48:25 -0400 From: Kris Kennaway To: Guillermo MORENO-SOCIAS Message-ID: <20060422194825.GA15897@xor.obsecurity.org> References: <20060422182109.GA19495@math.uvsq.fr> <20060422182910.GA14697@xor.obsecurity.org> <20060422184415.GB19618@math.uvsq.fr> <20060422185932.GA15170@xor.obsecurity.org> <20060422194019.GA20380@math.uvsq.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <20060422194019.GA20380@math.uvsq.fr> User-Agent: Mutt/1.4.2.1i Cc: ports@freebsd.org, Kris Kennaway 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:48:27 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 22, 2006 at 09:40:19PM +0200, Guillermo MORENO-SOCIAS wrote: > 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 w= rote: > > > > > Hello. > > > > >=20 > > > > > When trying to use portsnap I get: > > > > >=20 > > > > > # portsnap fetch > > > > > Looking up portsnap.FreeBSD.org mirrors... using portsnap1.FreeBS= D.org. > > > > > Fetching public key... /libexec/ld-elf.so.1: /sbin/sha256: Undefi= ned symbol "SHA256_File" > > > > > [: =3D: unexpected operator > > > > > key has incorrect hash. > > > > > #=20 > > > > >=20 > > > > > The background is the following: After installing a RELENG_5_4 > > > > > (FreeBSD 5.4-RELEASE) kernel and updating my ports tree I install= ed 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 (f= rom > > > > > FreeBSD-SA-05:09.htt.asc to FreeBSD-SA-06:14.fpu.asc). > > > >=20 > > > > Looks like you need to rebuild world. > > > >=20 > > > > Kris > > >=20 > > > This is what I did: > > >=20 > > > cd /usr/src > > > make buildworld > > > make installworld > > > make buildkernel KERNCONF=3DFERMAT2 > > > make installkernel KERNCONF=3DFERMAT2 > > > mergemaster > > >=20 > > > Is not this enough? I hope I am not too ignorant... > >=20 > > OK, try rebuilding the port & all its dependencies then. > >=20 > > Kris >=20 > I am trapped! How could I get out of this? >=20 > # 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 +0= 200 > ---> Building '/usr/ports/sysutils/portsnap' > =3D=3D=3D> Cleaning for bsdiff-4.3 > =3D=3D=3D> Cleaning for freebsd-sha256-20050310 > =3D=3D=3D> Cleaning for portsnap-1.0 > =3D=3D=3D> Vulnerability check disabled, database not found > =3D=3D=3D> Extracting for portsnap-1.0 > =3D> MD5 Checksum OK for portsnap-1.0.tar.gz. > /libexec/ld-elf.so.1: /sbin/sha256: Undefined symbol "SHA256_Init" > *** Error code 1 ls -l /sbin/sha256 and check whether it is older than the other files in the directory. I think this binary was added after 5.4-RELEASE, so when you downgraded it stopped functioning, yet ports still see that it is there and try to use it. If it's indeed older, just remove it. Kris --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFESoiJWry0BWjoQKURAsMNAJ4uxsZ5Uehi/pCvdHCJG0Ur4fUtFgCgtsAT uWZ5EQUoDBdMwSL3lz01cLs= =ucV3 -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU--