Re: [gentoo-user] reflexive dependencies?

2021-02-04 Thread n952162

On 2/4/21 10:45 PM, Dale wrote:

n952162 wrote:

On 2/4/21 9:05 PM, Stefano Crocco wrote:

On giovedì 4 febbraio 2021 20:49:37 CET n952162 wrote:

Is this ok?  It's stopped my update in its tracks:

$ equery d dev-ruby/*bundler*
    * These packages depend on dev-ruby/bundler:
...
dev-ruby/*rdoc*-6.1.2 (test ? dev-ruby/bundler[ruby_targets_ruby25(-)])
   (test ? dev-ruby/bundler[ruby_targets_ruby26(-)])

$ equery d dev-ruby/rdoc
    * These packages depend on dev-ruby/rdoc:
...
dev-ruby/*bundler*-2.1.4 (doc ? dev-ruby/rdoc[ruby_targets_ruby25(-)])
  (doc ? dev-ruby/rdoc[ruby_targets_ruby26(-)])
  (doc ? dev-ruby/rdoc[ruby_targets_ruby27(-)])


bundler is dependent on rdoc and rdoc is dependent on bundler:

/var/tmp/portage/dev-ruby/bundler-2.1.4/temp/environment: line 663:
rdoc: command not found

Emerging rdoc fails because it tries to emerge bundler...

Do you have the doc USE flag enabled for bundler? If I understand
correctly,
bundler only depends on rdoc if that flag is enabled. I think that if
you
remove the flag, it should work correctly.

Stefano


No, I have no USE flags for ruby, rdoc, or bundler, unfortunately.

I tried this /etc/portage/package.use/, but it didn't help:

dev-ruby/bundler -rdoc




I read that as the "doc" USE flag not rdoc.  May make a difference.

Dale

:-)  :-)



Ah, yes, you're right (and confirmed that that approach to preemptive
USE-defeating may be effective).


But Matt Connell solved the problem with the "eselect ruby" solution.









Re: [gentoo-user] reflexive dependencies?

2021-02-04 Thread Dale
n952162 wrote:
> On 2/4/21 9:05 PM, Stefano Crocco wrote:
>> On giovedì 4 febbraio 2021 20:49:37 CET n952162 wrote:
>>> Is this ok?  It's stopped my update in its tracks:
>>>
>>> $ equery d dev-ruby/*bundler*
>>>    * These packages depend on dev-ruby/bundler:
>>> ...
>>> dev-ruby/*rdoc*-6.1.2 (test ? dev-ruby/bundler[ruby_targets_ruby25(-)])
>>>   (test ? dev-ruby/bundler[ruby_targets_ruby26(-)])
>>>
>>> $ equery d dev-ruby/rdoc
>>>    * These packages depend on dev-ruby/rdoc:
>>> ...
>>> dev-ruby/*bundler*-2.1.4 (doc ? dev-ruby/rdoc[ruby_targets_ruby25(-)])
>>>  (doc ? dev-ruby/rdoc[ruby_targets_ruby26(-)])
>>>  (doc ? dev-ruby/rdoc[ruby_targets_ruby27(-)])
>>>
>>>
>>> bundler is dependent on rdoc and rdoc is dependent on bundler:
>>>
>>> /var/tmp/portage/dev-ruby/bundler-2.1.4/temp/environment: line 663:
>>> rdoc: command not found
>>>
>>> Emerging rdoc fails because it tries to emerge bundler...
>> Do you have the doc USE flag enabled for bundler? If I understand
>> correctly,
>> bundler only depends on rdoc if that flag is enabled. I think that if
>> you
>> remove the flag, it should work correctly.
>>
>> Stefano
>>
>
> No, I have no USE flags for ruby, rdoc, or bundler, unfortunately.
>
> I tried this /etc/portage/package.use/, but it didn't help:
>
> dev-ruby/bundler -rdoc
>
>>
>
>


I read that as the "doc" USE flag not rdoc.  May make a difference. 

Dale

:-)  :-) 



Re: [gentoo-user] reflexive dependencies?

2021-02-04 Thread n952162

On 2/4/21 9:24 PM, Matt Connell (Gmail) wrote:

On Thu, 2021-02-04 at 20:49 +0100, n952162 wrote:

Is this ok?  It's stopped my update in its tracks:

/var/tmp/portage/dev-ruby/bundler-2.1.4/temp/environment: line 663:
rdoc: command not found

Emerging rdoc fails because it tries to emerge bundler...


I encountered this as well.  I needed to use "eselect ruby" to pick a
new ruby profile.  Once I selected 2.6 (with Rubygems), I was able to
finish the emerge process.




That did the trick.  Thank you.




Re: [gentoo-user] reflexive dependencies?

2021-02-04 Thread Matt Connell (Gmail)
On Thu, 2021-02-04 at 14:24 -0600, Matt Connell (Gmail) wrote:
> Once I selected 2.6 (with Rubygems)

To clarify: this should read "ruby26 (with Rubygems)




Re: [gentoo-user] reflexive dependencies?

2021-02-04 Thread Matt Connell (Gmail)
On Thu, 2021-02-04 at 20:49 +0100, n952162 wrote:
> Is this ok?  It's stopped my update in its tracks:
> 
> /var/tmp/portage/dev-ruby/bundler-2.1.4/temp/environment: line 663:
> rdoc: command not found
> 
> Emerging rdoc fails because it tries to emerge bundler...
> 

I encountered this as well.  I needed to use "eselect ruby" to pick a
new ruby profile.  Once I selected 2.6 (with Rubygems), I was able to
finish the emerge process.




Re: [gentoo-user] reflexive dependencies?

2021-02-04 Thread n952162

On 2/4/21 9:05 PM, Stefano Crocco wrote:

On giovedì 4 febbraio 2021 20:49:37 CET n952162 wrote:

Is this ok?  It's stopped my update in its tracks:

$ equery d dev-ruby/*bundler*
   * These packages depend on dev-ruby/bundler:
...
dev-ruby/*rdoc*-6.1.2 (test ? dev-ruby/bundler[ruby_targets_ruby25(-)])
  (test ? dev-ruby/bundler[ruby_targets_ruby26(-)])

$ equery d dev-ruby/rdoc
   * These packages depend on dev-ruby/rdoc:
...
dev-ruby/*bundler*-2.1.4 (doc ? dev-ruby/rdoc[ruby_targets_ruby25(-)])
 (doc ? dev-ruby/rdoc[ruby_targets_ruby26(-)])
 (doc ? dev-ruby/rdoc[ruby_targets_ruby27(-)])


bundler is dependent on rdoc and rdoc is dependent on bundler:

/var/tmp/portage/dev-ruby/bundler-2.1.4/temp/environment: line 663:
rdoc: command not found

Emerging rdoc fails because it tries to emerge bundler...

Do you have the doc USE flag enabled for bundler? If I understand correctly,
bundler only depends on rdoc if that flag is enabled. I think that if you
remove the flag, it should work correctly.

Stefano



No, I have no USE flags for ruby, rdoc, or bundler, unfortunately.

I tried this /etc/portage/package.use/, but it didn't help:

dev-ruby/bundler -rdoc







Re: [gentoo-user] reflexive dependencies?

2021-02-04 Thread Stefano Crocco
On giovedì 4 febbraio 2021 20:49:37 CET n952162 wrote:
> Is this ok?  It's stopped my update in its tracks:
> 
> $ equery d dev-ruby/*bundler*
>   * These packages depend on dev-ruby/bundler:
> ...
> dev-ruby/*rdoc*-6.1.2 (test ? dev-ruby/bundler[ruby_targets_ruby25(-)])
>  (test ? dev-ruby/bundler[ruby_targets_ruby26(-)])
> 
> $ equery d dev-ruby/rdoc
>   * These packages depend on dev-ruby/rdoc:
> ...
> dev-ruby/*bundler*-2.1.4 (doc ? dev-ruby/rdoc[ruby_targets_ruby25(-)])
> (doc ? dev-ruby/rdoc[ruby_targets_ruby26(-)])
> (doc ? dev-ruby/rdoc[ruby_targets_ruby27(-)])
> 
> 
> bundler is dependent on rdoc and rdoc is dependent on bundler:
> 
> /var/tmp/portage/dev-ruby/bundler-2.1.4/temp/environment: line 663:
> rdoc: command not found
> 
> Emerging rdoc fails because it tries to emerge bundler...

Do you have the doc USE flag enabled for bundler? If I understand correctly, 
bundler only depends on rdoc if that flag is enabled. I think that if you 
remove the flag, it should work correctly.

Stefano