Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2006 08:20:41 GMT
From:      Darin Martin <derwood@naebunny.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/91209: Problem with portupgrade 2.0
Message-ID:  <200601020820.k028KfGs091323@www.freebsd.org>
Resent-Message-ID: <200601020830.k028U9cS028156@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91209
>Category:       ports
>Synopsis:       Problem with portupgrade 2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 02 08:30:08 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Darin Martin
>Release:        5.4 p8
>Organization:
>Environment:
FreeBSD DarkDragon.onewizard.com 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #0: Wed Oct 26 03:06:47 EDT 2005     derwood@DarkDragon.onewizard.com:/usr/obj/usr/src/sys/WIZARD  i386
>Description:
portupgrade hangs on certain ports.. Not all though.. It spins up and chews up most free memory on the system, then fails with the following errors:

/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:89:in `<<': failed to allocate memory (NoMemoryError)
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:89:in `trace'
        from /usr/local/sbin/pkgdb:648:in `tracing_deorigin'
        from /usr/local/sbin/pkgdb:663:in `guess_dep'
        from /usr/local/sbin/pkgdb:578:in `fix_dependencies'
        from /usr/local/sbin/pkgdb:565:in `each'
        from /usr/local/sbin/pkgdb:565:in `fix_dependencies'
        from /usr/local/sbin/pkgdb:340:in `fix_db_phase1'
        from /usr/local/sbin/pkgdb:336:in `each'
        from /usr/local/sbin/pkgdb:336:in `fix_db_phase1'
        from /usr/local/sbin/pkgdb:286:in `fix_db'
        from /usr/local/sbin/pkgdb:232:in `main'
        from /usr/local/sbin/pkgdb:65:in `initialize'
        from /usr/local/sbin/pkgdb:65:in `new'
        from /usr/local/sbin/pkgdb:65:in `main'
        from /usr/local/sbin/pkgdb:1044


            
>How-To-Repeat:
'portupgrade php4' will cause it to happen

I have uninstalled portupgrade, ruby18, and ruby18-bdb1 and completely reinstalled.
I have changed my portupdate script to use portsdb -F
I have also removed /var/db/pkg/pkgdb.db and run pkgdb -Fu to rebuild the database.

I have also removed the php4 directory in /var/db and manually reinstalled the port with make/make install in case there was corruption in those files.     
>Fix:
Have been unable to find a fix yet.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601020820.k028KfGs091323>