Source: ruby-pygments.rb Version: 0.6.3-1 Severity: serious Tags: stretch sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20160707 qa-ftbfs Justification: FTBFS on amd64
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > /usr/bin/ruby2.3 /usr/bin/gem2deb-test-runner > > ┌──────────────────────────────────────────────────────────────────────────────┐ > │ Checking Rubygems dependency resolution on ruby2.3 > │ > └──────────────────────────────────────────────────────────────────────────────┘ > > GEM_PATH=debian/ruby-pygments.rb/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all > ruby2.3 -e gem\ \"pygments.rb\" > > ┌──────────────────────────────────────────────────────────────────────────────┐ > │ Run tests for ruby2.3 from debian/ruby-tests.rb > │ > └──────────────────────────────────────────────────────────────────────────────┘ > > RUBYLIB=/«PKGBUILDDIR»/debian/ruby-pygments.rb/usr/lib/ruby/vendor_ruby:. > GEM_PATH=debian/ruby-pygments.rb/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all > ruby2.3 debian/ruby-tests.rb > Loaded suite /usr/lib/ruby/vendor_ruby/rake/rake_test_loader > Started > ..........F > =============================================================================== > Failure: test_full_html_highlight(PygmentsHighlightTest) > /«PKGBUILDDIR»/test/test_pygments.rb:23:in `test_full_html_highlight' > 20: def test_full_html_highlight > 21: code = P.highlight(RUBY_CODE) > 22: assert_match '<span class="ch">#!/usr/bin/ruby</span>', code > => 23: assert_equal "<div class=\"highlight\"><pre><span > class=\"ch\">#!/usr/bin/ruby</span>\n<span class=\"nb\">puts</span> <span > class=\"s1\">'foo'</span>\n</pre></div>", code > 24: end > 25: > 26: def test_full_table_highlight > <"<div class=\"highlight\"><pre><span > class=\"ch\">#!/usr/bin/ruby</span>\n<span class=\"nb\">puts</span> <span > class=\"s1\">'foo'</span>\n</pre></div>"> expected but was > <"<div class=\"highlight\"><pre><span></span><span > class=\"ch\">#!/usr/bin/ruby</span>\n<span class=\"nb\">puts</span> <span > class=\"s1\">'foo'</span>\n</pre></div>"> > > diff: > ? <div class="highlight"><pre><span></span><span > class="ch">#!/usr/bin/ruby</span> > <span class="nb">puts</span> <span class="s1">'foo'</span> > </pre></div> > =============================================================================== > F > =============================================================================== > Failure: test_full_table_highlight(PygmentsHighlightTest) > /«PKGBUILDDIR»/test/test_pygments.rb:29:in `test_full_table_highlight' > 26: def test_full_table_highlight > 27: code = P.highlight(RUBY_CODE, :options => {:linenos => true}) > 28: assert_match '<span class="ch">#!/usr/bin/ruby</span>', code > => 29: assert_equal "<table class=\"highlighttable\"><tr><td > class=\"linenos\"><div class=\"linenodiv\"><pre>1\n2</pre></div></td><td > class=\"code\"><div class=\"highlight\"><pre><span > class=\"ch\">#!/usr/bin/ruby</span>\n<span class=\"nb\">puts</span> <span > class=\"s1\">'foo'</span>\n</pre></div>\n</td></tr></table>", code > 30: end > 31: > 32: def test_highlight_works_with_larger_files > <"<table class=\"highlighttable\"><tr><td class=\"linenos\"><div > class=\"linenodiv\"><pre>1\n2</pre></div></td><td class=\"code\"><div > class=\"highlight\"><pre><span class=\"ch\">#!/usr/bin/ruby</span>\n<span > class=\"nb\">puts</span> <span > class=\"s1\">'foo'</span>\n</pre></div>\n</td></tr></table>"> > expected but was > <"<table class=\"highlighttable\"><tr><td class=\"linenos\"><div > class=\"linenodiv\"><pre>1\n2</pre></div></td><td class=\"code\"><div > class=\"highlight\"><pre><span></span><span > class=\"ch\">#!/usr/bin/ruby</span>\n<span class=\"nb\">puts</span> <span > class=\"s1\">'foo'</span>\n</pre></div>\n</td></tr></table>"> > > diff: > <table class="highlighttable"><tr><td class="linenos"><div > class="linenodiv"><pre>1 > ? 2</pre></div></td><td class="code"><div > class="highlight"><pre><span></span><span class="ch">#!/usr/bin/ruby</span> > <span class="nb">puts</span> <span class="s1">'foo'</span> > </pre></div> > </td></tr></table> > =============================================================================== > ......F > =============================================================================== > Failure: > test_highlight_works_on_utf8_all_chars_automatically(PygmentsHighlightTest) > /«PKGBUILDDIR»/test/test_pygments.rb:62:in > `test_highlight_works_on_utf8_all_chars_automatically' > 59: def test_highlight_works_on_utf8_all_chars_automatically > 60: code = P.highlight('def foo: # ø', :lexer => 'py') > 61: > => 62: assert_equal '<div class="highlight"><pre><span clas', code[0,38] > 63: end > 64: > 65: def test_highlight_works_with_multiple_utf8 > <"<div class=\"highlight\"><pre><span clas"> expected but was > <"<div class=\"highlight\"><pre><span></sp"> > > diff: > ? <div class="highlight"><pre><span clas > ? ></ p > =============================================================================== > ............................. > > Finished in 9.021150365 seconds. > ------ > 48 tests, 75 assertions, 3 failures, 0 errors, 0 pendings, 0 omissions, 0 > notifications > 93.75% passed > ------ > 5.32 tests/s, 8.31 assertions/s > rake aborted! > Command failed with status (1): [ruby -I"lib" -rubygems > "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_pygments.rb" ] > > Tasks: TOP => default => test > (See full trace by running task with --trace) > ERROR: Test "ruby2.3" failed. The full build log is available from: http://people.debian.org/~lucas/logs/2016/07/07/ruby-pygments.rb_0.6.3-1_unstable_reb.normal.log 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! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.