Your message dated Tue, 17 Nov 2020 16:48:50 +0000
with message-id <e1kf49y-000ffu...@fasolo.debian.org>
and subject line Bug#972481: fixed in ruby-pygments.rb 1.2.1-2
has caused the Debian Bug report #972481,
regarding ruby-pygments.rb: FTBFS, tests failure (due to new pygments)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
972481: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972481
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ruby-pygments.rb
Version: 1.2.1-1
Severity: serious
Tags: ftbfs

Hello,
pygments has been recently updated to its latest upstream release (2.7.1), and
that's causing ruby-pygments to FTBFS with tests errors:

```
  test_highlight_works_with_larger_files:               F
===============================================================================
Failure: test_highlight_works_with_larger_files(PygmentsHighlightTest)
/build/ruby-pygments.rb-1.2.1/test/test_pygments.rb:38:in 
`test_highlight_works_with_larger_files'
     35:   def test_highlight_works_with_larger_files
     36:     code = P.highlight(REDIS_CODE)
     37:     assert_match 'used_memory_peak_human', code
  => 38:     assert_equal 458511, code.bytesize.to_i
     39:   end
     40:
     41:   def test_highlight_works_with_null_bytes
<458511> expected but was
<462036>

diff:
? 458511
?  62036
===============================================================================
: (0.242569)
```

and

```
  test_highlight_works_with_single_character_input:     F
===============================================================================
Failure: 
test_highlight_works_with_single_character_input(PygmentsHighlightTest):
  </a\n<\/pre>/> was expected to be =~
  <"<div class=\"highlight\"><pre><span></span><span class=\"err\">a</span>\n" +
  "</pre></div>">.
/build/ruby-pygments.rb-1.2.1/test/test_pygments.rb:89:in 
`test_highlight_works_with_single_character_input'
     86:
     87:   def test_highlight_works_with_single_character_input
     88:     code = P.highlight("a")
  => 89:     assert_match "a\n</pre>", code
     90:   end
     91:
     92:   def test_highlight_works_with_trailing_newline
===============================================================================
: (0.019281)
```

I'm not familiar enough with ruby code to be able to tell how to fix it, but
from the error message, it appears that pygments is producing a different
output than the one expected by ruby-pygments.rb testsuite.

I checked on the upstream repo and it doesnt look like anyone update the code,
nor prepared a patch, to support pygments.

Until this package is fixed, pygments and a considerable set of packages, cannot
migrate to test, so i appreciate you fixing it quickly.

Regards,
sandro

-- System Information:
Debian Release: 10.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-1-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: ruby-pygments.rb
Source-Version: 1.2.1-2
Done: =?utf-8?q?C=C3=A9dric_Boutillier?= <bou...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ruby-pygments.rb, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 972...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cédric Boutillier <bou...@debian.org> (supplier of updated ruby-pygments.rb 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 17 Nov 2020 00:03:18 +0100
Source: ruby-pygments.rb
Architecture: source
Version: 1.2.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Cédric Boutillier <bou...@debian.org>
Closes: 972481
Changes:
 ruby-pygments.rb (1.2.1-2) unstable; urgency=medium
 .
   * Team upload
 .
   [ Cédric Boutillier ]
   * Update team name
 .
   [ Nicolas Boulenguez ]
   * Uscan v4 and Files-Excluded replace get-orig-source.sh
   * Debhelper 13 (no changes)
   * Slightly shorten d/rules
   * Make the test less dependent on the pygments version, closes: #972481
   * Comment explaining why dh_compress is overridden without options
Checksums-Sha1:
 bcd996c58aae44c452cd82857bcd830194c95aa1 1852 ruby-pygments.rb_1.2.1-2.dsc
 332befc24948636005e4e8b98f89438f7275c232 61980 
ruby-pygments.rb_1.2.1.orig.tar.xz
 eb244231ff2ed802f6e1bfd5e028cf1cce582999 10192 
ruby-pygments.rb_1.2.1-2.debian.tar.xz
 350147b9bc5977644b9999845cb5df07c1a0af20 9005 
ruby-pygments.rb_1.2.1-2_amd64.buildinfo
Checksums-Sha256:
 fb616fdd197514ffe5bbd811b59395d0091261efa357485ae741039acde73fce 1852 
ruby-pygments.rb_1.2.1-2.dsc
 93a88eacf552cddf10e1ad6955dceb6a7cd63f8f96759a7e6757dfdcfe68fc81 61980 
ruby-pygments.rb_1.2.1.orig.tar.xz
 cbf2aa6a3c1924ea5029910e7cc0f0e7b2ec91b69c57bbd3c960e46f33f71a07 10192 
ruby-pygments.rb_1.2.1-2.debian.tar.xz
 8a034bc99b0a5b8469b57b9c690417928121e82f23334be9691d15142ef1ac40 9005 
ruby-pygments.rb_1.2.1-2_amd64.buildinfo
Files:
 8e0fd49277fee0d98f2f3e1868af646b 1852 ruby optional 
ruby-pygments.rb_1.2.1-2.dsc
 c58755cb8dfb422191adbbee8694a9ae 61980 ruby optional 
ruby-pygments.rb_1.2.1.orig.tar.xz
 3162636b22c04bb6589893eed3528d9c 10192 ruby optional 
ruby-pygments.rb_1.2.1-2.debian.tar.xz
 107be5f4d75e717d32574fbc62eaec63 9005 ruby optional 
ruby-pygments.rb_1.2.1-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEnM1rMZ2/jkCrGr0aia+CtznNIXoFAl+z+mUACgkQia+CtznN
IXoi8gf/cP/8t49OljpPTeEfqE6spQYTyT5fxHD4Vc3w2t8qLIoGoKo6KzPnxI/v
mQlqLDwFIUGAVvTOqraE2XDKYCJubH36tJVKH/8x8cnAq0HN0IcdmjddqIyzy7XE
NsK6Fg5tN2FwdkPtwy9PI1mtizWrjzgHU6e5fTv2ji2H0b2loaWgQC6cztz/Qu4A
4k3Eko/ZjaVNUbcJaCGipOgd3iyBVirfC2vqMvsxER4rdOVfPgj+1HUcdA43Yqtd
r0yQ9tsGoMjvLXgr/tRgCYaRtFQKQIxrlaJ2pVL5URqK9BzrWa2RFDM+n6XT2bBy
Dsc8+Kq1k7i8EBA7CVM8Zlg84FOSiA==
=Zuq7
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to