portversion -v causes ruby to core dump

Ion-Mihai Tetcu itetcu at people.tecnik93.com
Thu Sep 9 04:04:59 PDT 2004


On Thu, 9 Sep 2004 00:58:28 -0700
Michael Barrett <mike.freebsd at 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 at 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 at 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 at 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 at 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 :-)




More information about the freebsd-ports mailing list