Hey all, I haven't updated my ports for a few weeks and after after a recent cvsup of world and the ports tree I tried to run portupgrade -aCC and was displayed with the following: n /var/db/pkg ... - 318 packages found (-8 +6) (...)/usr/local/lib/ruby/site_ruby/1.6/ports.rb:4:in `require': /usr/loc al/lib/ruby/site_ruby/1.6/portinfo.rb:98: unterminated string meets end of file (SyntaxError) /usr/local/lib/ruby/site_ruby/1.6/portinfo.rb:98: parse error from /usr/local/lib/ruby/site_ruby/1.6/ports.rb:4 from /usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb:25:in `require' from /usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb:25 from /usr/local/sbin/pkgdb:35:in `require' from /usr/local/sbin/pkgdb:35 /usr/local/lib/ruby/site_ruby/1.6/dl/types.rb:124: [BUG] Segmentation fault ruby 1.6.8 (2003-03-26) [i386-freebsd5] [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 318 packages found (-8 +6) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:241:in `origin': Invalid argument: Cannot update the pkgdb!] (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:178:in `origin' from /usr/local/sbin/portversion:301:in `check_pkgs' from /usr/local/sbin/portversion:300:in `each' from /usr/local/sbin/portversion:300:in `check_pkgs' from /usr/local/sbin/portversion:260:in `main' from /usr/local/sbin/portversion:77:in `initialize' from /usr/local/sbin/portversion:77:in `new' from /usr/local/sbin/portversion:77:in `main' from /usr/local/sbin/portversion:347 Below are the seg faults caused from above: Sep 6 15:06:43 nova kernel: pid 69492 (ruby), uid 0: exited on signal 6 (core dumped) Sep 6 15:08:04 nova kernel: pid 75934 (ruby), uid 0: exited on signal 6 (core dumped) Sep 6 15:08:49 nova kernel: pid 79479 (ruby), uid 0: exited on signal 6 (core dumped) I removed /var/db/pkg/ruby* and portupgrade and reinstall installed them but I get the same. Running portversion gets a hang portsdb -uU seemed to work ok. pkgdb -F returns: --> Checking the package registry database [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 316 packages found (-10 +6) (...)Invalid argument: Cannot update the pkgdb!] My uname -a retruns: FreeBSD nova 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Sep 6 09:03:57 EST 2003 agh_at_nova:/usr/obj/usr/src/sys/NOVA i386 -AlReceived on Fri Sep 05 2003 - 22:05:02 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC