Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] reflexive dependencies?
Date: Thu, 04 Feb 2021 22:19:21
Message-Id: 69f2878d-c96d-8ca8-bd0b-fd8babe0b9e8@web.de
In Reply to: Re: [gentoo-user] reflexive dependencies? by Dale
1 On 2/4/21 10:45 PM, Dale wrote:
2 > n952162 wrote:
3 >> On 2/4/21 9:05 PM, Stefano Crocco wrote:
4 >>> On giovedì 4 febbraio 2021 20:49:37 CET n952162 wrote:
5 >>>> Is this ok?  It's stopped my update in its tracks:
6 >>>>
7 >>>> $ equery d dev-ruby/*bundler*
8 >>>>    * These packages depend on dev-ruby/bundler:
9 >>>> ...
10 >>>> dev-ruby/*rdoc*-6.1.2 (test ? dev-ruby/bundler[ruby_targets_ruby25(-)])
11 >>>>                       (test ? dev-ruby/bundler[ruby_targets_ruby26(-)])
12 >>>>
13 >>>> $ equery d dev-ruby/rdoc
14 >>>>    * These packages depend on dev-ruby/rdoc:
15 >>>> ...
16 >>>> dev-ruby/*bundler*-2.1.4 (doc ? dev-ruby/rdoc[ruby_targets_ruby25(-)])
17 >>>>                          (doc ? dev-ruby/rdoc[ruby_targets_ruby26(-)])
18 >>>>                          (doc ? dev-ruby/rdoc[ruby_targets_ruby27(-)])
19 >>>>
20 >>>>
21 >>>> bundler is dependent on rdoc and rdoc is dependent on bundler:
22 >>>>
23 >>>> /var/tmp/portage/dev-ruby/bundler-2.1.4/temp/environment: line 663:
24 >>>> rdoc: command not found
25 >>>>
26 >>>> Emerging rdoc fails because it tries to emerge bundler...
27 >>> Do you have the doc USE flag enabled for bundler? If I understand
28 >>> correctly,
29 >>> bundler only depends on rdoc if that flag is enabled. I think that if
30 >>> you
31 >>> remove the flag, it should work correctly.
32 >>>
33 >>> Stefano
34 >>>
35 >> No, I have no USE flags for ruby, rdoc, or bundler, unfortunately.
36 >>
37 >> I tried this /etc/portage/package.use/, but it didn't help:
38 >>
39 >> dev-ruby/bundler -rdoc
40 >>
41 >>
42 >
43 > I read that as the "doc" USE flag not rdoc.  May make a difference.
44 >
45 > Dale
46 >
47 > :-)  :-)
48
49
50 Ah, yes, you're right (and confirmed that that approach to preemptive
51 USE-defeating may be effective).
52
53
54 But Matt Connell solved the problem with the "eselect ruby" solution.
55
56
57
58 >