[DRE-maint] Bug#996135: ruby-benchmark-memory: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: ArgumentError:
Antonio Terceiro
terceiro at debian.org
Mon Oct 11 14:01:16 BST 2021
Source: ruby-benchmark-memory
Version: 0.1.2-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0
Hi,
We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-benchmark-memory was found to fail to build in that situation.
To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.
Relevant part (hopefully):
> ArgumentError:
> wrong number of arguments (given 1, expected 0; required keywords: memory, objects, strings)
> # ./lib/benchmark/memory/measurement.rb:41:in `initialize'
> # ./spec/benchmark/memory/report_spec.rb:28:in `new'
> # ./spec/benchmark/memory/report_spec.rb:28:in `create_measurement'
> # ./spec/benchmark/memory/report_spec.rb:14:in `block (3 levels) in <top (required)>'
>
> Finished in 0.66712 seconds (files took 0.3026 seconds to load)
> 25 examples, 1 failure
>
> Failed examples:
>
> rspec ./spec/benchmark/memory/report_spec.rb:11 # Benchmark::Memory::Report#add_entry adds an entry to the list of entries
>
> Randomized with seed 55020
>
> /usr/bin/ruby3.0 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.0" failed:
The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-benchmark-memory/ruby-benchmark-memory_0.1.2-2+rebuild1633375629_amd64.build.txt
-------------- 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/20211011/18c2e874/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list