#1151068 ruby-active-storage-validations: FTBFS: Failed examples

#1151068#5
Date:
2026-10-16 16:03:39 UTC
From:
To:
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
--------------------------------------------------------------------------------

#1151068#10
Date:
2026-10-17 00:05:04 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ruby-active-storage-validations, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1151068@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon Quigley <tsimonq2@debian.org> (supplier of updated ruby-active-storage-validations package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 16 Oct 2026 18:58:21 -0500
Source: ruby-active-storage-validations
Architecture: source
Version: 4.1.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Simon Quigley <tsimonq2@debian.org>
Closes: 1151068
Changes:
 ruby-active-storage-validations (4.1.1-2) unstable; urgency=medium
 .
   * Accept Marcel 2 MIME aliases in spoofing checks (Closes: #1151068).
Checksums-Sha1:
 ba6a365bf40fd65f3feb4bb6a6d4f90e7d2cdfea 2600 ruby-active-storage-validations_4.1.1-2.dsc
 a601bb536d746bd044e7f32b68f5193f1ffd15f6 3332 ruby-active-storage-validations_4.1.1-2.debian.tar.xz
 4d804f606c9c6103cc4eaa1e4ba2d4845d88c4e4 16616 ruby-active-storage-validations_4.1.1-2_source.buildinfo
Checksums-Sha256:
 5e02043fc33fa888022919c13e922de32ed3d3f3cb01f74012b96868ce01470a 2600 ruby-active-storage-validations_4.1.1-2.dsc
 9a67139763bf26699d85d0e1e69f13500b4cb3a84a127798c111ddc77309c544 3332 ruby-active-storage-validations_4.1.1-2.debian.tar.xz
 d0a25cd8785cd909b994570eb730760e8d4456d967895b4c81009226a99faec5 16616 ruby-active-storage-validations_4.1.1-2_source.buildinfo
Files:
 61af1a5b55e05d0889b65edd9b902807 2600 ruby optional ruby-active-storage-validations_4.1.1-2.dsc
 ed69fbb3b2ba784eb8afc7cfd083f1ad 3332 ruby optional ruby-active-storage-validations_4.1.1-2.debian.tar.xz
 2f56fb1bd271d7e0f7a2a9ef4fb5dbbd 16616 ruby optional ruby-active-storage-validations_4.1.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmrSun8ACgkQ4n8s+EWM
L6TmrA//TFyUNigU633y1oA4oJEoiZSX2QfFLiAwAxS3aSZeEkWrEzeWPKnxXF5Z
4J3JQ5o/H03AF27Fqfl4C7pj+oImAdU55wNBblUPkYBNHgQnscNvwQ+zDpSIOCPo
nQC2EoLfULoXOdI3je0BVy8iqXg573Q9O08Xbvvrwu8ycHQRYP8o5j8uaI6rpOrC
Ygbm6KFxZCwTpAPIB9jOh5eRW2CGZ0JPdQWNKnp6meRwbz0qtdnOWcborq6evzRp
F+xEFRxbQLq97gX8L+/0eJzabwHthv8xo7BeTbNuejXVhiXXqFf0u7NeNyHn1t/R
blcMrj8YAXQSH6yZB27AHw3w22l5SjczriNZbMgMc3bFrExj4qfBbVyrFcDGekrU
jv4ySvFcnMU/ge8hKXxM83EcHJAw5o+LhXkS2tY+Uraqveu0475r8SP6XXP1Ytmy
atTZ2XBM+U1kOXKNgiTp/Lsh6ycE+yw7juJ/NGIUYKaRQyvp0bv5VecXiJHdfePa
DItNnNvoZ7cJoZv5Gd3dhCgCq5JkCXUz3Hju7e2o3N33ANIyCYY03/RTsjoVNvoG
d2ZL+Yajk3/OQvZAN+HJWroge1X1Y0fcq4GJeKOdLb0/pofSOTkhB94Jq1t6tLwa
+tyoqQOLxPAbUvLPLx7jSVR7Kl2P5cHBUZy8+kg/LSVyN3/R3K4=
=KJ3u
-----END PGP SIGNATURE-----