[DRE-maint] Bug#1120233: ruby-html2haml: FTBFS: dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-html2haml returned exit code 1

Santiago Vila sanvila at debian.org
Thu Nov 6 12:00:25 GMT 2025


Package: src:ruby-html2haml
Version: 2.3.0-3
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/202511/

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=ruby --with ruby
   dh_auto_clean -O--buildsystem=ruby
	dh_ruby --clean
   dh_autoreconf_clean -O--buildsystem=ruby
   dh_clean -O--buildsystem=ruby
 debian/rules binary
dh binary --buildsystem=ruby --with ruby
   dh_update_autotools_config -O--buildsystem=ruby
   dh_autoreconf -O--buildsystem=ruby
   dh_auto_configure -O--buildsystem=ruby
	dh_ruby --configure
   dh_auto_build -O--buildsystem=ruby
	dh_ruby --build
   dh_auto_test -O--buildsystem=ruby
	dh_ruby --test
   create-stamp debian/debhelper-build-stamp
   dh_testroot -O--buildsystem=ruby
   dh_prep -O--buildsystem=ruby
   dh_auto_install --destdir=debian/ruby-html2haml/ -O--buildsystem=ruby
	dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-html2haml

┌──────────────────────────────────────────────────────────────────────────────┐
│ ruby-html2haml: Installing files and building extensions for ruby3.3         │
└──────────────────────────────────────────────────────────────────────────────┘

/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20251106-61-fh0uj7/gemspec
WARNING:  description and summary are identical
WARNING:  open-ended dependency on nokogiri (>= 1.6.0) is not recommended
  if nokogiri is semantically versioned, use:
    add_runtime_dependency "nokogiri", "~> 1.6", ">= 1.6.0"
WARNING:  open-ended dependency on haml (>= 4.0) is not recommended
  if haml is semantically versioned, use:
    add_runtime_dependency "haml", "~> 4.0"
WARNING:  open-ended dependency on minitest (>= 4.4.0, development) is not recommended
  if minitest is semantically versioned, use:
    add_development_dependency "minitest", "~> 4.4", ">= 4.4.0"
WARNING:  open-ended dependency on rake (>= 0, development) is not recommended
  use a bounded requirement, such as "~> x.y"
WARNING:  See https://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: html2haml
  Version: 2.3.0
  File: html2haml-2.3.0.gem
/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-html2haml/usr/share/rubygems-integration/all /tmp/d20251106-61-fh0uj7/html2haml-2.3.0.gem
/<<PKGBUILDDIR>>/debian/ruby-html2haml/usr/share/rubygems-integration/all/gems/html2haml-2.3.0/bin/html2haml
/<<PKGBUILDDIR>>/debian/ruby-html2haml/usr/share/rubygems-integration/all/gems/html2haml-2.3.0/lib/html2haml.rb
/<<PKGBUILDDIR>>/debian/ruby-html2haml/usr/share/rubygems-integration/all/gems/html2haml-2.3.0/lib/html2haml/exec.rb
/<<PKGBUILDDIR>>/debian/ruby-html2haml/usr/share/rubygems-integration/all/gems/html2haml-2.3.0/lib/html2haml/html.rb
/<<PKGBUILDDIR>>/debian/ruby-html2haml/usr/share/rubygems-integration/all/gems/html2haml-2.3.0/lib/html2haml/html/erb.rb
/<<PKGBUILDDIR>>/debian/ruby-html2haml/usr/share/rubygems-integration/all/gems/html2haml-2.3.0/lib/html2haml/version.rb
/<<PKGBUILDDIR>>/debian/ruby-html2haml/usr/share/rubygems-integration/all/bin/html2haml
Successfully installed html2haml-2.3.0
1 gem installed
mkdir -p debian/ruby-html2haml/usr/bin
mv debian/ruby-html2haml/usr/share/rubygems-integration/all/bin/html2haml debian/ruby-html2haml/usr/bin
cd debian/ruby-html2haml/usr/share/rubygems-integration/all
rm -rf bin
rm -rf build_info
rm -rf cache
rm -rf doc
rm -rf extensions
rmdir plugins
cd gems/html2haml-2.3.0
rm -f 
chmod 644 lib/html2haml/exec.rb lib/html2haml/html/erb.rb lib/html2haml/html.rb lib/html2haml/version.rb lib/html2haml.rb
find lib/ -type d -empty -delete
cd -
cd -
Rewriting shebang line of /<<PKGBUILDDIR>>/debian/ruby-html2haml/usr/bin/html2haml
/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner

┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby3.3                           │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-html2haml/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -e gem\ \"html2haml\"

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby3.3 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-html2haml/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
/usr/bin/ruby3.3 -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/erb_test.rb" "test/html2haml_test.rb"  -v
Run options: -v --seed 63793

# Running:

Html2HamlTest#test_filter_with_inconsistent_indentation = 0.00 s = .
Html2HamlTest#test_ascii_incompatible_encoding_error = 0.00 s = .
Html2HamlTest#test_comma_post_tag = 0.00 s = .
Html2HamlTest#test_style_to_css_filter = 0.00 s = .
Html2HamlTest#test_script_tag = 0.00 s = .
Html2HamlTest#test_should_have_ruby_19_hash_style_attributes = 0.00 s = .
Html2HamlTest#test_haml_tags_should_be_on_new_line_after_tag_with_blank_content = 0.00 s = .
Html2HamlTest#test_self_closing_tag = 0.00 s = .
Html2HamlTest#test_equals_in_tag = 0.00 s = .
Html2HamlTest#test_should_have_html_style_attributes = 0.00 s = .
Html2HamlTest#test_inline_comment = 0.00 s = .
Html2HamlTest#test_style_to_css_filter_with_following_content = 0.00 s = .
Html2HamlTest#test_interpolation = 0.00 s = .
Html2HamlTest#test_comma_post_tag_with_text_before = 0.00 s = .
Html2HamlTest#test_code_without_pre = 0.00 s = .
Html2HamlTest#test_inline_conditional_comment = 0.00 s = .
Html2HamlTest#test_style_to_css_filter_with_no_content = 0.00 s = .
Html2HamlTest#test_inline_text = 0.00 s = .
Html2HamlTest#test_conditional_comment = 0.00 s = .
Html2HamlTest#test_non_inline_comment = 0.00 s = .
Html2HamlTest#test_empty_render_should_remain_empty = 0.00 s = .
Html2HamlTest#test_non_inline_text = 0.00 s = .
Html2HamlTest#test_should_have_pretty_attributes = 0.00 s = .
Html2HamlTest#test_encoding_error = 0.00 s = .
Html2HamlTest#test_script_tag_with_cdata = 0.00 s = .
Html2HamlTest#test_minus_in_tag = 0.00 s = .
Html2HamlTest#test_interpolation_in_attrs = 0.00 s = .
Html2HamlTest#test_id_and_class_should_be_removed_from_hash = 0.00 s = .
Html2HamlTest#test_pre = 0.00 s = .
Html2HamlTest#test_doctype = 0.00 s = .
Html2HamlTest#test_script_tag_with_html_escaped_javascript = 0.00 s = .
Html2HamlTest#test_no_tag_name_for_div_if_class_or_id_is_present = 0.00 s = .
Html2HamlTest#test_xhtml_strict_doctype = 0.00 s = .
Html2HamlTest#test_class_with_dot_and_hash = 0.00 s = .
Html2HamlTest#test_pre_code = 0.00 s = .
Html2HamlTest#test_html_document_without_doctype = 0.00 s = F
Html2HamlTest#test_should_have_attributes_without_values = 0.00 s = .
Html2HamlTest#test_id_with_dot_and_hash = 0.00 s = .
Html2HamlTest#test_hash_in_tag = 0.00 s = .
Html2HamlTest#test_multiple_class_names = 0.00 s = .
Html2HamlTest#test_cdata = 0.00 s = .
ErbTest#test_escaped_ruby_call_when_preceded_by_text = 0.00 s = .
ErbTest#test_block_parsing_with_modified_end = 0.00 s = .
ErbTest#test_begin_rescue_ensure = 0.00 s = .
ErbTest#test_empty_erb_in_attribute = 0.00 s = .
ErbTest#test_multiline_erb_silent_script = 0.00 s = .
ErbTest#test_erb = 0.00 s = .
ErbTest#test_silent_inside_block_inside_tag = 0.00 s = .
ErbTest#test_erb_in_html_escaped_attribute = 0.00 s = .
ErbTest#test_block_parsing_with_modified_end_with_block = 0.00 s = .
ErbTest#test_non_inline_erb = 0.00 s = .
ErbTest#test_two_multiline_erb_loud_scripts = 0.00 s = .
ErbTest#test_multiline_erb_comment = 0.00 s = .
ErbTest#test_multiline_then_single_line_erb_loud_scripts = 0.00 s = .
ErbTest#test_tag_inside_block = 0.00 s = .
ErbTest#test_erb_in_id_attribute = 0.00 s = .
ErbTest#test_erb_in_attribute_results_in_string_interpolation = 0.00 s = .
ErbTest#test_erb_in_html_escaped_attribute_with_symbol = 0.00 s = .
ErbTest#test_should_wrap_in_silent = 0.00 s = .
ErbTest#test_block_parsing_with_equals = 0.00 s = .
ErbTest#test_erb_in_style = 0.00 s = .
ErbTest#test_multiline_block_opener = 0.00 s = .
ErbTest#test_if_elsif_else_parsing = 0.00 s = .
ErbTest#test_can_parse_ruby_19_hashes_as_arguments = 0.00 s = .
ErbTest#test_erb_in_line = 0.00 s = .
ErbTest#test_interpolation_in_erb = 0.00 s = .
ErbTest#test_multiline_erb_loud_script = 0.00 s = .
ErbTest#test_commented_erb_should_not_cause_indentation = 0.00 s = .
ErbTest#test_erb_with_html_special_chars = 0.00 s = .
ErbTest#test_erb_in_script = 0.00 s = .
ErbTest#test_weirdly_indented_multiline_erb_loud_script = 0.00 s = .
ErbTest#test_interpolation_in_erb_attrs = 0.00 s = .
ErbTest#test_should_wrap_process_comments_as_empty_lines = 0.00 s = .
ErbTest#test_conditional_structure_in_argument = 0.00 s = .
ErbTest#test_erb_in_cdata = 0.00 s = .
ErbTest#test_case_when_parsing = 0.01 s = .
ErbTest#test_method_call_without_brackets_in_argument = 0.00 s = .
ErbTest#test_erb_with_double_equals = 0.00 s = .
ErbTest#test_whitespace_eating_erb_tags = 0.00 s = .
ErbTest#test_block_parsing_with_args = 0.00 s = .
ErbTest#test_inline_erb = 0.00 s = .
ErbTest#test_erb_in_attribute_with_trailing_content = 0.00 s = .
ErbTest#test_multiline_erb_but_really_single_line = 0.00 s = .
ErbTest#test_erb_in_class_attribute = 0.00 s = .
ErbTest#test_erb_in_attribute_to_multiple_interpolations = 0.00 s = .
ErbTest#test_erb_multi_in_line = 0.00 s = .
ErbTest#test_block_parsing = 0.00 s = .

Finished in 0.067888s, 1281.5282 runs/s, 1738.1647 assertions/s.

  1) Failure:
Html2HamlTest#test_html_document_without_doctype [test/html2haml_test.rb:405]:
--- expected
+++ actual
@@ -1,7 +1,6 @@
 "!!!
 %html
   %head
-    %meta{:content => \"text/html; charset=UTF-8\", \"http-equiv\" => \"Content-Type\"}/
     %title Hello
   %body
     %p Hello"


87 runs, 118 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/erb_test.rb" "test/html2haml_test.rb"  -v]
/usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby3.3" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-html2haml returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



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