Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ruby 2.0 blocking emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
The Watcher
n00b
n00b


Joined: 05 Sep 2007
Posts: 5

PostPosted: Mon Sep 02, 2013 11:20 am    Post subject: Ruby 2.0 blocking emerge Reply with quote

Attempting a world update pulls in ruby 2.0.0:

Code:
 emerge -auvND world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] sys-devel/automake-wrapper-9 [7] 0 kB
[ebuild     U  ] app-portage/eix-0.29.3 [0.25.5] USE="dep nls (-clang) -debug -doc -optimization -security -sqlite -strong-optimization -strong-security% -swap-remote% -tools -zsh-completion" LINGUAS="-de% -ru%" 537 kB
[ebuild     U  ] app-admin/eselect-1.3.6 [1.3.4] USE="-doc" 164 kB
[ebuild     U  ] sys-kernel/linux-headers-3.9 [3.7] 3,614 kB
[ebuild     U  ] sys-apps/man-pages-3.51 [3.50] USE="nls" LINGUAS="-da -de -fr -it -ja -nl -pl -ro -ru -zh_CN" 1,127 kB
[ebuild     U ~] app-emulation/open-vm-tools-2013.04.16.1098359-r1 [2013.04.16.1098359] USE="pic -X -doc -fuse -icu -xinerama" 3,651 kB
[ebuild     U  ] net-nds/openldap-2.4.35 [2.4.30] USE="berkdb crypt ipv6 perl ssl syslog tcpd -cxx -debug -experimental -gnutls -icu -iodbc -kerberos -minimal -odbc -overlays -samba -sasl (-selinux) -slp -smbkrb5passwd" 5,370 kB
[ebuild  NS    ] dev-lang/ruby-2.0.0_p247-r1:2.0 [1.9.3_p448:1.9] USE="berkdb gdbm ipv6 ncurses rdoc readline ssl yaml -debug -doc -examples -rubytests -socks5 -tk -xemacs" 10,554 kB
[ebuild     U  ] dev-ruby/rubygems-2.0.3 [1.8.24] USE="-server {-test}" RUBY_TARGETS="ruby19 ruby20%* -jruby -ruby18 (-ree18%)" 327 kB
[ebuild  NS    ] virtual/rubygems-6:ruby20 [4:ruby19] RUBY_TARGETS="(ruby20)" 0 kB
[ebuild     U  ] dev-ruby/rake-0.9.6 [0.9.2.2] USE="-doc {-test} (-bash-completion%)" RUBY_TARGETS="ruby19 ruby20%* -jruby -ruby18 (-ree18%)" 121 kB
[ebuild     U  ] dev-ruby/json-1.8.0 [1.7.7] USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20%* -jruby -ruby18 (-ree18%)" 146 kB
[ebuild     U  ] dev-ruby/racc-1.4.9 [1.4.8] USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20%* -jruby -ruby18 (-ree18%)" 107 kB
[ebuild     U  ] dev-ruby/rdoc-4.0.1-r1 [3.12.2] USE="-doc {-test}" RUBY_TARGETS="ruby19 ruby20%* -jruby -ruby18" 457 kB

Total: 14 packages (12 upgrades, 2 in new slots), Size of downloads: 26,169 kB

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-lang/ruby-2.0.0_p247-r1[rdoc]
# required by dev-ruby/racc-1.4.9[ruby_targets_ruby20]
>=dev-ruby/rdoc-4.0.1-r1 ruby_targets_ruby20
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby20]
# required by dev-lang/ruby-2.0.0_p247-r1[rdoc]
# required by dev-ruby/rubygems-2.0.3[ruby_targets_ruby19]
# required by virtual/rubygems-6
# required by dev-ruby/rake-0.9.6
# required by dev-ruby/json-1.8.0[-test,-doc,ruby_targets_ruby20]
>=dev-ruby/racc-1.4.9 ruby_targets_ruby20
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby20]
# required by dev-lang/ruby-2.0.0_p247-r1[rdoc]
# required by dev-ruby/racc-1.4.9[ruby_targets_ruby20]
>=dev-ruby/json-1.8.0 ruby_targets_ruby20
# required by dev-lang/ruby-2.0.0_p247-r1
# required by dev-ruby/racc-1.4.9[ruby_targets_ruby20]
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby19]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by dev-ruby/rubygems-2.0.3[ruby_targets_ruby19]
# required by virtual/rubygems-6
# required by dev-ruby/json-1.8.0[-test,ruby_targets_ruby20]
>=dev-ruby/rake-0.9.6 ruby_targets_ruby20
# required by dev-lang/ruby-2.0.0_p247-r1
# required by dev-ruby/racc-1.4.9[ruby_targets_ruby20]
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby19]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by dev-ruby/json-1.8.0[ruby_targets_ruby19]
>=dev-ruby/rubygems-2.0.3 ruby_targets_ruby20


in make.conf I have:

RUBY_TARGETS="ruby19"

I can address the problem by adding

dev-lang/ruby:2.0

to /etc/portage/package.mask but this seems like an excessive step - why is 2.0 being pulled in despite not appearing in RUBY_TARGETs?
Back to top
View user's profile Send private message
APolozov
Tux's lil' helper
Tux's lil' helper


Joined: 28 Sep 2006
Posts: 127
Location: Voronezh, Russia

PostPosted: Mon Sep 02, 2013 6:46 pm    Post subject: Reply with quote

Just fix manually make.conf string to RUBY_TARGETS="ruby19 ruby20" or if ruby19 unnecessary RUBY_TARGETS="ruby20"
_________________
Excuse my bad English, I only study it.

I also connected to: velo36.ru openstreetmap.org
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 462
Location: Connecticut, USA

PostPosted: Mon Sep 02, 2013 10:08 pm    Post subject: Reply with quote

This was mentioned on the gentoo-dev mailing list:
Quote:
My best guess is that there is some package in your world depgraph
which is pulling in dev-lang/ruby via an unbounded (unslotted)
dependency. This causes portage to try to upgrade to ruby-2.0
automatically, which fails when you don't have ruby20 in RUBY_TARGETS.

equery depends seems to show that there are quite a few packages with
such dependencies in the tree.

Ruby team: Is there something we are missing that would somehow avoid
this problem? It is bound to generate some confusion among users.

Adding ruby20 to RUBY_TARGETS in make.conf would certainly work, but I would hope there is a way to fix this if you don't have any need for ruby-2.0.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5273
Location: Removed by Neddy

PostPosted: Mon Sep 02, 2013 10:17 pm    Post subject: Reply with quote

im finding that ruby20 doesn't compile for me...
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 462
Location: Connecticut, USA

PostPosted: Mon Sep 02, 2013 10:31 pm    Post subject: Reply with quote

It looks like a relevant discussion to follow is Bug 483254.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum