From owner-freebsd-ports@FreeBSD.ORG Tue Oct 11 10:05:55 2005 Return-Path: X-Original-To: freebsd-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 5E79E16A427; Tue, 11 Oct 2005 10:05:55 +0000 (GMT) (envelope-from michael.hopkins@hopkins-research.com) Received: from neon.webfusion.co.uk (neon.webfusion.co.uk [212.67.202.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB50443D53; Tue, 11 Oct 2005 10:05:53 +0000 (GMT) (envelope-from michael.hopkins@hopkins-research.com) Received: from 83-216-132-201.markch725.adsl.metronet.co.uk ([83.216.132.201] helo=[192.168.0.4]) by neon.webfusion.co.uk with asmtp (Exim 3.36 #1) id 1EPH4h-0007Pf-00; Tue, 11 Oct 2005 11:09:35 +0100 User-Agent: Microsoft-Entourage/11.1.0.040913 Date: Tue, 11 Oct 2005 11:05:51 +0100 From: Michael Hopkins To: Adam Weinberger Message-ID: In-Reply-To: <434B2940.2020008@FreeBSD.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: bpm 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: Tue, 11 Oct 2005 10:05:55 -0000 On 11/10/05 03:53, "Adam Weinberger" wrote: > Michael Hopkins wrote: >> >> Hi all >> >> I have been enjoying the use of bpm for some time now as my way of >> navigating the ports collection on FreeBSD. >> >> For some reason today it crashed with a core dump about 3/4 of the way >> through updating its' database when I first ran it. This happened several >> times in a row, even after a reboot, so I suspected the ports database may >> have got corrupted and did a 'pkgdb -F' and a 'cd /usr/ports/; make >> fetchindex' but still no joy with bpm. I have not made any changes to the >> system recently and I'm on AMD64 FreeBSD 5.4-RELEASE-p7 #2 >> >> Does anyone have any ideas that would help get it running again? Maybe it >> has a database somewhere that can be renovated. Alternatively, are there >> any other ports that offer a GUI interface for working with ports? >> >> Many thanks >> >> Michael > > Michael - > > Seth, the maintainer of sysutils/bpm, is a really good guy who sometimes > just needs a kick in the behind to fix bpm-related problems. I'm sure > that if you send him an email with a more detailed report and a > backtrace of the core dump, he'll be very responsive in fixing the problem. > > One problem with bpm is that whenever the INDEX structure changes, bpm's > code needs to be updated accordingly. > > # Adam > Hi Adam Yes I did mail him and he responded quickly. However, this is what happened subsequently... ===================================================== Thanks for the quick reply Seth. I just discovered the command 'portsdb -uU' which is what I thought I was doing when I ran 'pkgdb -F' but obviously not! Output was this: ======================= Updating the ports index ... Generating INDEX.tmp - please wait.."/usr/ports/Mk/bsd.port.mk", line 2890: warning: duplicate script for target "checksum" ignored Warning: Duplicate INDEX entry: freeciv-gtk2-2.0.2 Warning: Duplicate INDEX entry: cvsup-without-gui-16.1h_2 Done. done [Updating the portsdb in /usr/ports ... - 13334 port entries found .........1000.........2000.........3000.........4000.........5000.........60 00.........7000.........8000.........9000.........10000.........11000....... ..12000.........13000... ..... done] ======================== And now bpm is working fine again. Cool! Thanks Michael ===================================================== He noted this in his reply. I have since realised that it has 'lost track' of some ports that I know are installed - whether this is bpm itself or the use of 'portsdb -uU' I don't know, but it's not a big problem for me. M _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ _/ _/_/_/ Hopkins Research Ltd _/ _/ _/ _/ _/_/_/_/ _/_/_/ http://www.hopkins-research.com/ _/ _/ _/ _/ _/ _/ _/ _/ 'touch the future' _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/