From owner-freebsd-ports@FreeBSD.ORG Fri Jul 15 14:07:59 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 BB5B516A41C; Fri, 15 Jul 2005 14:07:59 +0000 (GMT) (envelope-from tobez@tobez.org) Received: from heechee.tobez.org (heechee.tobez.org [217.157.39.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B77943D45; Fri, 15 Jul 2005 14:07:58 +0000 (GMT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 31843125493; Fri, 15 Jul 2005 16:07:57 +0200 (CEST) Date: Fri, 15 Jul 2005 16:07:57 +0200 From: Anton Berezin To: "Brandon S. Allbery KF8NH" , Michael Nottebrock Message-ID: <20050715140757.GA93241@heechee.tobez.org> Mail-Followup-To: Anton Berezin , "Brandon S. Allbery KF8NH" , Michael Nottebrock , freebsd-ports@freebsd.org, Jake Lloyd References: <42D7AB39.30803@acm.org> <20050715124604.GB84686@heechee.tobez.org> <200507151534.03865.lofi@freebsd.org> <42D7AB39.30803@acm.org> <20050715124604.GB84686@heechee.tobez.org> <1121432061.69679.3.camel@tirun> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200507151534.03865.lofi@freebsd.org> <1121432061.69679.3.camel@tirun> User-Agent: Mutt/1.4.2.1i X-Powered-By: FreeBSD http://www.freebsd.org/ Cc: Jake Lloyd , freebsd-ports@freebsd.org Subject: Re: portupgrade problems on 4.x 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: Fri, 15 Jul 2005 14:07:59 -0000 On Fri, Jul 15, 2005 at 08:54:21AM -0400, Brandon S. Allbery KF8NH wrote: > On Fri, 2005-07-15 at 14:46 +0200, Anton Berezin wrote: > > On Fri, Jul 15, 2005 at 02:25:29PM +0200, Jake Lloyd wrote: > > > [Failed `Inappropriate file type or format'] [Updating the portsdb > > > in /usr/ports ... - 13190 port entries found > > > .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000........./usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:613: > > > [BUG] Segmentation fault > > > ruby 1.8.2 (2004-12-25) [i386-freebsd4] > > > > > > Abort (core dumped) > > > > Just another data point - I also experienced that after ruby upgrade on > > a couple of 4.X systems. > I believe this is a known problem with the Berkeley DB in the base > system which has proved very difficult to track down; nobody's been able > to pin down the exact circumstances in which it's triggered. The > workaround is to tell portupgrade to use a format other than bdb1_btree: > > export PKG_DBDRIVER=bdb1_hash > export PORTS_DBDRIVER=bdb1_hash Yup, that was it, thanks. Funny I did not experience that before on the machines. On Fri, Jul 15, 2005 at 03:33:58PM +0200, Michael Nottebrock wrote: > Looks like the old bug in the base-db. What version of 4.x do these > boxes run exactly? 4.11-Release and later have a fix, earlier versions > don't. Well, in my case it is a tad difficult to say, they are jails with unidentified userland >= 4.8. Thanks, \Anton. -- The moronity of the universe is a monotonically increasing function. -- Jarkko Hietaniemi