/usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1453:in `rescue in block in activate_dependencies': Could not find 'psych' (>= 4.0.0) among 90 total gem(s) (Gem::MissingSpecError) Checked in 'GEM_PATH=/var/tmp/portage/dev-ruby/stringio-3.0.5/homedir/.local/share/gem/ruby/3.0.0:/usr/lib64/ruby/gems/3.0.0:/usr/local/lib64/ruby/gems/3.0.0' at: /usr/lib64/ruby/gems/3.0.0/specifications/rdoc-6.4.0.gemspec, execute `gem env` for more information from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1450:in `block in activate_dependencies' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1439:in `each' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1439:in `activate_dependencies' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1421:in `activate' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems.rb:211:in `rescue in try_activate' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems.rb:204:in `try_activate' from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:153:in `rescue in require' from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:149:in `require' from /usr/lib64/ruby/gems/3.0.0/gems/rdoc-6.4.0/exe/rdoc:16:in `<top (required)>' from /usr/bin/rdoc:9:in `load' from /usr/bin/rdoc:9:in `<main>' /usr/lib64/ruby/site_ruby/3.0.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'psych' (>= 4.0.0) - did find: [psych-3.3.2] (Gem::MissingSpecVersionError) Checked in 'GEM_PATH=/var/tmp/portage/dev-ruby/stringio-3.0.5/homedir/.local/share/gem/ruby/3.0.0:/usr/lib64/ruby/gems/3.0.0:/usr/local/lib64/ruby/gems/3.0.0' , execute `gem env` for more information from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1451:in `block in activate_dependencies' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1439:in `each' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1439:in `activate_dependencies' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1421:in `activate' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems.rb:211:in `rescue in try_activate' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems.rb:204:in `try_activate' from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:153:in `rescue in require' from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:149:in `require' from /usr/lib64/ruby/gems/3.0.0/gems/rdoc-6.4.0/exe/rdoc:16:in `<top (required)>' from /usr/bin/rdoc:9:in `load' from /usr/bin/rdoc:9:in `<main>' /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1453:in `rescue in block in activate_dependencies': Could not find 'psych' (>= 4.0.0) among 90 total gem(s) (Gem::MissingSpecError) Checked in 'GEM_PATH=/var/tmp/portage/dev-ruby/stringio-3.0.5/homedir/.local/share/gem/ruby/3.0.0:/usr/lib64/ruby/gems/3.0.0:/usr/local/lib64/ruby/gems/3.0.0' at: /usr/lib64/ruby/gems/3.0.0/specifications/rdoc-6.4.0.gemspec, execute `gem env` for more information from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1450:in `block in activate_dependencies' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1439:in `each' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1439:in `activate_dependencies' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1421:in `activate' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems.rb:205:in `try_activate' from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:153:in `rescue in require' from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:149:in `require' from /usr/lib64/ruby/gems/3.0.0/gems/rdoc-6.4.0/exe/rdoc:16:in `<top (required)>' from /usr/bin/rdoc:9:in `load' from /usr/bin/rdoc:9:in `<main>' /usr/lib64/ruby/site_ruby/3.0.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'psych' (>= 4.0.0) - did find: [psych-3.3.2] (Gem::MissingSpecVersionError) Checked in 'GEM_PATH=/var/tmp/portage/dev-ruby/stringio-3.0.5/homedir/.local/share/gem/ruby/3.0.0:/usr/lib64/ruby/gems/3.0.0:/usr/local/lib64/ruby/gems/3.0.0' , execute `gem env` for more information from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1451:in `block in activate_dependencies' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1439:in `each' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1439:in `activate_dependencies' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems/specification.rb:1421:in `activate' from /usr/lib64/ruby/site_ruby/3.0.0/rubygems.rb:205:in `try_activate' from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:153:in `rescue in require' from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:149:in `require' from /usr/lib64/ruby/gems/3.0.0/gems/rdoc-6.4.0/exe/rdoc:16:in `<top (required)>' from /usr/bin/rdoc:9:in `load' from /usr/bin/rdoc:9:in `<main>' <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- rdoc/rdoc (LoadError) from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from /usr/lib64/ruby/gems/3.0.0/gems/rdoc-6.4.0/exe/rdoc:16:in `<top (required)>' from /usr/bin/rdoc:9:in `load' from /usr/bin/rdoc:9:in `<main>' Reproducible: Always Expected Results: Adding the following line to /etc/portage/package.use works around the bug: =dev-ruby/stringio-3.0.5 -doc
Created attachment 862896 [details] build.log
The workaround in /etc/portage/package.use can be removed when psych is installed. So it seems like dev-ruby/stringio-3.0.5[doc] depends on >=dev-ruby/psych-4 but that dependency is missing in the ebuild.
This issue is triggered by running rdoc, but as far as I can tell rdoc-6.4.0 has always had a dependency on psych 4.0, so it's not clear to me why this would fail for you. Please re-open this issue if this is still causing problems.