Re: Pb with portupgrade
Olivier Gautherot wrote: Hi folks! I have a problem with the ports tree: every time I run pkgdb, portversion and some others, the command dies with the following error (don't worry about the stale dependency: I've installed cdrtools-cjk, which is required for the GNOME upgrade... forget it for now). I followed the hints in /usr/ports/UPDATING but no luck. The error message goes: Stale dependency: cdbakeoven-1.8.9_6 - cdrtools-2.01 (sysutils/cdrtools): cdrdao-1.1.9 (score:20%) ? ([y]es/[n]o/[a]ll) [no] /usr/local/lib/ruby/1.8/i386-freebsd5/readline.so: /usr/local/lib/ruby/1.8/i386-freebsd5/readline.so: Undefined symbol rl_completer_quote_characters - /usr/local/lib/ruby/1.8/i386-freebsd5/readline.so (LoadError) from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:364:in `choose_from_options' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:363:in `loop' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:363:in `choose_from_options' from /usr/local/sbin/pkgdb:985:in `input_pkg' from /usr/local/sbin/pkgdb:803:in `query_dep_fix' from /usr/local/sbin/pkgdb:580:in `fix_dependencies' from /usr/local/sbin/pkgdb:564:in `each' from /usr/local/sbin/pkgdb:564:in `fix_dependencies' from /usr/local/sbin/pkgdb:339:in `fix_db_phase1' from /usr/local/sbin/pkgdb:335:in `each' from /usr/local/sbin/pkgdb:335:in `fix_db_phase1' from /usr/local/sbin/pkgdb:285:in `fix_db' from /usr/local/sbin/pkgdb:231:in `main' from /usr/local/sbin/pkgdb:64:in `initialize' from /usr/local/sbin/pkgdb:64:in `new' from /usr/local/sbin/pkgdb:64:in `main' from /usr/local/sbin/pkgdb:1043 bash-2.05b$ For some reason, ruby18 seems to have an issue with a faulty library. Any clue of how to fix it? Please copy me on answers as I'm not subscribed to the list. Thanks in advance portupgrade and friends depend on ruby. You can try updating ruby like so: make deinstall distclean make reinstall, then do the same for portupgrade all after a cvsup for your ports. Or just use portmanager. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Pb with portupgrade
Hi folks! I have a problem with the ports tree: every time I run pkgdb, portversion and some others, the command dies with the following error (don't worry about the stale dependency: I've installed cdrtools-cjk, which is required for the GNOME upgrade... forget it for now). I followed the hints in /usr/ports/UPDATING but no luck. The error message goes: Stale dependency: cdbakeoven-1.8.9_6 - cdrtools-2.01 (sysutils/cdrtools): cdrdao-1.1.9 (score:20%) ? ([y]es/[n]o/[a]ll) [no] /usr/local/lib/ruby/1.8/i386-freebsd5/readline.so: /usr/local/lib/ruby/1.8/i386-freebsd5/readline.so: Undefined symbol rl_completer_quote_characters - /usr/local/lib/ruby/1.8/i386-freebsd5/readline.so (LoadError) from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:364:in `choose_from_options' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:363:in `loop' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:363:in `choose_from_options' from /usr/local/sbin/pkgdb:985:in `input_pkg' from /usr/local/sbin/pkgdb:803:in `query_dep_fix' from /usr/local/sbin/pkgdb:580:in `fix_dependencies' from /usr/local/sbin/pkgdb:564:in `each' from /usr/local/sbin/pkgdb:564:in `fix_dependencies' from /usr/local/sbin/pkgdb:339:in `fix_db_phase1' from /usr/local/sbin/pkgdb:335:in `each' from /usr/local/sbin/pkgdb:335:in `fix_db_phase1' from /usr/local/sbin/pkgdb:285:in `fix_db' from /usr/local/sbin/pkgdb:231:in `main' from /usr/local/sbin/pkgdb:64:in `initialize' from /usr/local/sbin/pkgdb:64:in `new' from /usr/local/sbin/pkgdb:64:in `main' from /usr/local/sbin/pkgdb:1043 bash-2.05b$ For some reason, ruby18 seems to have an issue with a faulty library. Any clue of how to fix it? Please copy me on answers as I'm not subscribed to the list. Thanks in advance -- Olivier Gautherot [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
pb with portupgrade (segfault or cannot allocate memory)
Hi, Since I don't really know where the relevant place to post this is, I thought it would be ok there. If it's not the case, I would be glad someone would transfer it to the right location :) I had a deep use of portupgrade/portinstall this morning. Everything was working pretty good (at least, it used to have the behaviour I was expecting), but after 2 hours, I got this : 10:45 [EMAIL PROTECTED] /usr/ports# portupgrade -P gnomevfs2-2.8.3_1 [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 561 packages found (-1 +0) (...)[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 561 packages found (-1 +0) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:467: [BUG] Segmentation fault ruby 1.8.2 (2004-07-29) [i386-freebsd5] zsh: abort portupgrade -P gnomevfs2-2.8.3_1 10:46 [EMAIL PROTECTED] /usr/ports# portupgrade -P gnomevfs2 [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 561 packages found (-1 +0) (...)[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 561 packages found (-1 +0) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:239:in `origin': Cannot allocate memory: Cannot update the pkgdb!] (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:178:in `origin' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:913:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933:in `sort_build!' from /usr/local/sbin/portupgrade:674:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1845 zsh: exit 1 portupgrade -P gnomevfs2 Any idea ? I cannot figure why it suddently segfaulted, and why the errors are not at the same line. Thx -- Grégory ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pb with portupgrade (segfault or cannot allocate memory)
On Wed, Jan 26, 2005 at 10:56:51AM +0100, Gregory Nou wrote: Hi, Since I don't really know where the relevant place to post this is, I thought it would be ok there. If it's not the case, I would be glad someone would transfer it to the right location :) I had a deep use of portupgrade/portinstall this morning. Everything was working pretty good (at least, it used to have the behaviour I was expecting), but after 2 hours, I got this : 10:45 [EMAIL PROTECTED] /usr/ports# portupgrade -P gnomevfs2-2.8.3_1 [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 561 packages found (-1 +0) (...)[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 561 packages found (-1 +0) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:467: [BUG] Segmentation fault ruby 1.8.2 (2004-07-29) [i386-freebsd5] /usr/ports/UPDATING Kris pgpNdM2IWeRXq.pgp Description: PGP signature