From owner-freebsd-questions@FreeBSD.ORG Fri Jan 13 04:51:00 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF7D916A41F for ; Fri, 13 Jan 2006 04:50:59 +0000 (GMT) (envelope-from tuxgirl@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D9F743D46 for ; Fri, 13 Jan 2006 04:50:59 +0000 (GMT) (envelope-from tuxgirl@gmail.com) Received: by wproxy.gmail.com with SMTP id 71so590587wri for ; Thu, 12 Jan 2006 20:50:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=mEdGudCy2T/bj7cjOwtlsUFBeLdlyvqiJFPWytGDHwlxEOGHH69mmUcncetyJ/uc1i7TQkkF5dlk2vwEQEwe/4pRVCwcSEeTuYVx+Z36jFCEBWEUCM0WO34yjou2pQBMx2/rUQbJqLIeD36u2qYy9TF7TceWf2A7Q4XEFI5imp8= Received: by 10.65.251.9 with SMTP id d9mr1729182qbs; Thu, 12 Jan 2006 20:50:58 -0800 (PST) Received: by 10.65.194.16 with HTTP; Thu, 12 Jan 2006 20:50:58 -0800 (PST) Message-ID: <6e4453640601122050k445515bdtbf2940e8b399284f@mail.gmail.com> Date: Thu, 12 Jan 2006 21:50:58 -0700 From: TuxGirl To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: portupgrade and portversion seg-fault in freebsd 6.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2006 04:51:00 -0000 Background: The problem started while i was trying to install evince on my machine. The makefile told me to run gnomelogalyzer.sh to find the problem, and that script didn't see whatever problem was preventing the make, so it said to try a few things (most of which I'd already done), and then to run 'portupgrade -u'. portupgrade -u seg-faulted, and since then portupgrade and portversion have seg-faulted every time I've tried to run them. Here is the output I'm getting: [amon-re /root] portupgrade -aP [Updating the pkgdb in /var/db/pkg ... - 320 packages found (-1 +0) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG] Segmentation fault ruby 1.8.2 (2004-12-25) [i386-freebsd6] zsh: abort (core dumped) portupgrade -aP [amon-re /root] [amon-re /root] portversion -v | grep -v =3D [Updating the pkgdb in /var/db/pkg ... - 320 packages found (-1 +0) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG] Segmentation fault ruby 1.8.2 (2004-12-25) [i386-freebsd6] zsh: abort (core dumped) portversion -v | zsh: exit 1 grep -v =3D [amon-re /root] I googled, and came across the following page: http://www.freshports.org/sysutils/portupgrade/ However, after I attempted fixing it by changing the values of PORTS_DEDRIVER (using 'export PORTS_DEDRIVER=3Ddbm_hash', etc), I noticed that according to this page, the problem only affects versions of freebsd up to 5.3, but I'm using 6.0. If I include "RELEASE-6.0" in my google query, I don't find anything useful. I tried debugging this over IRC with the president of the local bsd users group, but he couldn't see anything immediately wrong. I'll include the output of the commands he had me run. (This was after running portsdb -Fu and portsdb -Uu): [amon-re /root] portversion -v portupgrade [Updating the pkgdb in /var/db/pkg ... - 320 packages found (-1 +0) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG] Segmentation fault ruby 1.8.2 (2004-12-25) [i386-freebsd6] zsh: abort (core dumped) portversion -v portupgrade [amon-re /root] portversion -vR portupgrade [Updating the pkgdb in /var/db/pkg ... - 320 packages found (-1 +0) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG] Segmentation fault ruby 1.8.2 (2004-12-25) [i386-freebsd6] zsh: abort (core dumped) portversion -vR portupgrade [amon-re /root] for i in portupgrade ruby ruby18-bdb1; do pkg_info -Ix $i; = done portupgrade-2.0.1_1,1 FreeBSD ports/packages administration and management tool s ruby-1.8.2_5,1 An object-oriented interpreted scripting language ruby18-bdb4-0.5.7 Ruby interface to Sleepycat's Berkeley DB revision 2 or= lat pkg_info: no packages match pattern(s) [amon-re /root] uname -sr FreeBSD 6.0-RELEASE I'd appreciate any ideas to resolve this problem. Thanks, ~TuxGirl