From owner-freebsd-ports@FreeBSD.ORG Mon Oct 13 13:55:12 2003 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 E431416A4B3 for ; Mon, 13 Oct 2003 13:55:11 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 781AA43FB1 for ; Mon, 13 Oct 2003 13:55:10 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h9DKsqw25951; Mon, 13 Oct 2003 13:54:53 -0700 From: Kent Stewart To: Manfred Antar , Sergey Matveychuk , Peter Ulrich Kruppa Date: Mon, 13 Oct 2003 13:54:52 -0700 User-Agent: KMail/1.5.4 References: <20031013164520.E704@pukruppa.net> <200310131016.00829.kstewart@owt.com> <6.0.0.22.2.20031013111658.03248dd0@pozo.com> In-Reply-To: <6.0.0.22.2.20031013111658.03248dd0@pozo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310131354.52579.kstewart@owt.com> cc: freebsd-ports@freebsd.org Subject: Re: Problem with portupgrade & ruby 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: Mon, 13 Oct 2003 20:55:12 -0000 On Monday 13 October 2003 11:22 am, Manfred Antar wrote: > At 10:16 AM 10/13/2003, Kent Stewart wrote: > >On Monday 13 October 2003 09:09 am, Manfred Antar wrote: > >> At 08:37 AM 10/13/2003, Sergey Matveychuk wrote: > >> >Peter Ulrich Kruppa wrote: > >> >>pukruppa# portupgrade -R gnome2 > >> >>[Updating the pkgdb in /var/db/pkg ... - 321 > >> >>packages found (-9 +17) > >> >>(...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:469:in `each': > >> >>negative allocation size (or too big) (NoMemoryError) > >> >> from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:469:in > >> >>`select' > >> > > >> >try 'pkgdb -fu' to fix it. > >> > > >> >-- > >> >Sem. > >> > >> I'm seeing the same thing here. > >> It worked fine yesterday !!! > >> I can't think of any thing I've changed : > >> > >> Connecting to cvsup10.FreeBSD.org > >> Connected to cvsup10.FreeBSD.org > >> Server software version: SNAP_16_1e > >> Negotiating file attribute support > >> Exchanging collection information > >> Establishing multiplexed-mode data connection > >> Running > >> Updating collection ports-all/cvs > >> Checkout ports/INDEX-5 > > > >The current INDEX-5 is 8 weeks old. If you didn't rebuild INDEX-5 > > and INDEX.db to make them current with your ports-all, you are > > using really old versions that are inconsistent with your port > > tree. > > > >Kent > > > >> Shutting down connection to server > >> Finished successfully > >> (ports)5165}pkgdb -fu > >> ---> Updating the pkgdb > >> [Rebuilding the pkgdb in /var/db/pkg ... - 728 > >> packages found (-0 +728) > >> .................................................................. > >>... > >> > >>................................................................... > >>... > >> .................................................................. > >>.... ............................. done] (ports)5166}portupgrade > >> -iav ---> Session started at: Mon, 13 Oct 2003 09:04:26 -0700 > >> ---> Session ended at: Mon, 13 Oct 2003 09:06:23 -0700 (consumed > >> 00:01:57) /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:325:in > >> `deorigin': failed to convert nil into String (PkgDB::DBError) > >> from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:918:in > >> `tsort_build' from > >> /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `each' from > >> /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:917:in `tsort_build' > >> from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `each' from > >> /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:909:in `tsort_build' > >> from /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:931:in > >> `sort_build' from > >> /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:935:in `sort_build!' > >> from /usr/local/sbin/portupgrade:674:in `main' > >> from /usr/local/sbin/portupgrade:207:in `initialize' > >> from /usr/local/sbin/portupgrade:207:in `new' > >> from /usr/local/sbin/portupgrade:207:in `main' > >> from /usr/local/sbin/portupgrade:1846 > >> Maybe it's the Index-5 file > > The thing is I do that daily in a cron job > portsdb -Uu > Today perl dumped core while doing it. > So I checked out the Index-5 from cvsup > It' worked fine yesterday with an Index-5 built in the morning. > I'll reinstall perl and ruby > and see if that make a difference That has been fixed. Recvsup ports-all. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html