Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2002 13:58:19 -0500 (EST)
From:      Alan Eldridge <ports@geeksrus.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        knu@freebsd.org
Subject:   ports/34347: portupgrade (latest) dies on TypeError 
Message-ID:  <200201271858.g0RIwJu95507@wwweasel.geeksrus.net>

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

>Number:         34347
>Category:       ports
>Synopsis:       portupgrade (latest) dies on TypeError
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 27 11:00:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alan Eldridge
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
Geeksrus.NET
>Environment:
System: FreeBSD wwweasel.geeksrus.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Dec 2 19:14:12 EST 2001 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386

>Description:

I pkg_delete'd most of the tex & jade related stuff to do a fresh install.
I did a 'sudo pkgdb -Ff' to clean up the package database; this left some
ports with dangling dependencies on tex-related packages.

Attempting to do all the installs using portupgrade gave me this (after 
about a minute(!) at 97% CPU utilization):

[alane ~]$ portupgrade -PPRNrsv jadetex
[You have no permission to update the pkgdb -- using a slow method]
  ... really heavy CPU burning here ...
/usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:30:in `initialize': failed to convert PkgInfo into String (TypeError)
        from /usr/local/sbin/portupgrade:610:in `new'
        from /usr/local/sbin/portupgrade:610:in `main'
        from /usr/local/sbin/portupgrade:609:in `each'
        from /usr/local/sbin/portupgrade:609:in `main'
        from /usr/local/sbin/portupgrade:186:in `initialize'
        from /usr/local/sbin/portupgrade:186:in `new'
        from /usr/local/sbin/portupgrade:186:in `main'
        from /usr/local/sbin/portupgrade:1609

So I made sure my ruby ports were up-to-date, and upgraded portupgrade to the
lastest (from the port).

[alane ~]$ pkg_info -I -x portupgrade
portupgrade-20020126 Very powerful FreeBSD ports/packages upgrading tool and mor[alane ~]$ pkg_info -I -x ruby
ruby-1.6.6          An object-oriented interpreted scripting language
ruby-fnmatch-1.1b_1 A Ruby module which provides File::fnmatch and File::FNM_*
ruby-optparse-0.8.6 Yet another command line option parser for Ruby

No change. Same slow death. So what is happening here? If it's because of
the dangling (i.e., "yes" to "skip this?") dependencies in the package db,
then shouldn't a message to that effect be printed?

>How-To-Repeat:

>Fix:



>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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