[DRE-maint] Bug#1019639: ruby-minitest-hooks: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed.

Antonio Terceiro terceiro at debian.org
Tue Sep 13 02:01:27 BST 2022


Source: ruby-minitest-hooks
Version: 1.5.0-2
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.1

Hi,

We are about to start the ruby3.1 transition in unstable. While trying to
rebuild ruby-minitest-hooks with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
> /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.1                           │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-minitest-hooks/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -e gem\ \"minitest-hooks\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.1 from debian/ruby-tests.rb                              │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-minitest-hooks/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-minitest-hooks/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 debian/ruby-tests.rb
> /usr/bin/ruby3.0 spec/all.rb
> Ignoring debug-1.4.0 because its extensions are not built. Try: gem pristine debug --version 1.4.0
> Ignoring rbs-2.1.0 because its extensions are not built. Try: gem pristine rbs --version 2.1.0
> Ignoring sdbm-1.0.0 because its extensions are not built. Try: gem pristine sdbm --version 1.0.0
> Run options: --seed 47752
> 
> # Running:
> 
> ..................FFFFFFFF
> 
> Finished in 1.445091s, 17.9920 runs/s, 186.8395 assertions/s.
> 
>   1) Failure:
> Minitest::Hooks error handling#test_0003_should handle errors in after [/<<PKGBUILDDIR>>/spec/minitest_hooks_errors_spec.rb:18]:
> --- expected
> +++ actual
> @@ -1 +1,2 @@
> -""
> +"Ignoring debug-1.4.0 because its extensions are not built. Try: gem pristine debug --version 1.4.0
> +"
> 
> 
>   2) Failure:
> Minitest::Hooks error handling#test_0007_should handle errors in around-all-before [/<<PKGBUILDDIR>>/spec/minitest_hooks_errors_spec.rb:18]:
> --- expected
> +++ actual
> @@ -1 +1,2 @@
> -""
> +"Ignoring debug-1.4.0 because its extensions are not built. Try: gem pristine debug --version 1.4.0
> +"
> 
> 
>   3) Failure:
> Minitest::Hooks error handling#test_0006_should handle errors in around-after [/<<PKGBUILDDIR>>/spec/minitest_hooks_errors_spec.rb:18]:
> --- expected
> +++ actual
> @@ -1 +1,2 @@
> -""
> +"Ignoring debug-1.4.0 because its extensions are not built. Try: gem pristine debug --version 1.4.0
> +"
> 
> 
>   4) Failure:
> Minitest::Hooks error handling#test_0004_should handle errors in after-all [/<<PKGBUILDDIR>>/spec/minitest_hooks_errors_spec.rb:18]:
> --- expected
> +++ actual
> @@ -1 +1,2 @@
> -""
> +"Ignoring debug-1.4.0 because its extensions are not built. Try: gem pristine debug --version 1.4.0
> +"
> 
> 
>   5) Failure:
> Minitest::Hooks error handling#test_0001_should handle errors in before-all [/<<PKGBUILDDIR>>/spec/minitest_hooks_errors_spec.rb:18]:
> --- expected
> +++ actual
> @@ -1 +1,2 @@
> -""
> +"Ignoring debug-1.4.0 because its extensions are not built. Try: gem pristine debug --version 1.4.0
> +"
> 
> 
>   6) Failure:
> Minitest::Hooks error handling#test_0002_should handle errors in before [/<<PKGBUILDDIR>>/spec/minitest_hooks_errors_spec.rb:18]:
> --- expected
> +++ actual
> @@ -1 +1,2 @@
> -""
> +"Ignoring debug-1.4.0 because its extensions are not built. Try: gem pristine debug --version 1.4.0
> +"
> 
> 
>   7) Failure:
> Minitest::Hooks error handling#test_0008_should handle errors in around-all-after [/<<PKGBUILDDIR>>/spec/minitest_hooks_errors_spec.rb:18]:
> --- expected
> +++ actual
> @@ -1 +1,2 @@
> -""
> +"Ignoring debug-1.4.0 because its extensions are not built. Try: gem pristine debug --version 1.4.0
> +"
> 
> 
>   8) Failure:
> Minitest::Hooks error handling#test_0005_should handle errors in around-before [/<<PKGBUILDDIR>>/spec/minitest_hooks_errors_spec.rb:18]:
> --- expected
> +++ actual
> @@ -1 +1,2 @@
> -""
> +"Ignoring debug-1.4.0 because its extensions are not built. Try: gem pristine debug --version 1.4.0
> +"
> 
> 
> 26 runs, 270 assertions, 8 failures, 0 errors, 0 skips
> rake aborted!
> Command failed with status (1): [/usr/bin/ruby3.0 spec/all.rb...]
> /<<PKGBUILDDIR>>/Rakefile:15:in `block in <top (required)>'
> Tasks: TOP => spec
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.1" failed.


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/ruby-minitest-hooks/ruby-minitest-hooks_1.5.0-2+rebuild1663007840_amd64-2022-09-12T18:37:21Z.build

To reproduce this, you need to install ruby-all-dev >= 1:3.0+2. Depending on
when you try this, it might mean installing ruby-all-dev from experimental, or
if the transition has already started, a normal build on unstable will be
enough.  If you fail to reproduce, please provide a build log and diff it with
mine so that we can identify if something relevant changed in the meantime.

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
-------------- 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/20220912/55b294de/attachment-0001.sig>


More information about the Pkg-ruby-extras-maintainers mailing list