From owner-freebsd-ports@FreeBSD.ORG Fri Jul 16 22:51:08 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 0EA3E16A4CE for ; Fri, 16 Jul 2004 22:51:08 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3EB843D41 for ; Fri, 16 Jul 2004 22:51:07 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i6GMoBH5012895; Fri, 16 Jul 2004 15:50:11 -0700 From: Kent Stewart To: freebsd-ports@freebsd.org Date: Fri, 16 Jul 2004 15:51:05 -0700 User-Agent: KMail/1.6.2 References: <20040716184912.GA13209@wedge.madpilot.net> In-Reply-To: <20040716184912.GA13209@wedge.madpilot.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407161551.05456.kstewart@owt.com> cc: Guido Falsi Subject: Re: portupgrade error 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: Fri, 16 Jul 2004 22:51:08 -0000 On Friday 16 July 2004 11:49 am, Guido Falsi wrote: > Hello! > > I'm experiencing a strange erro message fro portupgrade: > > wedge# portupgrade -a > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:323:in `deorigin': cannot > convert nil into String (PkgDB::DBError) from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:916:in `tsort_build' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `each' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `tsort_build' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build' from > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933: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:1845 > > I've looked around the mailing list archives and tried all the > proposed solutions... rebuilding ruby and portupgrade from scratch, > deleting and rebuilding all ports and pkg related databases, > recvupping the ports tree from scratch(I have an empty refuse file). This looks like the problem that portupgrade was having a while back. If you can't portupgrade portupgrade, delete it and build it from scratch. Ruby and been updated and you might as well start with it. Kent > > None worked and I'm really out of ideas. Anyone can help? > > The machine is a -current cvsupped on Jul 13, but I don't think this > is the cause of the problem. > > for reference: > > wedge# uname -a > FreeBSD wedge.madpilot.net 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue > Jul 13 16:27:54 CEST 2004 > root@wedge.madpilot.net:/usr/obj/usr/src/sys/WEDGE i386 > > > Thanks in advance for any kind of suggestion! -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html