Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge wants to install ruby packages for no reason
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
fturco
Apprentice
Apprentice


Joined: 08 Dec 2010
Posts: 290
Location: Italy

PostPosted: Tue Jan 08, 2013 9:53 pm    Post subject: [SOLVED] emerge wants to install ruby packages for no reason Reply with quote

I'd like to remove ruby and all related packages (those in the dev-ruby category) from my system, as I don't need them for the moment. So I put -ruby in make.conf, recompiled and removed them manually (because depclean didn't want to remove them). But now emerge wants to reinstall them:

Code:

# emerge -uDNpv --with-bdeps=y @world -t

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

Calculating dependencies... done!
[nomerge       ] dev-ruby/json-1.7.6  USE="-doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18"
[nomerge       ]  dev-ruby/rake-0.9.2.2  USE="-bash-completion -doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18"
[nomerge       ]   virtual/rubygems-4:ruby19  RUBY_TARGETS="(ruby19)"
[nomerge       ]    dev-lang/ruby-1.9.3_p286:1.9  USE="berkdb gdbm ncurses rdoc readline ssl yaml -debug -doc -examples -ipv6 -rubytests -socks5 -tk -xemacs"
[ebuild  N     ]     dev-ruby/rdoc-3.12  USE="-doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]      dev-ruby/json-1.7.6  USE="-doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]      dev-ruby/racc-1.4.9  USE="-doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby" 0 kB
[ebuild  N     ]       dev-ruby/rake-0.9.2.2  USE="-bash-completion -doc {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]        virtual/rubygems-1:ruby18  RUBY_TARGETS="(ruby18)" 0 kB
[ebuild  N     ]        virtual/rubygems-4:ruby19  RUBY_TARGETS="(ruby19)" 0 kB
[ebuild  N     ]         dev-ruby/rubygems-1.8.24  USE="-server {-test}" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 0 kB
[ebuild  N     ]          dev-lang/ruby-1.9.3_p286:1.9  USE="berkdb gdbm ncurses rdoc readline ssl yaml -debug -doc -examples -ipv6 -rubytests -socks5 -tk -xemacs" 0 kB
[ebuild  N     ]          dev-lang/ruby-1.8.7_p370:1.8  USE="berkdb gdbm ncurses readline ssl -debug -doc -examples -ipv6 -libedit -rubytests -socks5 -threads -tk -xemacs" 0 kB

Total: 9 packages (9 new), Size of downloads: 0 kB


I can't understand which package causes this, as it's not really clear to me the meaning of "nomerge" at the beginning and the reason for the first 4 packages to be listed two times.

Any idea? Thank you.


Last edited by fturco on Wed Jan 09, 2013 12:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7939
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Jan 08, 2013 10:21 pm    Post subject: Reply with quote

Probably there is a reason. :wink: Could you post the output of
Code:
grep ruby /var/lib/portage/world
please?

- John
_________________
I can confirm that I have received between 0 and 999 National Security Letters.
Back to top
View user's profile Send private message
Cynede
Developer
Developer


Joined: 30 Nov 2012
Posts: 36

PostPosted: Wed Jan 09, 2013 6:08 am    Post subject: Reply with quote

[nomerge] is shown just to show the dependency tree (-t). Maybe you already have got something installed?
_________________
GitHub
Twitter
Last.fm

“Pain is inevitable Suffering is optional” Haruki Murakami, What I Talk About When I Talk About Running
Back to top
View user's profile Send private message
jathlon
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2006
Posts: 89
Location: Canada

PostPosted: Wed Jan 09, 2013 7:58 am    Post subject: Reply with quote

net-libs/webkit-gtk-1.10.2-r300 started pulling in a bunch of ruby stuff. Motivated me to add -webkit to my /etc/make.conf. Don't see any mention of webkit in the OP post, however.

joe
Back to top
View user's profile Send private message
fturco
Apprentice
Apprentice


Joined: 08 Dec 2010
Posts: 290
Location: Italy

PostPosted: Wed Jan 09, 2013 10:55 am    Post subject: Reply with quote

John R. Graham wrote:
Probably there is a reason. :wink: Could you post the output of
Code:
grep ruby /var/lib/portage/world
please?

It returns nothing.
Back to top
View user's profile Send private message
fturco
Apprentice
Apprentice


Joined: 08 Dec 2010
Posts: 290
Location: Italy

PostPosted: Wed Jan 09, 2013 11:05 am    Post subject: Reply with quote

jathlon wrote:
net-libs/webkit-gtk-1.10.2-r300 started pulling in a bunch of ruby stuff. Motivated me to add -webkit to my /etc/make.conf. Don't see any mention of webkit in the OP post, however.

Yes, I have net-libs/webkit-gtk-1.10.2-r300 installed, but in the ebuild it seems it only pulls ruby if python-2 is not installed:
Code:
DEPEND="${RDEPEND}
        ...
        =dev-lang/python-2*
        || ( virtual/rubygems[ruby_targets_ruby19]
             virtual/rubygems[ruby_targets_ruby18] )
        ...

Of course I have python-2 installed (dev-lang/python-2.7.3-r3 to be precise).
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1942
Location: Zurich, Switzerland

PostPosted: Wed Jan 09, 2013 11:15 am    Post subject: Reply with quote

Quote:
Yes, I have net-libs/webkit-gtk-1.10.2-r300 installed, but in the ebuild it seems it only pulls ruby if python-2 is not installed:

actually webkit needs python2 and either rubygems-1.9 or rubygems-1.8 (which explains the need for ruby).

V
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
fturco
Apprentice
Apprentice


Joined: 08 Dec 2010
Posts: 290
Location: Italy

PostPosted: Wed Jan 09, 2013 12:59 pm    Post subject: Reply with quote

Oh. You're right. I just read http://devmanual.gentoo.org/general-concepts/dependencies/index.html (section "Any of Many Dependencies") and it's clear that I interpreted the meaning of the || operator in the wrong way. Thank you.

I'm going to keep ruby then, as webkit seems to be needed by GNOME.
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