[DRE-maint] Bug#1013383: ruby-github-markup: FTBFS with Sphinx 5.0, docutils 0.18: ERROR: Test "ruby3.0" failed.
Lucas Nussbaum
lucas at debian.org
Thu Jun 23 07:45:31 BST 2022
Source: ruby-github-markup
Version: 1.7.0+dfsg-4
Severity: important
Tags: ftbfs
User: mitya57 at debian.org
Usertags: sphinx5.0
Hi,
ruby-github-markup fails to build with Sphinx 5.0 and docutils 0.18, both of which
are currently available in experimental.
Relevant part (hopefully):
> /usr/bin/ruby3.0 /usr/bin/gem2deb-test-runner
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.0 │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-github-markup/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.0.0:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0 ruby3.0 -e gem\ \"github-markup\"
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.0 from debian/ruby-tests.rake │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-github-markup/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.0.0:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0 ruby3.0 -S rake -f debian/ruby-tests.rake
> /usr/bin/ruby3.0 -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/markup_test.rb" -v
> <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85: warning: <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85: warning: loading in progress, circular require considered harmful - /usr/lib/ruby/vendor_ruby/posix/spawn.rb
> from /usr/share/rubygems-integration/all/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `<main>'
> from /usr/share/rubygems-integration/all/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `select'
> from /usr/share/rubygems-integration/all/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in `block in <main>'
> from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> from /<<PKGBUILDDIR>>/test/markup_test.rb:5:in `<top (required)>'
> from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> from /<<PKGBUILDDIR>>/lib/github/markup.rb:7:in `<top (required)>'
> from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> from /<<PKGBUILDDIR>>/lib/github/markup/command_implementation.rb:2:in `<top (required)>'
> from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> from /usr/lib/ruby/vendor_ruby/posix-spawn.rb:1:in `<top (required)>'
> from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> from /usr/lib/ruby/vendor_ruby/posix/spawn.rb:6:in `<top (required)>'
> from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> from /usr/lib/ruby/vendor_ruby/posix/spawn/child.rb:1:in `<top (required)>'
> from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
>
> /usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0/gems/nokogiri-1.13.5/lib/nokogiri/version/info.rb:85: warning: possibly useless use of a variable in void context
> Run options: -v --seed 45311
>
> # Running:
>
> MarkupTest#test_pod = /usr/lib/ruby/vendor_ruby/posix/spawn.rb:532: warning: deprecated Object#=~ is called on Array; it always returns nil
> 0.06 s = .
> MarkupTest#test_litcoffee = 0.03 s = .
> MarkupTest#test_asciidoc = 0.09 s = .
> MarkupTest#test_preserve_markup = 0.20 s = .
> MarkupTest#test_textile = 0.06 s = .
> MarkupTest#test_org = /usr/lib/ruby/vendor_ruby/org-ruby/output_buffer.rb:291: warning: method redefined; discarding old output_footnotes!
> /usr/lib/ruby/vendor_ruby/org-ruby/output_buffer.rb:249: warning: previous definition of output_footnotes! was here
> /usr/lib/ruby/vendor_ruby/org-ruby/html_output_buffer.rb:243: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /usr/lib/ruby/vendor_ruby/org-ruby/html_output_buffer.rb:246: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /usr/lib/ruby/vendor_ruby/org-ruby/html_output_buffer.rb:249: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /usr/lib/ruby/vendor_ruby/org-ruby/html_output_buffer.rb:253: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /usr/lib/ruby/vendor_ruby/org-ruby/html_output_buffer.rb:322: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /usr/lib/ruby/vendor_ruby/org-ruby/html_output_buffer.rb:323: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /usr/lib/ruby/vendor_ruby/org-ruby/html_output_buffer.rb:324: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /usr/lib/ruby/vendor_ruby/org-ruby/html_output_buffer.rb:328: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /usr/lib/ruby/vendor_ruby/org-ruby/html_output_buffer.rb:329: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /usr/lib/ruby/vendor_ruby/org-ruby/html_output_buffer.rb:330: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /usr/lib/ruby/vendor_ruby/org-ruby/html_output_buffer.rb:344: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /usr/lib/ruby/vendor_ruby/org-ruby/html_output_buffer.rb:381: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> 0.12 s = .
> MarkupTest#test_rst.txt = 0.21 s = .
> MarkupTest#test_rendering_by_symbol = 0.00 s = .
> MarkupTest#test_directives.rst = 0.26 s = .
> MarkupTest#test_rdoc = 0.05 s = .
> MarkupTest#test_each_render_has_a_name = 0.00 s = .
> MarkupTest#test_toc.rst = 0.25 s = .
> MarkupTest#test_knows_what_it_can_and_cannot_render = 0.00 s = .
> MarkupTest#test_rst = 0.26 s = F
> MarkupTest#test_markdown = 0.01 s = .
> MarkupTest#test_noformat = 0.01 s = .
> MarkupTest#test_rmd = 0.02 s = .
> MarkupTest#test_creole = /usr/share/rubygems-integration/all/gems/creole-0.5.0/lib/creole/parser.rb:255: warning: character class has duplicated range: /\A([:alpha:]|[:digit:])+/
> 0.05 s = .
> MarkupTest#test_txt = 0.01 s = .
>
> Finished in 1.697171s, 11.1951 runs/s, 27.6931 assertions/s.
>
> 1) Failure:
> MarkupTest#test_rst [/<<PKGBUILDDIR>>/test/markup_test.rb:71]:
> README.rst.html's contents are not html equal to output:
> --- - 2022-06-22 23:12:30.204803773 +0000
> +++ test/markups/README.rst.html 2022-06-22 23:12:24.000000000 +0000
> @@ -9,7 +9,7 @@
> </ul>
> </div>
> <a name="header-2"></a>
> -<h2><a href="#toc-entry-1">Header 2</a></h2>
> +<h2><a href="#id1">Header 2</a></h2>
> <ol>
> <li>Blah blah <code>code</code> blah</li>
> <li>More <code>code</code>, hooray</li>
> @@ -103,7 +103,7 @@
> </a>
> <img alt="Coverity Scan Build Status" src="https://scan.coverity.com/projects/621/badge.svg">
> <a name="field-list"></a>
> -<h2><a href="#toc-entry-2">Field list</a></h2>
> +<h2><a href="#id2">Field list</a></h2>
> <table frame="void" rules="none">
>
>
>
>
>
> 19 runs, 47 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.0.6/lib/rake/rake_test_loader.rb "test/markup_test.rb" -v]
> /usr/share/rubygems-integration/all/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.0" failed.
The full build log is available from:
http://qa-logs.debian.net/2022/06/23/ruby-github-markup_1.7.0+dfsg-4_unstable_sphinx-exp.log
Please see [1] for Sphinx changelog and [2] for Docutils changelog.
Also see [3] for the list of deprecated/removed APIs in Sphinx and possible
alternatives to them.
In case you have questions, please Cc sphinx at packages.debian.org on reply.
[1]: https://www.sphinx-doc.org/en/master/changes.html
[2]: https://repo.or.cz/docutils.git/blob/refs/tags/docutils-0.18.1:/RELEASE-NOTES.txt
[3]: https://www.sphinx-doc.org/en/master/extdev/deprecated.html#dev-deprecated-apis
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=sphinx5.0;users=mitya57@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=sphinx5.0&fusertaguser=mitya57@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
More information about the Pkg-ruby-extras-maintainers
mailing list