Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Ruby is infesting my machine
Date: Tue, 07 Jul 2015 19:21:43
Message-Id: 559C26B5.8030100@gmail.com
In Reply to: Re: [gentoo-user] Ruby is infesting my machine by Andrew Lowe
1 On 07/07/2015 18:48, Andrew Lowe wrote:
2 > On 07/03/2015 01:53 PM, Andrew Lowe wrote:
3 >> Hi all,
4 >> Just done an "eix-sync" followed by an "emerge --pretend -NuD world"
5 >> and for some reason, something wants to install Ruby stuff everywhere -
6 >> I don't currently have any ruby stuff installed. I have in my make.conf
7 >> "-ruby" and "RUBY_TARGETS=""". Looking at "equery depends ruby" shows 4
8 >> ebuilds,
9 >>
10 >> app-text/docbook-xsl-stylesheets-1.78.0-r1 (ruby ? dev-lang/ruby:1.9)
11 >> (ruby ? dev-lang/ruby:2.0)
12 >> dev-util/universalindentgui-1.2.0-r1 (ruby ? dev-lang/ruby)
13 >> dev-vcs/subversion-1.8.13-r2 (ruby ? >=dev-lang/ruby-2.1:2.1)
14 >> media-gfx/graphviz-2.38.0 (ruby ? dev-lang/ruby)
15 >>
16 >> I've gone into package.use and put a "-ruby" for these four and the
17 >> problem persists.
18 >>
19 >> Looking at the output from "emerge --pretend -NuD world" shows the first
20 >> mention of ruby is "eselect-ruby". Putting this into package.mask does
21 >> nothing, it still appears in the emerge list and now also at the bottom
22 >> of the emerge output under "The following mask changes are necessary to
23 >> proceed"
24 >>
25 >> "emerge --tree --pretend dev-lang/ruby" appears to also have
26 >> eselect-ruby as the cause of the trouble.
27 >>
28 >> Does anyone know how I can prevent this infestation from happening?
29 >>
30 >> Regards,
31 >> Andrew
32 >>
33 >>
34 >
35 > To close off my original question, the problem was related to
36 > qt-creator. I had 3.2.2 installed and it wanted to update to 3.4.1.
37 > 3.4.1 has a dependency on qtwebkit, which has a dependency on ruby,
38 > hence the infestation. Masking > 3.2.2 solved the problem.
39 >
40 > Thanks to those who provided suggestions,
41 >
42 > Andrew
43 >
44 > p.s. "--tree" really needs to be documented properly somewhere
45
46
47 --tree is already documented in the man page, in alphabetical order with
48 all the rest of the options. Yes, it's two lines, but that's all it
49 needs to be:
50
51 it displays the whole depgraph so yu can see what pulls in what.
52
53 It's also *very* well-known around here and is usually one of the first
54 things given as advice with questions like yours.
55
56 Were you expecting something more?
57
58
59 --
60 Alan McKinnon
61 alan.mckinnon@×××××.com