[DRE-maint] Bug#996319: ruby-mini-magick: FTBFS: ERROR: Test "ruby2.7" failed: Failure/Error: expect(described_class.new(output_path.to_s)).to be_valid

Antonio Terceiro terceiro at debian.org
Tue Oct 12 23:52:36 BST 2021


Source: ruby-mini-magick
Version: 4.10.1-1
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-mini-magick was found to fail to build in that situation.

This does not seem related to ruby3.0, though.

Relevant part (hopefully):
>      Failure/Error: expect(described_class.new(output_path.to_s)).to be_valid
>        expected `#<MiniMagick::Image:0x0000559593a1d9b0 @path="/tmp/20211004-4162560-wmodba", @tempfile=nil, @info=#<MiniMagick::Image::Info:0x0000559593a1d988 @path="/tmp/20211004-4162560-wmodba", @info={}>>.valid?` to return true, got false
>      # ./spec/lib/mini_magick/image_spec.rb:323:in `block (5 levels) in <top (required)>'
> 
> Finished in 25.39 seconds (files took 1.61 seconds to load)
> 283 examples, 8 failures, 5 pending
> 
> Failed examples:
> 
> rspec './spec/lib/mini_magick/image_spec.rb[1:1:1:3]' # With ImageMagick MiniMagick::Image.read reads image from tempfile
> rspec './spec/lib/mini_magick/image_spec.rb[1:1:8:5]' # With ImageMagick MiniMagick::Image#format works without an extension with .open
> rspec './spec/lib/mini_magick/image_spec.rb[1:1:9:1]' # With ImageMagick MiniMagick::Image#write writes the image
> rspec './spec/lib/mini_magick/image_spec.rb[1:1:9:4]' # With ImageMagick MiniMagick::Image#write accepts a Pathname
> rspec './spec/lib/mini_magick/image_spec.rb[2:1:1:3]' # With GraphicsMagick MiniMagick::Image.read reads image from tempfile
> rspec './spec/lib/mini_magick/image_spec.rb[2:1:8:5]' # With GraphicsMagick MiniMagick::Image#format works without an extension with .open
> rspec './spec/lib/mini_magick/image_spec.rb[2:1:9:1]' # With GraphicsMagick MiniMagick::Image#write writes the image
> rspec './spec/lib/mini_magick/image_spec.rb[2:1:9:4]' # With GraphicsMagick MiniMagick::Image#write accepts a Pathname
> 
> /usr/bin/ruby2.7 -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 "ruby2.7" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-mini-magick/ruby-mini-magick_4.10.1-1+rebuild1633386655_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/20211012/6c1a89e5/attachment.sig>


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