From owner-freebsd-ports@FreeBSD.ORG Tue Sep 7 04:49:18 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 9107C16A4CE for ; Tue, 7 Sep 2004 04:49:18 +0000 (GMT) Received: from meitner.wh.uni-dortmund.de (meitner.wh.uni-dortmund.de [129.217.129.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id E63F143D31 for ; Tue, 7 Sep 2004 04:49:17 +0000 (GMT) (envelope-from michaelnottebrock@gmx.net) Received: from lofi.dyndns.org (pc2-105.intern.meitner [10.3.12.105]) by meitner.wh.uni-dortmund.de (Postfix) with ESMTP id 06CF61674EE; Tue, 7 Sep 2004 06:49:17 +0200 (CEST) Received: from kiste.my.domain (lofi@kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id i874nC6o037671 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 7 Sep 2004 06:49:13 +0200 (CEST) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: freebsd-ports@freebsd.org Date: Tue, 7 Sep 2004 06:49:06 +0200 User-Agent: KMail/1.7 References: <20040906143153.N44103@atlantis.atlantis.dp.ua> <20040906125305.7f577034@vixen42.24-119-122-191.cpe.cableone.net> <413CA557.5090205@makeworld.com> In-Reply-To: <413CA557.5090205@makeworld.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4629245.fTgYiEcceE"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200409070649.11417.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new cc: Dmitry Pryanishnikov cc: Chris cc: Vulpes Velox 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: Tue, 07 Sep 2004 04:49:18 -0000 --nextPart4629245.fTgYiEcceE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 06 September 2004 19:58, Chris wrote: > > fix it using rm INDEX* and then rebuild the index using portindex and > > then rebuild the INDEX.db using portindexdb. Port upgrade now works > > again. I have not seen this problem on for X, but did once on > > 5.3beta3. > This is an ongoing issue. It's appeard in 5.2.1-RELEASE also. To see > just how many users ARE getting this, simply search the list Here, and > in Questions for just the past 7 days. > > This IS an issue with 4.10, 5.2.1, and 5.XBeta > > The fix you mention DOES work, however, once you cvsup, run portsdb -u, > its broken again. I have tested several ways around this over the last > 3 days. 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=20 a later berkeley db (you can set which one via the WITH_BDB_VER switch in t= he=20 ruby-bdb port). You can also change the driver for pkgdb by setting PKG_DBDRIVER. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart4629245.fTgYiEcceE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQBBPT3HXhc68WspdLARAi6yAJ9ZlINMZJiFdnNOMDLUFZI/Bi/1kQCgggA0 oGpn/XQmp6UKfeu+KRJSEfI= =ahXT -----END PGP SIGNATURE----- --nextPart4629245.fTgYiEcceE--