ports/91209: Problem with portupgrade 2.0

Darin Martin derwood at naebunny.net
Mon Jan 2 08:30:10 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list