Summary: | dev-ruby/bundler-2.1.4 should BDEPEND on dev-ruby/rdoc - src_compile(): .../temp/environment: line 666: rdoc: command not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michel Le Bihan <michel> |
Component: | Current packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | alarig, brenosilveira1, dschridde+gentoobugs, fakih18716, firefly_dude0k, gentoo, julien.dlq, luca.chiampo, mplichta, pacho, randy-andy-, sam, toralf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
output of emerge --info
output of emerge -pqv buuild.log Output of emerge --info for dev-ruby/rdoc-6.1.2 (installed) |
Description
Michel Le Bihan
2020-09-24 09:31:09 UTC
I guess the ebuild should set the magic variable RUBY_FAKEGEM_RECIPE_DOC=rdoc. Was running into the same thing during ruby25 -> ruby26 update. What helped me was setting Ruby to ruby26 with eselect. Installs fine after that. same here; this broke a world update; fixed with eselect ruby set 2.5 -> 2.6 and resume `eselect ruby set ruby26` also resolved the issue for me. (In reply to Michel Le Bihan from comment #4) > `eselect ruby set ruby26` also resolved the issue for me. This is a workaround but not a fix, we see this situation come up a lot in #gentoo so some way of avoiding it would be great. I hope this may help. When emerge failed, I went to /usr/bin, and found rdoc is linked to rdoc25, while the installed one is rdoc26. After I set the link manual, it works. Same issue here for upading ruby25 -> 26. Thank you for this workaround. (In reply to r7l from comment #2) > Was running into the same thing during ruby25 -> ruby26 update. What helped > me was setting Ruby to ruby26 with eselect. Installs fine after that. Thanks for the workaround! World update performed with success after this. Is this a duplicate of bug #704164? I experienced the same build-failure as the Original Poster. And I can confirm that selecting 'ruby26' resolved the issue and allowed my dev-ruby/bundler to quickly build. dragon ~ # eselect ruby list Available Ruby profiles: [1] ruby25 * [2] ruby26 (with Rubygems) dragon ~ # eselect ruby set ruby26 Successfully switched to profile: ruby26 dragon ~ # eselect ruby list Available Ruby profiles: [1] ruby25 [2] ruby26 (with Rubygems) * Same for me as well. Setting ruby to ruby26 (with Rubygems) solved the problem naramsin /home/pietro # eselect ruby list Available Ruby profiles: [1] ruby25 * [2] ruby26 (with Rubygems) naramsin /home/pietro # eselect ruby set 2 Successfully switched to profile: ruby26 naramsin /home/pietro # eselect ruby list Available Ruby profiles: [1] ruby25 [2] ruby26 (with Rubygems) * Answering comment #9: yes, and how long this lurked around…there are similar issues with other packages and missing rdoc. so i switched to ruby26 to work around this... now the question is, should i switch back? whats the catch? (i am not using ruby for anything, so only gentoo packages need it) In reply to groepaz from comment #13) After updating current stable amd64 profile, ruby2.5 is probably not needed anymore and will be removed with the next depclean. So no, you don't have to switch back. Created attachment 686730 [details]
output of emerge --info
Created attachment 686733 [details]
output of emerge -pqv
Created attachment 686736 [details]
buuild.log
Created attachment 686739 [details]
Output of emerge --info for dev-ruby/rdoc-6.1.2 (installed)
I think that the problem arise from dev-ruby/rdoc-6.1.2::gentoo was built with the following:
USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby26 -ruby25"
that are the standard ones....
*** Bug 774012 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 704164 *** |