Problem using portupgrade-devel

Jakob Breivik Grimstveit jakob at grimstveit.no
Wed Nov 11 10:45:31 UTC 2009


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


More information about the freebsd-ports mailing list