From: Jakob Breivik Grimstveit on
Hi,

When trying to install or upgrade ports using current
portupgrade-devel, I get this:

$ sudo portinstall cowsay
[Gathering depends for games/cowsay
../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: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

$ portupgrade --version
portupgrade 2.4.6

--
Vyrdsamt,
  Jakob Breivik Grimstveit | +47 4829 8152
  http://grimstveit.no/jakob | http://www.google.com/profiles/jakobbg
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"