From owner-freebsd-questions@FreeBSD.ORG Thu Jun 28 20:04:34 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0D1716A46C for ; Thu, 28 Jun 2007 20:04:34 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from smtp-out.neti.ee (smtp-out.neti.ee [194.126.126.40]) by mx1.freebsd.org (Postfix) with ESMTP id 31A2A13C484 for ; Thu, 28 Jun 2007 20:04:33 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from localhost (localhost [127.0.0.1]) by MXR-4.estpak.ee (Postfix) with ESMTP id 3A03122F194 for ; Thu, 28 Jun 2007 23:04:33 +0300 (EEST) X-Virus-Scanned: by amavisd-new-2.4.3 (20060930) (Debian) at neti.ee Received: from smtp-out.neti.ee ([127.0.0.1]) by localhost (MXR-2.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L6zaj-vLP-dk for ; Thu, 28 Jun 2007 23:04:31 +0300 (EEST) Received: from Relayhost2.neti.ee (Relayhost2 [88.196.174.142]) by MXR-4.estpak.ee (Postfix) with ESMTP id C6FDF233A0E for ; Thu, 28 Jun 2007 23:04:31 +0300 (EEST) Received: from [88.196.109.238] (88-196-109-238-dsl.trt.estpak.ee [88.196.109.238]) by Relayhost2.neti.ee (Postfix) with ESMTP id EDC34552B for ; Thu, 28 Jun 2007 23:04:30 +0300 (EEST) Message-ID: <4684144E.6000408@raad.tartu.ee> Date: Thu, 28 Jun 2007 23:04:30 +0300 From: Toomas Aas User-Agent: Thunderbird 1.5.0.9 (X11/20070304) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: One library fails port md5 checksum 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 Jun 2007 20:04:34 -0000 Hello! I'm running FreeBSD 6.2-RELEASE amd64 and have amanda-client and amanda-server installed from ports. Initially I had these ports at version 2.5.1p2 but as I was having some weird problems I decided to remove these versions and upgrade to latest available Amanda ports, 2.5.1p3. On removing the old version of amanda-client port, I got this error message: pkg_delete: '/usr/local/lib/libamandad.a' fails original MD5 checksum - not deleted. Oh my, I thought, I have a corrupt library. This is probably what caused all those weird problems I was having with Amanda. I removed /usr/local/lib/libamandad.a manually and installed the new Amanda ports (2.5.1p3). The problems that I was initially having with 2.5.1p2 seemed to be gone, but I discovered that I had given one configuration parameter wrong to the port build, so I decided to remove the amanda-server and amanda-client ports and re-install them with correct parameters. To my great surprise, on removing the new amanda-client port, I got the identical error message: pkg_delete: '/usr/local/lib/libamandad.a' fails original MD5 checksum - not deleted. I initially had these two settings in /etc/make.conf CPUTYPE=nocona CFLAGS=-O2 -pipe (This box has Intel Pentium D 945 CPU) I commented them out and removed and re-installed the Amanda ports once more. Still, the checksum that is listed in /var/db/pkg/amanda-client/+CONTENTS for /usr/local/lib/libamandad.a does not match the actual md5 checksum of the file. Having seen this, I again enabled these options in /etc/make.conf and rebuilt the Amanda ports once more. The checksum mismatch is still there. What might cause this? This kind of "random" corruption is generally attributed to hardware failure, but it seems not random enough, considering that I have now re-built Amanda 4 times and each time it's the same file that ends up having the checksum mismatch. Also, the box doesn't seem to suffer from any other problems such as random signal 11s etc. -- Toomas Aas -- ... How much net work could a network work, if a network could net work?