From owner-freebsd-current@FreeBSD.ORG Sat Mar 20 11:37:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E10B16A4CE for ; Sat, 20 Mar 2004 11:37:25 -0800 (PST) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8353C43D31 for ; Sat, 20 Mar 2004 11:37:24 -0800 (PST) (envelope-from ws+freebsd-current@au.dyndns.ws) Received: from lillith-iv.ovirt.dyndns.ws (ppp34-232.lns1.adl1.internode.on.net [150.101.34.232])i2KJbMUK080588 for ; Sun, 21 Mar 2004 06:07:23 +1030 (CST) X-Envelope-From: ws+freebsd-current@au.dyndns.ws X-Envelope-To: Received: from [192.168.100.132] ([192.168.100.132])i2KJbK6i095653 for ; Sun, 21 Mar 2004 06:07:21 +1030 (CST) (envelope-from ws+freebsd-current@au.dyndns.ws) From: Wayne Sierke To: freebsd-current@freebsd.org In-Reply-To: <1079805666.673.9.camel@ovirt.dyndns.ws> References: <1079805666.673.9.camel@ovirt.dyndns.ws> Content-Type: text/plain Message-Id: <1079811439.673.19.camel@ovirt.dyndns.ws> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 21 Mar 2004 06:07:20 +1030 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.39 X-Scanned-By: SpamAssassin 2.63 (2004-01-11) X-Scanned-By: F-Prot X-Scanned-By: ClamAV X-Spam-Score: 0 () Subject: Re: Can't upgrade or reinstall p5-XML-Parser port after running portupgrade -f X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 19:37:25 -0000 On Sun, 2004-03-21 at 04:31, Wayne Sierke wrote: > I've been running portupgrade -f on my ports after updating my system > from 5.2-RELEASE to 5.2-CURRENT. Most of them are done but > I was doing a portupgrade -f p5-XML-Parser but it ended badly: > > ... > ===> Registering installation for p5-XML-Parser-2.34_1 > ===> Cleaning for libtool-1.3.5_2 > ===> Cleaning for perl-5.8.2_5 > ===> Cleaning for expat-1.95.7 > ===> Cleaning for p5-XML-Parser-2.34_1 > ---> Cleaning out obsolete shared libraries > Cannot allocate memory > > > Hmm, so I went to try it again: > > # portupgrade -f p5-XML-Parser > ** No such package 'p5-XML-Parser' is installed. > > > Hmm, ok let's install it: > > # portinstall p5-XML-Parser > ** The following packages were not installed or upgraded (*:skipped / !:failed) > ! textproc/p5-XML-Parser (negative string size (or size too big)) > > > Hmm, maybe we can start with the package and upgrade it from there: > > # pkg_add -r p5-XML-Parser > Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-current/Latest/p5-XML-Parser.tbz... Done. > pkg_add: package 'p5-XML-Parser-2.34' or its older version already installed > > > Hmm, ok, let's force the port install: > > # portinstall -f p5-XML-Parser > ** The following packages were not installed or upgraded (*:skipped / !:failed) > ! textproc/p5-XML-Parser (negative string size (or size too big)) > > > Hmm, ok, let's get some help: > > (feel free to fill in this space!) > Additionally: # portversion -v Stale dependency: acme-2.4.2_1 --> p5-XML-Parser-2.34_1 -- manually run 'pkgdb -F' to fix, or specify -O to force. # pkgdb -F ---> Checking the package registry database Duplicated origin: www/mozilla - mozilla-1.6_3,2 mozilla-gtk2-1.5_1 Unregister any of them? [no] Stale dependency: acme-2.4.2_1 -> p5-XML-Parser-2.34_1 (textproc/p5-XML-Parser):negative string size (or size too big) # (Takes a long time and uses a massive amount of memory - this machine with 512M RAM almost never touches swap and even then by the barest amount, running this resulted in around 350M of swap to be used) # portversion -vO /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:334:in `each_key': failed to allocate memory (NoMemoryError) from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:334:in `deorigin_glob' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:183:in `config_include?' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:178:in `each' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:178:in `config_include?' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:168:in `config_held?' from /usr/local/sbin/portversion:310: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