Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908873 - dev-ruby/rails-7.0.5 fails to compile: rdoc: command not found
Summary: dev-ruby/rails-7.0.5 fails to compile: rdoc: command not found
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-20 13:18 UTC by Jaak Ristioja
Modified: 2023-06-20 16:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2023-06-20 13:18:55 UTC
* Package:    dev-ruby/rails-7.0.5:7.0
 * Repository: gentoo
 * Maintainer: ruby@gentoo.org
 * USE:        abi_x86_64 amd64 doc elibc_glibc kernel_linux ruby_targets_ruby31
 * FEATURES:   compressdebug network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
 * Running unpack phase for all
 * Unpacking .gem file...
 * Uncompressing metadata
 * Unpacking data.tar.gz
>>> Source unpacked in /var/tmp/portage/dev-ruby/rails-7.0.5/work
>>> Preparing source in /var/tmp/portage/dev-ruby/rails-7.0.5/work ...
 * Running prepare phase for all
 * Running prepare phase for all
 * Running source copy phase for ruby31
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/rails-7.0.5/work ...
 * Running configure phase for ruby31
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/rails-7.0.5/work ...
 * Running compile phase for ruby31
 * Running compile phase for all
/var/tmp/portage/dev-ruby/rails-7.0.5/temp/environment: line 702: rdoc: command not found
 * ERROR: dev-ruby/rails-7.0.5::gentoo failed (compile phase):
 *   failed to (re)build documentation
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2096:  Called ruby-ng_src_compile
 *   environment, line 1688:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 *   environment, line  619:  Called all_ruby_compile
 *   environment, line  741:  Called all_fakegem_compile
 *   environment, line  702:  Called die
 * The specific snippet of code:
 *                   rdoc ${RUBY_FAKEGEM_DOC_SOURCES} || die "failed to (re)build documentation";

It appears that dev-ruby/rdoc installs rdoc-2 and rdoc31 under /usr/bin, but no rdoc command.

RUBY_TARGETS="ruby31"
Comment 1 Jaak Ristioja 2023-06-20 13:23:01 UTC
Hmm... it appears this might be caused by ruby:3.0 getting uninstalled after the upgrade to ruby:3.1 but `eselect ruby set ruby31` not being run automatically.