portupgrade/ruby code error

From: <deeptech71_at_gmail.com>
Date: Tue, 31 Jul 2012 14:03:48 +0200
My previous upgrade run was about 2 weeks ago. Today I ran portupgrade (``portupgrade -wfuck <2012-07-31T04:38:00''), but interrupted it (pausing the upgrade process). Later I continued the upgrade process (using the same command line), and got a Ruby script error.

The error occurred with portupgrade-2.4.9.6,2 and ruby-1.8.7.370,1.

The log is ~:

$ portupgrade -wfuck <2012-07-31T04:38:00
[Gathering depends for devel/ice ............ done]
[Gathering depends for devel/ORBit2 ................................. done]
[Gathering depends for x11/Terminal ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. done]
/usr/local/sbin/portupgrade:635:in `main': undefined method `length' for nil:NilClass (NoMethodError)
	from /usr/local/sbin/portupgrade:633:in `each'
	from /usr/local/sbin/portupgrade:633:in `main'
	from /usr/local/sbin/portupgrade:607:in `each'
	from /usr/local/sbin/portupgrade:607:in `main'
	from /usr/local/sbin/portupgrade:581:in `catch'
	from /usr/local/sbin/portupgrade:581: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/portupgrade:558:in `main'
	from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
	from /usr/local/sbin/portupgrade:230:in `new'
	from /usr/local/sbin/portupgrade:230:in `main'
	from /usr/local/sbin/portupgrade:2245
Received on Tue Jul 31 2012 - 09:58:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:29 UTC