From owner-freebsd-current@FreeBSD.ORG Sat Sep 6 00:05:02 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D071B16A4BF for ; Sat, 6 Sep 2003 00:05:02 -0700 (PDT) Received: from mail2.tpgi.com.au (mail.tpgi.com.au [203.12.160.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 420FF43FF9 for ; Sat, 6 Sep 2003 00:04:46 -0700 (PDT) (envelope-from agh@tpg.com.au) Received: from 192.168.0.2 (220-244-72-6.tpgi.com.au [220.244.72.6]) by mail2.tpgi.com.au (8.12.9/8.12.9) with ESMTP id h8674EBF002937 for ; Sat, 6 Sep 2003 17:04:19 +1000 From: "Alastair G. Hogge" To: freebsd-current@FreeBSD.ORG Date: Sat, 6 Sep 2003 16:10:56 +1000 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309061610.56818.agh@tpg.com.au> X-Kaspersky-Antivirus: Passed Subject: Portupgrade problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2003 07:05:02 -0000 Hey all, I haven't updated my ports for a few weeks and after after a recent cvsup of world and the ports tree I tried to run portupgrade -aCC and was displayed with the following: n /var/db/pkg ... - 318 packages found (-8 +6) (...)/usr/local/lib/ruby/site_ruby/1.6/ports.rb:4:in `require': /usr/loc al/lib/ruby/site_ruby/1.6/portinfo.rb:98: unterminated string meets end of file (SyntaxError) /usr/local/lib/ruby/site_ruby/1.6/portinfo.rb:98: parse error from /usr/local/lib/ruby/site_ruby/1.6/ports.rb:4 from /usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb:25:in `require' from /usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb:25 from /usr/local/sbin/pkgdb:35:in `require' from /usr/local/sbin/pkgdb:35 /usr/local/lib/ruby/site_ruby/1.6/dl/types.rb:124: [BUG] Segmentation fault ruby 1.6.8 (2003-03-26) [i386-freebsd5] [Updating the pkgdb in /var/db/pkg ... - 318 packages found (-8 +6) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:241:in `origin': Invalid argument: Cannot update the pkgdb!] (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:178:in `origin' from /usr/local/sbin/portversion:301:in `check_pkgs' from /usr/local/sbin/portversion:300:in `each' from /usr/local/sbin/portversion:300:in `check_pkgs' from /usr/local/sbin/portversion:260:in `main' from /usr/local/sbin/portversion:77:in `initialize' from /usr/local/sbin/portversion:77:in `new' from /usr/local/sbin/portversion:77:in `main' from /usr/local/sbin/portversion:347 Below are the seg faults caused from above: Sep 6 15:06:43 nova kernel: pid 69492 (ruby), uid 0: exited on signal 6 (core dumped) Sep 6 15:08:04 nova kernel: pid 75934 (ruby), uid 0: exited on signal 6 (core dumped) Sep 6 15:08:49 nova kernel: pid 79479 (ruby), uid 0: exited on signal 6 (core dumped) I removed /var/db/pkg/ruby* and portupgrade and reinstall installed them but I get the same. Running portversion gets a hang portsdb -uU seemed to work ok. pkgdb -F returns: --> Checking the package registry database [Updating the pkgdb in /var/db/pkg ... - 316 packages found (-10 +6) (...)Invalid argument: Cannot update the pkgdb!] My uname -a retruns: FreeBSD nova 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Sep 6 09:03:57 EST 2003 agh@nova:/usr/obj/usr/src/sys/NOVA i386 -Al