[DRE-maint] Bug#1030457: ruby-gitlab-markup: FTBFS: ERROR: Test "ruby3.1" failed.
Lucas Nussbaum
lucas at debian.org
Sat Feb 4 07:27:26 GMT 2023
Source: ruby-gitlab-markup
Version: 1.8.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230203 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.1 │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-gitlab-markup/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\ \"gitlab-markup\"
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.1 from debian/ruby-tests.rake │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-gitlab-markup/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-gitlab-markup/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 -f debian/ruby-tests.rake
> /usr/bin/ruby3.1 -w -I"test" /usr/lib/ruby/gems/3.1.0/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/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `<main>'
> from /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `select'
> from /usr/lib/ruby/gems/3.1.0/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: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 /<<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'
>
> /<<PKGBUILDDIR>>/lib/github/markup/rdoc.rb:9: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
> /usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/nokogiri-1.13.10/lib/nokogiri/version/info.rb:85: warning: possibly useless use of a variable in void context
> Run options: -v --seed 27847
>
> # Running:
>
> MarkupTest#test_raises_error_if_command_exits_non_zero = 0.00 s = .
> MarkupTest#test_asciidoc = 0.08 s = .
> MarkupTest#test_noformat = 0.00 s = .
> MarkupTest#test_each_render_has_a_name = 0.00 s = .
> MarkupTest#test_knows_what_it_can_and_cannot_render = 0.00 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.07 s = .
> MarkupTest#test_rdoc = 0.04 s = .
> MarkupTest#test_textile = 0.02 s = .
> MarkupTest#test_txt = 0.00 s = .
> MarkupTest#test_mediawiki = 0.00 s = S
> MarkupTest#test_rmd = 0.01 s = .
> MarkupTest#test_rst = 0.15 s = F
> MarkupTest#test_litcoffee = 0.01 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.02 s = .
> MarkupTest#test_pod = 0.07 s = .
> MarkupTest#test_preserve_markup = 0.12 s = .
> MarkupTest#test_rst.txt = 0.13 s = .
> MarkupTest#test_markdown = 0.00 s = .
> MarkupTest#test_toc.rst = 0.13 s = .
>
> Finished in 0.849944s, 22.3544 runs/s, 54.1212 assertions/s.
>
> 1) Skipped:
> MarkupTest#test_mediawiki [/<<PKGBUILDDIR>>/test/markup_test.rb:56]:
> Skipping MediaWiki test because wikicloth is currently not compatible with JRuby.
>
> 2) Failure:
> MarkupTest#test_rst [/<<PKGBUILDDIR>>/test/markup_test.rb:73]:
> README.rst.html's contents are not html equal to output:
> --- - 2023-02-04 02:46:21.910540986 +0000
> +++ test/markups/README.rst.html 2023-02-04 02:46:18.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>
> @@ -99,7 +99,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">
>
>
> @@ -134,4 +134,4 @@
> <pre>
> <code lang="plantuml">Bob -> Alice: hello
> Alice -> Bob: Go Away</code>
> -</pre>
> \ No newline at end of file
> +</pre>
>
>
>
> 19 runs, 46 assertions, 1 failures, 0 errors, 1 skips
> rake aborted!
> Command failed with status (1): [ruby -w -I"test" /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/markup_test.rb" -v]
>
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.1" failed.
The full build log is available from:
http://qa-logs.debian.net/2023/02/03/ruby-gitlab-markup_1.8.0-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230203;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230203&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-ruby-extras-maintainers
mailing list