[DRE-maint] Bug#1151068: ruby-active-storage-validations: FTBFS: Failed examples

Santiago Vila sanvila at debian.org
Fri Oct 16 17:03:39 BST 2026


Package: src:ruby-active-storage-validations
Version: 4.1.1-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ruby-active-storage-validations, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
     # /usr/share/rubygems-integration/all/gems/webmock-3.26.4/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'

Finished in 47.05 seconds (files took 2.22 seconds to load)
2758 examples, 3 failures

Failed examples:

rspec './spec/validators/content_type_validator_spec.rb[1:4:6:1:4:29:1]' # ActiveStorageValidations::ContentTypeValidator Validator checks :spoofing_protection when the protection is enabled (spoofing_protection: true option) working with most common mime types 'application/xml' file (.xml) identifies the mime type correctly (ie it is valid, an invalid identification will make it invalid)
rspec './spec/validators/content_type_validator_spec.rb[1:4:6:1:4:19:1]' # ActiveStorageValidations::ContentTypeValidator Validator checks :spoofing_protection when the protection is enabled (spoofing_protection: true option) working with most common mime types 'audio/mp4' file (.m4a) identifies the mime type correctly (ie it is valid, an invalid identification will make it invalid)
rspec './spec/validators/content_type_validator_spec.rb[1:4:6:1:4:22:1]' # ActiveStorageValidations::ContentTypeValidator Validator checks :spoofing_protection when the protection is enabled (spoofing_protection: true option) working with most common mime types 'audio/aac' file (.aac) identifies the mime type correctly (ie it is valid, an invalid identification will make it invalid)

Randomized with seed 31706

Coverage report generated for RSpec to coverage/index.html
Line coverage: 2263 / 2364 (95.72%)
Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.7/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.6/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.6/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
mv ./.gem2deb.Gemfile.lock Gemfile.lock
/usr/lib/ruby/vendor_ruby/gem2deb.rb:52:in `run': /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner (Gem2Deb::CommandFailed)
	from /usr/lib/ruby/vendor_ruby/gem2deb.rb:64:in `block in run_ruby'
	from /usr/lib/ruby/vendor_ruby/gem2deb.rb:87:in `maybe_crossbuild'
	from /usr/lib/ruby/vendor_ruby/gem2deb.rb:63:in `run_ruby'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:189:in `run_tests_for_version'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:176:in `block in run_tests'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `each'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `run_tests'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:71:in `run_tests'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:88:in `test'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:142:in `test'
	from /usr/bin/dh_ruby:91:in `<main>'
dh_auto_test: error: dh_ruby --test returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



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