Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909442 - dev-ruby/reline-0.3.5 fails tests
Summary: dev-ruby/reline-0.3.5 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-01 14:38 UTC by Agostino Sarubbo
Modified: 2023-07-09 05:42 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,50.00 KB, text/plain)
2023-07-01 14:38 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-07-01 14:38:39 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2023-07-01 14:38:41 UTC
Created attachment 864963 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-01 14:43:30 UTC
>>> 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.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-01 14:44:07 UTC
also 'equery f dev-ruby/io-console'
Comment 4 Agostino Sarubbo gentoo-dev 2023-07-01 15:12:58 UTC
  [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
Comment 5 Hans de Graaff gentoo-dev Security 2023-07-09 05:04:27 UTC
I can reproduce this when io-console is installed as a gem.
Comment 6 Larry the Git Cow gentoo-dev 2023-07-09 05:42:27 UTC
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(+)