https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-ruby/reline-0.3.5 fails tests. Discovered on: amd64 (internal ref: ci)
Created attachment 864963 [details] build.log build log and emerge --info
>>> Test phase: dev-ruby/reline-0.3.5 * Running test phase for ruby30 /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0/lib/io/console.rb:2:in `<top (required)>': loading unexpected file (LoadError) from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:88:in `require' from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:88:in `require' from /var/tmp/portage/dev-ruby/reline-0.3.5/work/ruby30/reline-0.3.5/lib/reline.rb:1:in `<top (required)>' from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:88:in `require' from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:88:in `require' from /var/tmp/portage/dev-ruby/reline-0.3.5/work/ruby30/reline-0.3.5/test/reline/helper.rb:5:in `<top (required)>' from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:88:in `require' from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:88:in `require' * ERROR: dev-ruby/reline-0.3.5::gentoo failed (test phase): * (no error message) Please give `eselect ruby list` output.
also 'equery f dev-ruby/io-console'
[1] ruby30 (with Rubygems) [2] ruby31 (with Rubygems) * [3] ruby32 (with Rubygems) * Searching for io-console ... * Contents of dev-ruby/io-console-0.6.0: /usr /usr/lib64 /usr/lib64/ruby /usr/lib64/ruby/gems /usr/lib64/ruby/gems/3.0.0 /usr/lib64/ruby/gems/3.0.0/extensions /usr/lib64/ruby/gems/3.0.0/extensions/x86_64-linux /usr/lib64/ruby/gems/3.0.0/extensions/x86_64-linux/3.0.0 /usr/lib64/ruby/gems/3.0.0/extensions/x86_64-linux/3.0.0/io-console-0.6.0 /usr/lib64/ruby/gems/3.0.0/extensions/x86_64-linux/3.0.0/io-console-0.6.0/gem.build_complete /usr/lib64/ruby/gems/3.0.0/extensions/x86_64-linux/3.0.0/io-console-0.6.0/io /usr/lib64/ruby/gems/3.0.0/extensions/x86_64-linux/3.0.0/io-console-0.6.0/io/console.so /usr/lib64/ruby/gems/3.0.0/gems /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0 /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0/lib /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0/lib/io /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0/lib/io/console /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0/lib/io/console.rb /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0/lib/io/console.so /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0/lib/io/console/ffi /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0/lib/io/console/ffi/bsd_console.rb /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0/lib/io/console/ffi/common.rb /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0/lib/io/console/ffi/console.rb /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0/lib/io/console/ffi/linux_console.rb /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0/lib/io/console/ffi/native_console.rb /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0/lib/io/console/ffi/stty_console.rb /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0/lib/io/console/ffi/stub_console.rb /usr/lib64/ruby/gems/3.0.0/gems/io-console-0.6.0/lib/io/console/size.rb /usr/lib64/ruby/gems/3.0.0/specifications /usr/lib64/ruby/gems/3.0.0/specifications/io-console-0.6.0.gemspec /usr/lib64/ruby/gems/3.1.0 /usr/lib64/ruby/gems/3.1.0/extensions /usr/lib64/ruby/gems/3.1.0/extensions/x86_64-linux /usr/lib64/ruby/gems/3.1.0/extensions/x86_64-linux/3.1.0 /usr/lib64/ruby/gems/3.1.0/extensions/x86_64-linux/3.1.0/io-console-0.6.0 /usr/lib64/ruby/gems/3.1.0/extensions/x86_64-linux/3.1.0/io-console-0.6.0/gem.build_complete /usr/lib64/ruby/gems/3.1.0/extensions/x86_64-linux/3.1.0/io-console-0.6.0/io /usr/lib64/ruby/gems/3.1.0/extensions/x86_64-linux/3.1.0/io-console-0.6.0/io/console.so /usr/lib64/ruby/gems/3.1.0/gems /usr/lib64/ruby/gems/3.1.0/gems/io-console-0.6.0 /usr/lib64/ruby/gems/3.1.0/gems/io-console-0.6.0/lib /usr/lib64/ruby/gems/3.1.0/gems/io-console-0.6.0/lib/io /usr/lib64/ruby/gems/3.1.0/gems/io-console-0.6.0/lib/io/console /usr/lib64/ruby/gems/3.1.0/gems/io-console-0.6.0/lib/io/console.rb /usr/lib64/ruby/gems/3.1.0/gems/io-console-0.6.0/lib/io/console.so /usr/lib64/ruby/gems/3.1.0/gems/io-console-0.6.0/lib/io/console/ffi /usr/lib64/ruby/gems/3.1.0/gems/io-console-0.6.0/lib/io/console/ffi/bsd_console.rb /usr/lib64/ruby/gems/3.1.0/gems/io-console-0.6.0/lib/io/console/ffi/common.rb /usr/lib64/ruby/gems/3.1.0/gems/io-console-0.6.0/lib/io/console/ffi/console.rb /usr/lib64/ruby/gems/3.1.0/gems/io-console-0.6.0/lib/io/console/ffi/linux_console.rb /usr/lib64/ruby/gems/3.1.0/gems/io-console-0.6.0/lib/io/console/ffi/native_console.rb /usr/lib64/ruby/gems/3.1.0/gems/io-console-0.6.0/lib/io/console/ffi/stty_console.rb /usr/lib64/ruby/gems/3.1.0/gems/io-console-0.6.0/lib/io/console/ffi/stub_console.rb /usr/lib64/ruby/gems/3.1.0/gems/io-console-0.6.0/lib/io/console/size.rb /usr/lib64/ruby/gems/3.1.0/specifications /usr/lib64/ruby/gems/3.1.0/specifications/io-console-0.6.0.gemspec /usr/lib64/ruby/gems/3.2.0 /usr/lib64/ruby/gems/3.2.0/extensions /usr/lib64/ruby/gems/3.2.0/extensions/x86_64-linux /usr/lib64/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0 /usr/lib64/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.6.0 /usr/lib64/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.6.0/gem.build_complete /usr/lib64/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.6.0/io /usr/lib64/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.6.0/io/console.so /usr/lib64/ruby/gems/3.2.0/gems /usr/lib64/ruby/gems/3.2.0/gems/io-console-0.6.0 /usr/lib64/ruby/gems/3.2.0/gems/io-console-0.6.0/lib /usr/lib64/ruby/gems/3.2.0/gems/io-console-0.6.0/lib/io /usr/lib64/ruby/gems/3.2.0/gems/io-console-0.6.0/lib/io/console /usr/lib64/ruby/gems/3.2.0/gems/io-console-0.6.0/lib/io/console.rb /usr/lib64/ruby/gems/3.2.0/gems/io-console-0.6.0/lib/io/console.so /usr/lib64/ruby/gems/3.2.0/gems/io-console-0.6.0/lib/io/console/ffi /usr/lib64/ruby/gems/3.2.0/gems/io-console-0.6.0/lib/io/console/ffi/bsd_console.rb /usr/lib64/ruby/gems/3.2.0/gems/io-console-0.6.0/lib/io/console/ffi/common.rb /usr/lib64/ruby/gems/3.2.0/gems/io-console-0.6.0/lib/io/console/ffi/console.rb /usr/lib64/ruby/gems/3.2.0/gems/io-console-0.6.0/lib/io/console/ffi/linux_console.rb /usr/lib64/ruby/gems/3.2.0/gems/io-console-0.6.0/lib/io/console/ffi/native_console.rb /usr/lib64/ruby/gems/3.2.0/gems/io-console-0.6.0/lib/io/console/ffi/stty_console.rb /usr/lib64/ruby/gems/3.2.0/gems/io-console-0.6.0/lib/io/console/ffi/stub_console.rb /usr/lib64/ruby/gems/3.2.0/gems/io-console-0.6.0/lib/io/console/size.rb /usr/lib64/ruby/gems/3.2.0/specifications /usr/lib64/ruby/gems/3.2.0/specifications/io-console-0.6.0.gemspec /usr/share /usr/share/doc /usr/share/doc/io-console-0.6.0 /usr/share/doc/io-console-0.6.0/README.md.bz2
I can reproduce this when io-console is installed as a gem.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d74a346e8d0ed9535f2f77c50e47c41b438c9bb3 commit d74a346e8d0ed9535f2f77c50e47c41b438c9bb3 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2023-07-09 05:28:39 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2023-07-09 05:42:23 +0000 dev-ruby/io-console: only install expected files The gemspec file installs different files depending on the ruby engine. Match this to avoid loading the wrong files. Closes: https://bugs.gentoo.org/909442 Signed-off-by: Hans de Graaff <graaff@gentoo.org> .../{io-console-0.6.0.ebuild => io-console-0.6.0-r1.ebuild} | 4 ++++ 1 file changed, 4 insertions(+)