[DRE-maint] Bug#1084367: ruby-ronn: FTBFS: failing tests
Santiago Vila
sanvila at debian.org
Mon Oct 7 09:41:24 BST 2024
Package: src:ruby-ronn
Version: 0.10.1-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
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
debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install
dh_ruby --install /<<PKGBUILDDIR>>/debian/tmp
┌──────────────────────────────────────────────────────────────────────────────┐
│ Install files │
└──────────────────────────────────────────────────────────────────────────────┘
install -d /<<PKGBUILDDIR>>/debian/tmp/usr/bin
install -D -m755 /<<PKGBUILDDIR>>/bin/ronn /<<PKGBUILDDIR>>/debian/tmp/usr/bin/ronn
install -d /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby
install -D -m644 /<<PKGBUILDDIR>>/lib/ronn/document.rb /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby/ronn/document.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/ronn/index.rb /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby/ronn/index.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/ronn/roff.rb /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby/ronn/roff.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/ronn/server.rb /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby/ronn/server.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/ronn/template/80c.css /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby/ronn/template/80c.css
install -D -m644 /<<PKGBUILDDIR>>/lib/ronn/template/dark.css /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby/ronn/template/dark.css
install -D -m644 /<<PKGBUILDDIR>>/lib/ronn/template/darktoc.css /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby/ronn/template/darktoc.css
install -D -m644 /<<PKGBUILDDIR>>/lib/ronn/template/default.html /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby/ronn/template/default.html
install -D -m644 /<<PKGBUILDDIR>>/lib/ronn/template/man.css /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby/ronn/template/man.css
install -D -m644 /<<PKGBUILDDIR>>/lib/ronn/template/print.css /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby/ronn/template/print.css
install -D -m644 /<<PKGBUILDDIR>>/lib/ronn/template/screen.css /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby/ronn/template/screen.css
install -D -m644 /<<PKGBUILDDIR>>/lib/ronn/template/toc.css /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby/ronn/template/toc.css
install -D -m644 /<<PKGBUILDDIR>>/lib/ronn/template.rb /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby/ronn/template.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/ronn/utils.rb /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby/ronn/utils.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/ronn.rb /<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby/ronn.rb
Rewriting shebang line of /<<PKGBUILDDIR>>/debian/tmp/usr/bin/ronn
┌──────────────────────────────────────────────────────────────────────────────┐
│ Install Rubygems integration metadata │
└──────────────────────────────────────────────────────────────────────────────┘
generating gemspec at /<<PKGBUILDDIR>>/debian/tmp/usr/share/rubygems-integration/all/specifications/ronn-ng-0.10.1.gemspec
dh_installchangelogs -pruby-ronn /<<PKGBUILDDIR>>/CHANGELOG.md upstream
/usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner
┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby3.1 │
└──────────────────────────────────────────────────────────────────────────────┘
RUBYLIB=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/tmp/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -e gem\ \"ronn-ng\"
mv Gemfile.lock ./.gem2deb.Gemfile.lock
mv ./.gem2deb.Gemfile.lock Gemfile.lock
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby3.1 from debian/ruby-tests.rake │
└──────────────────────────────────────────────────────────────────────────────┘
RUBYLIB=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/tmp/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
mv Gemfile.lock ./.gem2deb.Gemfile.lock
/usr/bin/ruby3.1 -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/test_ronn.rb" "test/test_ronn_document.rb" "test/test_ronn_index.rb" -v
/<<PKGBUILDDIR>>/test/contest.rb:10: warning: method redefined; discarding old empty?
/usr/lib/ruby/gems/3.1.0/gems/test-unit-3.5.3/lib/test/unit/testsuite.rb:89: warning: previous definition of empty? was here
/<<PKGBUILDDIR>>/test/contest.rb:42: warning: method redefined; discarding old test
/usr/lib/ruby/gems/3.1.0/gems/test-unit-3.5.3/lib/test/unit/testcase.rb:312: warning: previous definition of test was here
/<<PKGBUILDDIR>>/lib/ronn/document.rb:223: warning: character class has duplicated range: /([\w_.\[\]~+=@:-]+)\s*\((\d\w*)\)\s*-+\s*(.*)/
/<<PKGBUILDDIR>>/lib/ronn/document.rb:226: warning: character class has duplicated range: /([\w_.\[\]~+=@:-]+)\s+-+\s+(.*)/
Loaded suite /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader
Started
DocumentTest:
test_extracting_toc: .: (0.053945)
test_new_with_no_path_and_1_dashes_in_name: .: (0.000470)
test_new_with_no_path_and_2_dashes_in_name: .: (0.000319)
test_new_with_no_path_and_3_dashes_in_name: .: (0.000289)
test_new_with_no_path_and_4_dashes_in_name: .: (0.000285)
test_new_with_no_path_and_5_dashes_in_name: .: (0.000295)
test_new_with_no_path_and_a_name_section: .: (0.000340)
test_new_with_no_path_and_a_name_section_and_1_dashes_in_name:.: (0.000282)
test_new_with_no_path_and_a_name_section_and_2_dashes_in_name:.: (0.001592)
test_new_with_no_path_and_a_name_section_and_3_dashes_in_name:.: (0.000290)
test_new_with_no_path_and_a_name_section_and_4_dashes_in_name:.: (0.000273)
test_new_with_no_path_and_a_name_section_and_5_dashes_in_name:.: (0.000274)
test_new_with_non_conventional_path_and_missing_name_section: .: (0.000318)
test_new_with_path: .: (0.000521)
test_new_with_path_and_block: .: (0.000318)
test_new_with_path_and_block_but_missing_name_section:.: (0.000271)
test_new_with_path_and_name_section_mismatch: .: (0.000340)
test_passing_a_list_of_styles: .: (0.000383)
TestSimpleConventionallyNamedDocument:
test_construct_a_path_to_related_documents: .: (0.000375)
test_convert_to_HTML_with_a_layout: .: (0.003789)
test_convert_to_an_HTML_fragment_with_a_wrap_class: .: (0.001114)
test_convert_to_an_HTML_fragment_with_no_wrap_div: .: (0.001118)
test_converting_to_a_hash: .: (0.001014)
test_converting_to_json: .: (0.005673)
test_converting_to_yaml: .: (0.001444)
test_extract_the_manual_page_name_from_the_filename_or_document: .: (0.000340)
test_extract_the_manual_page_section_from_the_filename_or_document: .: (0.000275)
test_load_data: .: (0.000324)
test_uses_default_styles: .: (0.000257)
IndexTest:
test_adding_manual_paths: .: (0.001133)
test_adding_manual_paths_that_are_already_present: .: (0.000132)
test_creating_with_a_block_reader: .: (0.000060)
test_creating_with_a_non_existent_file: .: (0.000053)
test_creating_with_an_index_file_and_no_block: .: (0.001005)
RonnTest:
test_abides_by_the_RONN_DATE_environment_variable: .: (0.170825)
test_abides_by_the_RONN_MANUAL_environment_variable: .: (0.173180)
test_abides_by_the_RONN_ORGANIZATION_environment_variable: .: (0.168531)
test_angle_bracket_syntax_HTML: F
===============================================================================
Failure: test_angle_bracket_syntax_HTML(RonnTest):
--- /<<PKGBUILDDIR>>/test/angle_bracket_syntax.html 2024-01-08 06:19:19.000000000 +0000
+++ /<<PKGBUILDDIR>>/test/angle_bracket_syntax.html.wrong 2024-10-06 16:33:08.198794638 +0000
@@ -13,7 +13,7 @@
<p>or when <code><WORD></code> is enclosed in backticks.</p>
-<p>or when <var>WORD</var> has a <dot.> or <foo:colon>.</foo:colon></dot.></p>
+<p>or when <var>WORD</var> has a <dot.> or <colon>.</colon></dot.></p>
<h2 id="Escaping-angle-brackets">Escaping angle brackets</h2>
.
/<<PKGBUILDDIR>>/test/test_ronn.rb:43:in `flunk_with_diff'
/<<PKGBUILDDIR>>/test/test_ronn.rb:96:in `block (2 levels) in <class:RonnTest>'
===============================================================================
: (0.173832)
test_angle_bracket_syntax_roff: warn: unrecognized inline tag: ["dot."]
.: (0.171117)
test_backticks_HTML: .: (0.172290)
test_basic_document_HTML: .: (0.168078)
test_code_blocks_HTML: .: (0.169483)
test_code_blocks_regression_HTML: .: (0.170943)
test_code_blocks_roff: .: (0.173507)
test_custom_title_document_HTML: .: (0.169905)
test_definition_list_syntax_HTML: .: (0.172803)
test_definition_list_syntax_roff: .: (0.173698)
test_dots_at_line_start_test_roff: .: (0.172914)
test_ellipses_roff: .: (0.165945)
test_entity_encoding_test_HTML: .: (0.173993)
test_entity_encoding_test_roff: warn: unrecognized inline tag: ["ws-name"]
warn: unrecognized inline tag: ["ws-name"]
.: (0.202271)
test_markdown_syntax_HTML: .: (0.193782)
test_markdown_syntax_roff: .: (0.211687)
test_middle_paragraph_HTML: .: (0.169928)
test_middle_paragraph_roff: .: (0.170537)
test_missing_spaces_roff: .: (0.170823)
test_nested_list_with_code_HTML: .: (0.168295)
test_nested_list_with_code_roff: .: (0.170531)
test_ordered_list_HTML: .: (0.171745)
test_ordered_list_roff: .: (0.177562)
test_pre_block_with_quotes_roff: .: (0.177638)
test_produces_html_fragment_with_the_fragment_argument: .: (0.173073)
test_produces_html_instead_of_roff_with_the_html_argument: .: (0.175188)
test_section_reference_links_HTML: .: (0.173306)
test_section_reference_links_roff: .: (0.170807)
test_single_quotes_HTML: .: (0.170981)
test_single_quotes_roff: .: (0.169977)
test_takes_ronn_text_on_stdin_and_produces_roff_on_stdout: .: (0.170739)
test_titleless_document_HTML: .: (0.173338)
test_underline_spacing_test_roff: .: (0.172758)
Finished in 6.359605068 seconds.
-------------------------------------------------------------------------------
70 tests, 113 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
98.5714% passed
-------------------------------------------------------------------------------
11.01 tests/s, 17.77 assertions/s
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/test_ronn.rb" "test/test_ronn_document.rb" "test/test_ronn_index.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)
mv ./.gem2deb.Gemfile.lock Gemfile.lock
ERROR: Test "ruby3.1" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/tmp returned exit code 1
make[1]: *** [debian/rules:13: override_dh_auto_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202410/
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 could not 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the Pkg-ruby-extras-maintainers
mailing list