🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #715

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

#715
From: Santiago Vila
Date: Fri, 16 Oct 2026 16:10
64 lines
5687 bytes
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
--------------------------------------------------------------------------------
Technical Details
Message-ID: <NOSFk-5Xhp-15@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1151068: ruby-active-storage-validations: FTBFS: Failed examples
Date: Fri, 16 Oct 2026 18:10:02 +0200
Message-ID: <NOSFk-5Xhp-15@gated-at.bofh.it>
X-Original-To: Debian BTS <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Fri Oct 16 16:05:17 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1151068@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sanvila@debian.org, pkg-ruby-extras-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: report 1151068
X-Debian-Pr-Package: src:ruby-active-storage-validations
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: ruby-active-storage-validations
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834685
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 64
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 16 Oct 2026 16:03:39 +0000
X-Original-Message-ID: <E1xHkPD-007TOz-0T@paradis.debian.org>