bmw
July 18th, 2005, 09:35
Anyone else here seeing this since late last week?
hardbop# portsdb -Fu
INDEX.bz2 100% of 663 kB 124 kBps
done
[Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 13210 port entries
found .........1000.........2000.........3000.........40 00.........5000........
.6000.........7000.........8000.........9000...... ...10000.........11000........
./usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:613: [BUG] Segmentation fault
ruby 1.8.2 (2004-12-25) [i386-freebsd4]

Abort (core dumped)
hardbop#
This is FreeBSD 4.10. I'm seeing it on two very similar systems. On a third box, where ruby is still back at 1.8.1_2, it's working fine. Most puzzling!

Anyone know of a fix? I've already run pkgdb -fu with no effect.

Kernel_Killer
July 18th, 2005, 10:19
What build of portupgrade? That's very odd, but I've seen them release portupgrade a few time without fully testing. :frown:

bmw
July 18th, 2005, 10:27
It's portupgrade-20041226_2
Seems to be the latest. I haven't touched it since Apr 21 (according to /var/db/pkg)

Strog
July 18th, 2005, 17:08
The most recent thing I could find in /usr/ports/UPDATING refering to Ruby is the following. If your build still has thread support compiled in then I wouldn't be suprised if you found some of the trouble this refers to. If your Ruby doesn't have thread support still compiled in then I'm not sure what is up there. :rolleyes:

20050224:
AFFECTS: users of lang/ruby18 and any apps that depend on ruby18
AUTHOR: mezz@FreeBSD.org

The theads support has been disabled again. It causes the more trouble, so
it now builds with ${PTHREAD_CFLAGS} and ${PTHREAD_LIBS}. It is recommend
you to rebuild any apps that depend on lang/ruby18. Do something like this:

portupgrade -rf ruby-1.8.2\*

bmw
July 20th, 2005, 11:36
Well, happy ending:

INDEX.bz2 663 kB 144 kBps
[Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 13218 port entries found .........1000.........2000.........3000.........40 00.........5000.........6000.........7000......... 8000.........9000.........10000.........11000..... ....12000.........13000.. ..... done]

Last night's cvsup Just Worked [tm]. I like when problems fix themselves. ;-)