[DRE-maint] Bug#1028730: ruby-github-markup: FTBFS: ERROR: Test "ruby3.1" failed.

Lucas Nussbaum lucas at debian.org
Sat Jan 14 12:36:33 GMT 2023


Source: ruby-github-markup
Version: 1.7.0+dfsg-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230113 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-github-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\ \"github-markup\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.1 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.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: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.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 8518
> 
> # Running:
> 
> MarkupTest#test_directives.rst = 0.19 s = .
> MarkupTest#test_textile = 0.04 s = .
> 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_rdoc = 0.05 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.09 s = .
> MarkupTest#test_rmd = 0.02 s = .
> MarkupTest#test_rst.txt = 0.17 s = .
> MarkupTest#test_toc.rst = 0.17 s = .
> MarkupTest#test_preserve_markup = 0.15 s = .
> MarkupTest#test_rendering_by_symbol = 0.00 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_markdown = 0.01 s = .
> MarkupTest#test_rst = 0.19 s = .
> MarkupTest#test_noformat = 0.01 s = .
> MarkupTest#test_each_render_has_a_name = 0.00 s = .
> MarkupTest#test_litcoffee = 0.02 s = F
> MarkupTest#test_txt = 0.01 s = .
> MarkupTest#test_knows_what_it_can_and_cannot_render = 0.00 s = .
> MarkupTest#test_asciidoc = 0.11 s = .
> 
> Finished in 1.344124s, 14.1356 runs/s, 34.9670 assertions/s.
> 
>   1) Failure:
> MarkupTest#test_litcoffee [/<<PKGBUILDDIR>>/test/markup_test.rb:71]:
> README.litcoffee.html's contents are not html equal to output:
> --- -	2023-01-13 20:38:38.729618947 +0000
> +++ test/markups/README.litcoffee.html	2018-12-04 16:56:49.000000000 +0000
> @@ -1,43 +1,28 @@
>  <h2>Literate CoffeeScript Test</h2>
> -
>  <blockquote>
> -<p>Taken from https://github.com/jashkenas/coffee-script/blob/master/test/literate.litcoffee</p>
> +<p>Taken from <a href="https://github.com/jashkenas/coffee-script/blob/master/test/literate.litcoffee">https://github.com/jashkenas/coffee-script/blob/master/test/literate.litcoffee</a></p>
>  </blockquote>
> -
>  <p>comment comment</p>
> -
>  <pre><code>test "basic literate CoffeeScript parsing", ->
>    ok yes
>  </code></pre>
> -
>  <p>now with a...</p>
> -
>  <pre><code>test "broken up indentation", ->
>  </code></pre>
> -
>  <p>... broken up ...</p>
> -
>  <pre><code>  do ->
>  </code></pre>
> -
>  <p>... nested block.</p>
> -
>  <pre><code>    ok yes
>  </code></pre>
> -
>  <p>Code must be separated from text by a blank line.</p>
> -
>  <pre><code>test "code blocks must be preceded by a blank line", ->
>  </code></pre>
> -
>  <p>The next line is part of the text and will not be executed.
> -      fail()</p>
> -
> +fail()</p>
>  <pre><code>  ok yes
>  </code></pre>
> -
>  <p>Code in <code>backticks is not parsed</code> and...</p>
> -
>  <pre><code>test "comments in indented blocks work", ->
>    do ->
>      do ->
> @@ -49,18 +34,22 @@
>  
>        ok yes
>  </code></pre>
> -
>  <p>Regular <a href="http://example.com/markdown">Markdown</a> features,
>  like links and unordered lists, are fine:</p>
> -
>  <ul>
> -<li><p>I</p></li>
> -<li><p>Am</p></li>
> -<li><p>A</p></li>
> -<li><p>List</p></li>
> +<li>
> +<p>I</p>
> +</li>
> +<li>
> +<p>Am</p>
> +</li>
> +<li>
> +<p>A</p>
> +</li>
> +<li>
> +<p>List</p>
> +</li>
>  </ul>
> -
>  <p>Tabs work too:</p>
> -
>  <p>test "tabbed code", ->
> -    ok yes</p>
> \ No newline at end of file
> +ok yes</p>
> 
> 
> 
> 19 runs, 47 assertions, 1 failures, 0 errors, 0 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/01/13/ruby-github-markup_1.7.0+dfsg-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&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