🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1155284: ruby-selma: FTBFS: Expected {:name=>7...15, :value=>nil} to be nil.

#4191
From: Santiago Vila
Date: Wed, 25 Nov 2026 13:10
91 lines
6183 bytes
Package: src:ruby-selma
Version: 0.5.4-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/202611/

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-selma, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
sanitization#test_blocks_invalid_doctypes_in_documents [test/selma_sanitizer_doctype_test.rb:23]:
non-essential feature

  3) Failure:
SelmaRewriterAttributeSourceLocationTest#test_returns_nil_for_pure_boolean_attribute [test/selma_rewriter_attribute_source_location_test.rb:76]:
Expected {:name=>7...15, :value=>nil} to be nil.

  4) Skipped:
Selma::SanitizerMaliciousHtmlTest#test_should_escape_erb_style_tags [test/selma_sanitizer_malicious_html_test.rb:54]:
non-essential feature

  5) Skipped:
Selma::SanitizerMaliciousHtmlTest#test_should_remove_php_style_tags [test/selma_sanitizer_malicious_html_test.rb:68]:
non-essential feature

  6) Skipped:
#fragment#test_should_normalize_newlines [test/selma_sanitizer_test.rb:124]:
non-essential feature

  7) Skipped:
#fragment#test_should_strip_non_characters [test/selma_sanitizer_test.rb:145]:
non-essential feature

  8) Skipped:
#fragment#test_should_strip_control_characters_except_ascii_whitespace [test/selma_sanitizer_test.rb:133]:
non-essential feature

  9) Skipped:
sanitize::Custom config#test_should_not_modify_meta_tags_that_already_set_a_utf8_charset [test/selma_sanitizer_elements_test.rb:493]:
non-essential feature

 10) Skipped:
sanitize::Custom config#test_should_prevent_meta_tags_from_being_used_to_set_a_non_utf8_charset_when_charset_other_values [test/selma_sanitizer_elements_test.rb:465]:
non-essential feature

 11) Skipped:
sanitization::when :allow_doctype is true#test_blocks_invalid_doctypes_in_documents [test/selma_sanitizer_doctype_test.rb:67]:
non-essential feature

229 runs, 1152 assertions, 1 failures, 0 errors, 10 skips
rake aborted!
Command failed with status (1): [ruby -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.4.2/lib/rake/rake_test_loader.rb "test/selma_maliciousness_test.rb" "test/selma_rewriter_attribute_source_location_test.rb" "test/selma_rewriter_match_attribute_test.rb" "test/selma_rewriter_match_element_test.rb" "test/selma_rewriter_test.rb" "test/selma_rewriter_text_test.rb" "test/selma_sanitizer_attributes_test.rb" "test/selma_sanitizer_comments_test.rb" "test/selma_sanitizer_config_test.rb" "test/selma_sanitizer_doctype_test.rb" "test/selma_sanitizer_elements_test.rb" "test/selma_sanitizer_malicious_html_test.rb" "test/selma_sanitizer_parser_test.rb" "test/selma_sanitizer_scan_test.rb" "test/selma_sanitizer_test.rb" "test/selma_selector_test.rb" "test/test_helper.rb"  -v]
/usr/share/rubygems-integration/all/gems/rake-13.4.2/exe/rake:27:in `<top (required)>'
Tasks: TOP => default
(See full trace by running task with --trace)
/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:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID: <O3kV3-e4zH-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1155284: ruby-selma: FTBFS: Expected {:name=>7...15, :value=>nil} to be nil.
Date: Wed, 25 Nov 2026 14:10:01 +0100
Message-ID: <O3kV3-e4zH-11@gated-at.bofh.it>
X-Original-To: Debian BTS <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Wed Nov 25 13:06:35 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1155284@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 1155284
X-Debian-Pr-Package: src:ruby-selma
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: ruby-selma
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/839634
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 91
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 25 Nov 2026 13:04:23 +0000
X-Original-Message-ID: <E1xWCff-008iKT-0c@paradis.debian.org>