[BSD] portupgrade - ruby bug?
Marton Kenyeres
mkenyeres at konvergencia.hu
2004. Nov. 25., Cs, 13:52:57 CET
On Thursday 25 November 2004 13:46, Fehér János wrote:
> Sziasztok!
>
> Ilyet csinál nekem a drága 4.9-es FreeBSD alatt (aktuális
> ruby és portupgrade)
>
> # portsdb -u
> [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11993
> port entries found
> .........1000.........2000.........3000.........4000.........5000....
>...../usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: [BUG]
> Segmentation fault ruby 1.8.1 (2003-12-25) [i386-freebsd4]
>
> Abort (core dumped)
>
> Mi fájhat neki? Mindig u.ott fagy szét.
/usr/ports/UPDATING
20041118:
AFFECTS: users of sysutils/portupgrade
AUTHOR: lofi at freebsd.org
portsdb(1) is part of the portupgrade suite and is used to convert a
ports
INDEX file to a binary INDEX.db database. By default, it uses the
libc-builtin berkeley db to do so, which has a buggy btree
implementation.
If you see errors like "[BUG] Segmentation fault" while a portsdb
update is
in progress, adjust the PORTS_DBDRIVER variable (in your environment
or in
pkgtools.conf) to either bdb1_hash or dbm_hash.
This problem was fixed in 5.3-RELEASE, but users of 4.10-RELEASE and
5.2.1-RELEASE (and older releases) will find fixes by updating to the
latest (at least after Sep 20) of RELENG_4 or RELENG_5.
udv,
m.
További információk a(z) BSD levelezőlistáról