* Running prepare phase for all ... * Running source copy phase for ruby21 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ruby/hoe-3.13.0-r1/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ruby/hoe-3.13.0-r1/work ... * Running compile phase for all ... /var/tmp/portage/dev-ruby/hoe-3.13.0-r1/temp/environment: line 674: rdoc: command not found * ERROR: dev-ruby/hoe-3.13.0-r1::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 4333: Called ruby-ng_src_compile * environment, line 4024: Called _ruby_invoke_environment 'all' 'all_ruby_compile' * environment, line 589: Called all_ruby_compile * environment, line 674: Called die * The specific snippet of code: * rdoc --title "seattlerb's hoe-3.5.1 Documentation" -o doc --main README.txt lib History.txt Manifest.txt README.txt || die * * If you need support, post the output of `emerge --info '=dev-ruby/hoe-3.13.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/hoe-3.13.0-r1::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER=""
not sure if it helps: bash# equery f rdoc | grep bin /usr/bin /usr/bin/rdoc-2 /usr/bin/rdoc21 /usr/bin/ri-2 /usr/bin/ri21
That's right. /usr/bin/rdoc is a symlink which was pointing to /usr/bin/rdoc19 (and it is gone). I've changed it -> /usr/bin/rdoc21 and it fixed the problem So there are two issues: - does "hoe" really need rdoc even if doc flag is disabled? - rdoc ebuild should install a proper symlink
Did you read news item "2015-08-26-ruby-19-removal" and use eselect to select a new ruby version after removing ruby 1.9?
(In reply to Hans de Graaff from comment #3) > Did you read news item "2015-08-26-ruby-19-removal" and use eselect to > select a new ruby version after removing ruby 1.9? Yes, and that's exactly the reason why it is broken now bash# eselect ruby list Available Ruby profiles: [1] ruby20 (with Rubygems) [2] ruby21 (with Rubygems) *
This ebuild fails with ruby19 uninstalled, ruby21 selected and rdoc installed. Same issue as reported in this bug, I think.
(In reply to Willard Dawson from comment #5) > This ebuild fails with ruby19 uninstalled, ruby21 selected and rdoc > installed. Same issue as reported in this bug, I think. ... except, having /usr/bin/rdoc link to rdoc21 does not fix it for me. I'll open a new bug.
(In reply to Willard Dawson from comment #6) > (In reply to Willard Dawson from comment #5) > > This ebuild fails with ruby19 uninstalled, ruby21 selected and rdoc > > installed. Same issue as reported in this bug, I think. > > ... except, having /usr/bin/rdoc link to rdoc21 does not fix it for me. > I'll open a new bug. *sigh* Apologies for the noise. I had a stray copy of rdoc in /usr/local/bin that I did not realize was present. Operator error on my part.
(In reply to Anton Bolshakov from comment #2) > So there are two issues: > - does "hoe" really need rdoc even if doc flag is disabled? Yes, because rdoc is a runtime dependency of hoe since hoe provides tasks to generate documentation. > - rdoc ebuild should install a proper symlink Agreed. We were already doing something similar in dev-ruby/rubygems, so I have added that approach also to rdoc-4.2.0.
*** Bug 569532 has been marked as a duplicate of this bug. ***
*** Bug 559886 has been marked as a duplicate of this bug. ***
*** Bug 570426 has been marked as a duplicate of this bug. ***
It’s truly a great and useful piece of info. I’m happy that you just shared this useful information with us. Please keep us up to date like this. Thanks for sharing. https://bit.ly/3eQEACV