From owner-freebsd-ports@FreeBSD.ORG Wed Sep 8 23:35:29 2004 Return-Path: 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 192CE16A4CE for ; Wed, 8 Sep 2004 23:35:29 +0000 (GMT) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9195743D1F for ; Wed, 8 Sep 2004 23:35:28 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with SMTP id 7D5A3199; Thu, 9 Sep 2004 02:35:26 +0300 (EEST) Date: Thu, 9 Sep 2004 02:35:26 +0300 From: Ion-Mihai Tetcu To: Rob B Message-ID: <20040909023526.03fe04bd@it.buh.tecnik93.com> In-Reply-To: <6.1.2.0.2.20040909092123.023f79f0@mail.nerdshack.com> References: <20040906143153.N44103@atlantis.atlantis.dp.ua> <20040906125305.7f577034@vixen42.24-119-122-191.cpe.cableone.net> <413CA557.5090205@makeworld.com> <200409070649.11417.michaelnottebrock@gmx.net> <413E4849.7060200@kutulu.org> <6.1.2.0.2.20040909092123.023f79f0@mail.nerdshack.com> X-Mailer: Sylpheed-Claws 0.9.12a (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: ports@freebsd.org Subject: Re: portsdb and ruby bug on 4-STABLE X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2004 23:35:29 -0000 On Thu, 09 Sep 2004 09:22:33 +1000 Rob B wrote: > At 09:46 AM 8/09/2004, Mike Edenfield wrote: > >Michael Nottebrock wrote: > > > >>A better workaround is this: > >>1.) Install the databases/ruby-bdb port. > >>2.) Set an environment variable PORTS_DBDRIVER to bdb-btree (or bdb_hash) > >>This will change the portsdb's database backend from the libc-builtin > >>bdb1 to a later berkeley db (you can set which one via the WITH_BDB_VER > >>switch in the ruby-bdb port). > >>You can also change the driver for pkgdb by setting PKG_DBDRIVER. > > > >IMO, this is the best solution so far. So I would like to mention that > >the easiest way to do this would be to add the following lines to your > >/usr/local/etc/pkgtools.conf: > > > >ENV['PORTS_DBDRIVER'] = 'bdb_btree' > >ENV['PKG_DBDRIVER'] = 'bdb_btree' > > > >This way, all of the package tools will always see the replacement driver, > >regardless of the state of the environment when you run them :) > > For the record - Alpha arch does not exhibit this problem. This is on both > 5.3-BETA and 4.10-STABLE How sure are you ? I have a 5.3-BETA3 that's OK, a 5.2.1R that's not and one that's OK (all i386). The only difference between them is that the one on which portsdb crashes is from CD and the other are upgraded by source. -- IOnut Unregistered ;) FreeBSD "user" 5.3-BETA3 - try `sysctl debug.witness_watch=0` and prepare to fly :-)