Date: Thu, 9 Sep 2004 14:04:49 +0300 From: Ion-Mihai Tetcu <itetcu@people.tecnik93.com> To: Michael Barrett <mike.freebsd@daboyz.org> Cc: freebsd-ports@freebsd.org Subject: Re: portversion -v causes ruby to core dump Message-ID: <20040909140449.0db48f56@it.buh.tecnik93.com> In-Reply-To: <20040909075828.GA83562@daboyz.org> References: <20040909075828.GA83562@daboyz.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 9 Sep 2004 00:58:28 -0700 Michael Barrett <mike.freebsd@daboyz.org> 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 <format:bdb1_btree> 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 :-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040909140449.0db48f56>