Date: Fri, 9 Jul 2004 00:09:47 -0400 From: epilogue <epilogue@allstream.net> To: hsn@netmag.cz, freebsd-ports@freebsd.org Cc: radek@raadradd.com Subject: portindex causes ruby to dump core Message-ID: <20040709000947.384f0b18@localhost> In-Reply-To: <20040708234611.1dc31e92@localhost> References: <20040708234611.1dc31e92@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
hello radim / ports, i can confirm radek's report below. i'm using portindex on 4.10. for me, the problem is intermittent. with some sup's it goes away and with others it is present. go figure. i just upgraded from portindex 12 to 13. at the moment, i am unable to use the portupgrade suite of tools and even some of the portindex tools. # portversion -v [Failed `Inappropriate file type or format'] [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11215 port entries found .........1000.........2000.........3000.........4000...../usr/local/lib/ru by/site_ruby/1.8/portsdb.rb:587: [BUG] Segmentation fault ruby 1.8.1 (2004-05-02) [i386-freebsd4] Killed <<<< note that on my machine, ruby doesn't dump core like Radek's. i had to manually kill it. # python /usr/local/share/portindex/minorupdates.py [Failed `Inappropriate file type or format'] [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11215 port entries found .........1000./usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587: [BUG] Segmentation fault ruby 1.8.1 (2004-05-02) [i386-freebsd4] Error parsing line: Abort trap (core dumped) # uname -mrs FreeBSD 4.10-RELEASE-p2 i386 # pkg_info | grep -i ruby ruby-1.8.1.2004.05.02 An object-oriented interpreted scripting language ruby18-bdb1-0.2.2 Ruby interface to Berkeley DB revision 1.8x with full hope this helps. cheers, epi p.s. as stated by Radek, portsdb -U fixes the problem. > On both of my two 4.10 boxes (one -RELEASE and one -STABLE) > /usr/ports/INDEX generated by portindex causes trouble to > portupgrade/portversion. I had no trouble with portindex on my -CURRENT > laptop, so I'm not sure whether it depends on what ports are installed > or the system version (or both). Below is the output: > > root at biggie:/usr/sup# portindex > [snip] > Saving status data ... ok! > Expanding dependences ... done > Building /usr/ports/INDEX > Duplicate entry freeciv-gtk-1.14.1 in both /usr/ports/games/freeciv and > /usr/ports/games/freeciv-gtk > 11189 total entries > 1 duplicated entries discarded > 0 ports with unresolved depends kept > root at biggie:/usr/sup# portversion -vl "<" > [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11189 port > entries found > .........1000.........2000.........3000.........4000.........5000....... > .. > 6000.........7000.........8000.........9000.........10000....../usr/loca > l/ lib/ruby/site_ruby/1.8/portsdb.rb:587: [BUG] Segmentation fault > ruby 1.8.1 (2004-05-02) [i386-freebsd4] > > Abort (core dumped) > root at biggie:/usr/sup# > > If I create INDEX using portsdb -U the problem goes away. > > -Radek >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040709000947.384f0b18>