Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 2009 05:00:32 GMT
From:      Jimmie James <jimmiejaz@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/140192: portupgrade-devel fails to install a new port.
Message-ID:  <200911020500.nA250W2f014267@www.freebsd.org>
Resent-Message-ID: <200911020510.nA25A11B086512@freefall.freebsd.org>

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

>Number:         140192
>Category:       ports
>Synopsis:       portupgrade-devel fails to install a new port.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 02 05:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Jimmie James
>Release:        FreeBSD 7.2-STABLE
>Organization:
>Environment:
FreeBSD jimmiejaz.org 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Oct 15 19:19:47 EDT 2009     root@jimmiejaz.org:/usr/obj/usr/src/sys/FORTYTWO  i386

>Description:
After the update a few days ago, http://www.freebsd.org/cgi/cvsweb.cgi/ports/ports-mgmt/portupgrade-devel/ portupgrade will happily update installed ports, but portinstall will not install a new port that's not already installed.

#rehash ; portinstall x11-toolkits/evilvte
[Gathering depends for x11-toolkits/evilvte ................../usr/local/sbin/portinstall:878:in `get_all_depends': private method `scan' called for #<Set: {}> (NoMethodError)
	from /usr/local/sbin/portinstall:871:in `get_all_depends'
	from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
	from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
	from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
	from /usr/local/sbin/portinstall:870:in `get_all_depends'
	from /usr/local/sbin/portinstall:871:in `get_all_depends'
	from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
	from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
	from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
	from /usr/local/sbin/portinstall:870:in `get_all_depends'
	from /usr/local/sbin/portinstall:871:in `get_all_depends'
	from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
	from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
	from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
	from /usr/local/sbin/portinstall:870:in `get_all_depends'
	from /usr/local/sbin/portinstall:871:in `get_all_depends'
	from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
	from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
	from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
	from /usr/local/sbin/portinstall:870:in `get_all_depends'
	from /usr/local/sbin/portinstall:871:in `get_all_depends'
	from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
	from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
	from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
	from /usr/local/sbin/portinstall:870:in `get_all_depends'
	from /usr/local/sbin/portinstall:887:in `get_notinstalled_depends'
	from /usr/local/sbin/portinstall:773:in `main'
	from /usr/local/sbin/portinstall:751:in `each'
	from /usr/local/sbin/portinstall:751:in `main'
	from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `call'
	from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `parse_in_order'
	from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `catch'
	from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `parse_in_order'
	from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `catch'
	from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
	from /usr/local/lib/ruby/1.8/optparse.rb:1248:in `order!'
	from /usr/local/lib/ruby/1.8/optparse.rb:1241:in `order'
	from /usr/local/sbin/portinstall:559:in `main'
	from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
	from /usr/local/sbin/portinstall:231:in `new'
	from /usr/local/sbin/portinstall:231:in `main'
	from /usr/local/sbin/portinstall:2213

As a test, I ran, 
#pkg_deinstall xchat-2.8.6_3
--->  Deinstalling 'xchat-2.8.6_3'
pkg_delete: unable to completely remove directory '/usr/local/lib/xchat/plugins'
pkg_delete: unable to completely remove directory '/usr/local/lib/xchat'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
[Updating the pkgdb <format:bdb_hash> in /var/db/pkg ... - 1137 packages found (-1 +0) (...) done]
[23:41:02]  jimmie@jimmiejaz <119> [0] /usr/ports/x11-toolkits#portinstall irc/xchat

and got the excat error as above, tried several ports and all error out with the same message.

>How-To-Repeat:
portinstall any-none installed port.
>Fix:
work-arounds: portmaster, make install
Fix: no idea, ruby isn't my strong poing.

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



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