Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Sep 2010 23:40:08 +0400
From:      Yuri X <yks.uno@gmail.com>
To:        ruby@FreeBSD.org
Subject:   error in portupgrade
Message-ID:  <4C87E698.2070505@gmail.com>

next in thread | raw e-mail | index | archive | help
Good daytime!

I have a trouble using portupgrade/portinstall on FreeBSD 8.1. When I=20
try to install some ports, especially with huge list of dependencies=20
(e.g. kde4), the command fails with a Ruby exception. The listing is=20
provided below. I have the most recent portupgrade 2.4.6, and my system i=
s:

FreeBSD yntel 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Aug  2 16:24:27=20
MSD 2010     yks@yntel:/home/src/src/sys/amd64/compile/KERNEL_20100802 =20
amd64

I also tried to "portinstall kde4" on other machines with e.g. FreeBSD=20
8.0 or FreeBSD 8.1/i386, and it always resulted in the same exception.=20
This also happens with different ports, I can not exactly remember which =

but there were a few, so it's likely not "kde4"-specific.

Thank you for your time,
Yuri.

-------- BEGIN LISTING ----------
root@yntel ~># portinstall x11/kde4
--->  Session started at: Wed, 08 Sep 2010 23:30:48 +0400
[Gathering depends for x11/kde4=20
=2E......................................................................=
=2E......................................................................=
=2E......................................................................=
=2E......................................................................=
=2E......................................................................=
=2E......................................................................=
=2E......................................................................=
=2E......................................................................=
=2E......................................................................=
=2E......................................................................=
=2E......................................................................=
=2E......................................................................=
=2E......................................................................=
=2E......................................................................=
=2E.......---> =20
Session ended at: Wed, 08 Sep 2010 23:31:01 +0400 (consumed 00:00:12)
/usr/local/lib/ruby/1.8/set.rb:263:in `merge': value must be enumerable=20
(ArgumentError)
     from /usr/local/sbin/portinstall:879: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:878:in `get_all_depends'
     from /usr/local/sbin/portinstall:879: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:878:in `get_all_depends'
     from /usr/local/sbin/portinstall:879: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:878:in `get_all_depends'
     from /usr/local/sbin/portinstall:897:in `get_notinstalled_depends'
     from /usr/local/sbin/portinstall:777
     from /usr/local/sbin/portinstall:755:in `each'
     from /usr/local/sbin/portinstall:755
     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:565:in `main'
     from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
     from /usr/local/sbin/portinstall:229:in `new'
     from /usr/local/sbin/portinstall:229:in `main'
     from /usr/local/sbin/portinstall:2213
-------- END LISTING ----------





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