From owner-freebsd-ports@FreeBSD.ORG Thu Sep 9 11:04:58 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 CB18B16A4CE for ; Thu, 9 Sep 2004 11:04:58 +0000 (GMT) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0244443D45 for ; Thu, 9 Sep 2004 11:04:58 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with SMTP id 422C241E; Thu, 9 Sep 2004 14:04:50 +0300 (EEST) Date: Thu, 9 Sep 2004 14:04:49 +0300 From: Ion-Mihai Tetcu To: Michael Barrett Message-ID: <20040909140449.0db48f56@it.buh.tecnik93.com> In-Reply-To: <20040909075828.GA83562@daboyz.org> References: <20040909075828.GA83562@daboyz.org> X-Mailer: Sylpheed-Claws 0.9.12a (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-ports@freebsd.org Subject: Re: portversion -v causes ruby to core dump 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: Thu, 09 Sep 2004 11:04:59 -0000 On Thu, 9 Sep 2004 00:58:28 -0700 Michael Barrett wrote: > Hi, I just recently cvsup'd to the latest ports tree. After > doing so, I ran portsdb -uU to make sure everything was kosher. > After doing that however, whenever I run: > > #portversion -v > > I get the following: > > [Failed `Inappropriate file type or format'] [Updating the portsdb in /usr/ports ... - 11734 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000..../usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: [BUG] Segmentation fault ruby 1.8.2 (2004-07-29) [i386-freebsd4] > > Abort trap (core dumped) > > I hacked around the portsdb.rb ruby file a little (as best I > could, I don't know ruby at all) and added the following line > just before line 587: > > STDERR.print pkgname > > That revealed that it was bailing on the following line in the > /usr/ports/INDEX file: > > py23-PyGreSQL-3.5,1|/usr/ports/databases/py-PyGreSQL|/usr/local|A Python interface to PostgreSQL, both classic and DP-API 2.0|/usr/ports/databases/py-PyGreSQL/pkg-descr|girgen@pingpong.net|databases python|expat-1.95.8 gettext-0.13.1_1 libgnugetopt-1.2 libiconv-1.9.2_1 postgresql-7.4.5 py23-mx-base-2.0.5 python-2.3.4_2|expat-1.95.8 gettext-0.13.1_1 libgnugetopt-1.2 libiconv-1.9.2_1 postgresql-7.4.5 py23-mx-base-2.0.5 python-2.3.4_2|http://www.druid.net/pygresql/ ( If you are wtight and py23... is the problem then :) It also chokes on this: py23-PyGreSQL-3.4_1,1|/usr/ports/databases/py-PyGreSQL|/usr/local|A Python interface to PostgreSQL, both classic interface and DP-API 2.0|/usr/ports/databases/py-PyGreSQL/pkg-descr|girgen@pingpong.net|databases python|expat-1.95.8 gettext-0.13.1_1 libiconv-1.9.2_1 openssl-0.9.7d_1 postgresql-7.4.3 py23-mx-base-2.0.5 python-2.3.4_2|expat-1.95.8 gettext-0.13.1_1 libiconv-1.9.2_1 openssl-0.9.7d_1 postgresql-7.4.3 py23-mx-base-2.0.5 python-2.3.4_2|http://www.druid.net/pygresql/||| But not on this two: py23-PyGreSQL-3.4_1,1|/usr/ports/databases/py-PyGreSQL|/usr/local|A Python interface to PostgreSQL, both classic interface and DP-API 2.0|/usr/ports/databases/py-PyGreSQL/pkg-descr|girgen@pingpong.net|databases python|gettext-0.13.1_1 libiconv-1.9.2_1 openssl-0.9.7d_1 postgresql-7.4.3 py23-mx-base-2.0.5 python-2.3.4_2|gettext-0.13.1_1 libiconv-1.9.2_1 openssl-0.9.7d_1 postgresql-7.4.3 py23-mx-base-2.0.5 python-2.3.4_2|http://www.druid.net/pygresql/||| py23-PyGreSQL-3.4_1,1|/usr/ports/databases/py-PyGreSQL|/usr/local|A Python interface to PostgreSQL, both classic interface and DP-API 2.0|/usr/ports/databases/py-PyGreSQL/pkg-descr|girgen@pingpong.net|databases python|gettext-0.13.1_1 libiconv-1.9.2_1 openssl-0.9.7d_1 postgresql-7.4.3 py23-mx-base-2.0.5 python-2.3.4_2|gettext-0.13.1_1 libiconv-1.9.2_1 openssl-0.9.7d_1 postgresql-7.4.3 py23-mx-base-2.0.5 python-2.3.4_2|http://www.druid.net/pygresql/||| -- IOnut Unregistered ;) FreeBSD "user" 5.3-BETA3 - try `sysctl debug.witness_watch=0` and prepare to fly :-)