[DRE-maint] Bug#1091662: ruby-mixlib-log: FTBFS with ruby3.3: ERROR: Test "ruby3.3" failed: NoMethodError:
Antonio Terceiro
terceiro at debian.org
Sun Dec 29 11:45:16 GMT 2024
Source: ruby-mixlib-log
Version: 3.0.8-1
Severity: important
Justification: FTBFS
Tags: trixie sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.3
Hi,
We are about to enable building against ruby3.3 on unstable. During a test
rebuild, ruby-mixlib-log was found to fail to build in that situation. This bug
is being reported as important, but will be upgraded to serious soon.
To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.
Relevant part (hopefully):
> NoMethodError:
> undefined method `[]' for nil
> # ./lib/mixlib/log.rb:131:in `block (2 levels) in <module:Log>'
> # ./spec/mixlib/log_spec.rb:159:in `block (2 levels) in <top (required)>'
>
> Finished in 0.02003 seconds (files took 0.10128 seconds to load)
> 44 examples, 9 failures
>
> Failed examples:
>
> rspec './spec/mixlib/log/child_spec.rb[1:5:1]' # Mixlib::Log::Child can query the parent's level at debug
> rspec './spec/mixlib/log/child_spec.rb[1:5:2]' # Mixlib::Log::Child can query the parent's level at info
> rspec './spec/mixlib/log/child_spec.rb[1:5:3]' # Mixlib::Log::Child can query the parent's level at warn
> rspec './spec/mixlib/log/child_spec.rb[1:5:4]' # Mixlib::Log::Child can query the parent's level at error
> rspec './spec/mixlib/log/child_spec.rb[1:5:5]' # Mixlib::Log::Child can query the parent's level at fatal
> rspec ./spec/mixlib/log_spec.rb:98 # Mixlib::Log should set the log level using the binding form, with :trace, :debug, :info, :warn, :error, or :fatal
> rspec ./spec/mixlib/log_spec.rb:121 # Mixlib::Log should set the log level using the method form, with :trace, :debug, :info, :warn, :error, or :fatal
> rspec ./spec/mixlib/log_spec.rb:144 # Mixlib::Log should pass other method calls directly to logger
> rspec ./spec/mixlib/log_spec.rb:155 # Mixlib::Log should pass add method calls directly to logger
>
> /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.3" failed:
The full build log is available at
https://people.debian.org/~terceiro/ruby3.3/ruby-mixlib-log/ruby-mixlib-log_3.0.8-1+rebuild1733800220_amd64.build
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20241229/a964a247/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list