[DRE-maint] Bug#812940: ruby-pygments.rb: FTBFS - tests fail

Michael Tautschnig mt at debian.org
Thu Jan 28 00:16:58 UTC 2016


Package: ruby-pygments.rb
Version: 0.5.4~ds1-3
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
===============================================================================
Failure:
  </<span\ class="c1">\#!\/usr\/bin\/ruby<\/span>/> expected to be =~
  <"<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>">.
test_highlight_works_with_trailing_newline(PygmentsHighlightTest)
/srv/jenkins-slave/workspace/sid-goto-cc-ruby-pygments.rb/ruby-pygments.rb-0.5.4~ds1/test/test_pygments.rb:97:in `test_highlight_works_with_trailing_newline'
      94:
      95:   def test_highlight_works_with_trailing_newline
      96:     code = P.highlight(RUBY_CODE_TRAILING_NEWLINE)
  =>  97:     assert_match '<span class="c1">#!/usr/bin/ruby</span>', code
      98:   end
      99:
     100:   def test_highlight_works_with_multiple_newlines
===============================================================================
....................

Finished in 9.928162045 seconds.
------
48 tests, 72 assertions, 6 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
87.5% passed
------
4.83 tests/s, 7.25 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.2" failed. Exiting.
dh_auto_install: dh_ruby --install /srv/jenkins-slave/workspace/sid-goto-cc-ruby-pygments.rb/ruby-pygments.rb-0.5.4~ds1/debian/ruby-pygments.rb returned exit code 1
debian/rules:27: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-ruby-pygments.rb/ruby-pygments.rb-0.5.4~ds1'
debian/rules:15: recipe for target 'binary' failed
make: *** [binary] Error 2


The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further.

Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-pygments.rb-build-log.txt.gz
Type: application/x-gunzip
Size: 8015 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160128/10158707/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160128/10158707/attachment-0001.sig>


More information about the Pkg-ruby-extras-maintainers mailing list