Source: ruby-mini-magick Version: 4.13.1-1 Severity: important Justification: FTBFS Tags: trixie sid ftbfs User: [email protected] Usertags: ruby-mocha-2
Hi, We are trying to update ruby-mocha to version 2, currently available in experimental. During a test rebuild, ruby-mini-magick was found to fail to build in that situation. This does not look related to mocha, since the package uses rspec, but when I tried to build without ruby-mocha from experimental, the build passed. To reproduce this locally, you need to install ruby-mocha from experimental on an unstable system or build chroot. Relevant part (hopefully): > Failure/Error: expect(described_class.cli_version).to > match(/^\d+\.\d+\.\d+-\d+$/) > > expected "1.3.45" to match /^\d+\.\d+\.\d+-\d+$/ > Diff: > @@ -1 +1 @@ > -/^\d+\.\d+\.\d+-\d+$/ > +"1.3.45" > # ./spec/lib/mini_magick_spec.rb:31:in `block (3 levels) in <top > (required)>' > # > /usr/share/rubygems-integration/all/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in > `block (2 levels) in <top (required)>' > > Finished in 6.71 seconds (files took 0.61687 seconds to load) > 172 examples, 10 failures, 2 pending > > Failed examples: > > rspec ./spec/lib/mini_magick/image_spec.rb:430 # MiniMagick::Image#exif > returns a hash of EXIF data > rspec ./spec/lib/mini_magick/image_spec.rb:435 # MiniMagick::Image#exif > decodes the ExifVersion > rspec ./spec/lib/mini_magick/image_spec.rb:440 # MiniMagick::Image#exif > handles no EXIF data > rspec ./spec/lib/mini_magick/image_spec.rb:447 # MiniMagick::Image#resolution > accepts units > rspec ./spec/lib/mini_magick/image_spec.rb:481 # MiniMagick::Image#details > when verbose information includes an empty line skips the empty line > rspec ./spec/lib/mini_magick/image_spec.rb:493 # MiniMagick::Image#details > when verbose information includes a badly encoded line do skips the badly > encoded line > rspec ./spec/lib/mini_magick/image_spec.rb:503 # MiniMagick::Image#data when > the data return is not an array returns image JSON data > rspec ./spec/lib/mini_magick/image_spec.rb:512 # MiniMagick::Image#data when > the data return is an array (ex png) returns image JSON data > rspec ./spec/lib/mini_magick/shell_spec.rb:49 # MiniMagick::Shell#execute > executes the command in the shell > rspec ./spec/lib/mini_magick_spec.rb:29 # MiniMagick.cli_version returns > ImageMagick's version > > /usr/bin/ruby3.1 > -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.1" failed: The full build log is available at https://people.debian.org/~terceiro/ruby-mocha-2/ruby-mini-magick_arm64-2024-12-20T10:21:31Z.build This bug report is being filed as severity important, but will be raised to serious once ruby-mocha is updated in unstable.
signature.asc
Description: PGP signature

